Belle II Software development
|
Modules | |
trg data objects | |
trg modules | |
Namespaces | |
namespace | Belle2::CDC |
Classes | |
class | CDCTrigger2DConfig |
The payload class for delay of GDL input bit. More... | |
class | CDCTriggerDeadch |
The payload class for delay of GDL input bit. More... | |
class | CDCTriggerNeuroConfig |
The payload class for all CDC Neurotrigger information. More... | |
class | TRGCDCCell |
A class to represent a wire in CDC. More... | |
class | TRGCDCCellHit |
A class to represent a wire hit in CDC. More... | |
class | TRGCDCCircle |
A class to represent a circle. More... | |
class | TRGCDCCircleFitter |
A class to fit a TTrackBase object to a circle. More... | |
struct | clustererParams |
class | SimpleCluster |
Type for found clusters. More... | |
class | Clusterizend |
Clustering module. More... | |
class | TRGCDCEventTime |
A class of TRGCDC Event Time. More... | |
class | TRGCDCEventTimeFinder |
A class of TRGCDC Event Time Finder. More... | |
class | TRGCDCFitter |
A class to fit a TRGCDCTrackBase object. More... | |
class | TRGCDCFitter3D |
A class to fit tracks in 3D. More... | |
class | TRGCDCFrontEnd |
A class to represent a CDC front-end board. More... | |
class | TRGCDCHelix |
TRGCDCHelix parameter class. More... | |
class | TRGCDCHough3DFinder |
class of TRGCDCHough3DFinder More... | |
class | TRGCDCHoughFinder |
A class to find tracks using Hough algorithm. More... | |
class | TRGCDCHoughPlane |
A class to represent a Hough parameter plane. More... | |
class | TRGCDCHoughPlaneBase |
A class to represent a Hough parameter plane. More... | |
class | TRGCDCHoughPlaneBoolean |
A class to represent a Hough parameter plane. More... | |
class | TRGCDCHoughPlaneMulti |
A class to represent a Hough parameter plane. More... | |
class | TRGCDCHoughPlaneMulti2 |
A class to represent a Hough parameter plane. More... | |
class | TRGCDCHoughTransformation |
An abstract class to represent a Hough transformation. More... | |
class | TRGCDCHoughTransformationCircle |
A class to represent circle Hough transformation. More... | |
class | TRGCDCJLUT |
A class to use LUTs for TRGCDC. More... | |
class | TRGCDCJSignal |
A class to use Signals for TRGCDC 3D tracker. More... | |
class | TRGCDCJSignalData |
A class to hold common data for JSignals. More... | |
class | TRGCDCLayer |
A class to represent a cell layer. More... | |
class | TRGCDCLink |
A class to relate TRGCDCCellHit and TRGCDCTrack objects. More... | |
class | TRGCDCLpar |
TRGCDCLpar class. More... | |
class | TRGCDCLpav |
TRGCDCLpav class. More... | |
class | TRGCDCLUT |
A class to use LUTs for TRGCDC. More... | |
class | TRGCDCMerger |
A class to represent a CDC merger board. More... | |
struct | cellweight |
class | NDFinderTrack |
Store track parameters of found tracks. More... | |
class | NDFinder |
Class to represent the CDC NDFinder. More... | |
struct | ndbinning |
Default binning in a (7/32) phi-sector. More... | |
class | NeuroTrigger |
Class to represent the CDC Neurotrigger. More... | |
class | NNTParam< T > |
Class to represent a complete set to describe a Neurotrigger. More... | |
class | NeuroTriggerParameters |
class | TRGOpticalLinkFrontEnd |
A class to represent a serial link between trigger modules. More... | |
class | TRGCDCPeakFinder |
A class to find peaks in Hough Plane. More... | |
class | TRGCDCPerfectFinder |
A class to find 2D tracks using MC information. More... | |
class | TRGCDCRelation |
A class to represent a wire in CDC. More... | |
class | TRGCDCSegment |
A class to represent a wire in CDC. More... | |
class | TRGCDCSegmentHit |
A class to represent a track segment hit in CDC. More... | |
class | TRGCDCSteppingAction |
A class to control a track in G4. More... | |
class | TRGCDCTrackBase |
A class to represent a track object in TRGCDC. More... | |
class | TRGCDCTracker2D |
A class to represent a CDC 2D tracker board. More... | |
class | TRGCDCTrackMC |
A class to represent a GEN_HEPEVT particle in tracking. More... | |
class | TRGCDCTrackSegmentFinder |
a class of TrackSegmentFinder in TRGCDC More... | |
class | TRGCDC |
The instance of TRGCDC is a singleton. More... | |
class | TRGCDCTrack |
A class to represent a reconstructed charged track in TRGCDC. More... | |
class | TRGCDCWire |
A class to represent a wire in CDC. More... | |
class | TRGCDCWireHit |
A class to represent a wire hit in CDC. More... | |
class | TRGCDCWireHitMC |
A class to represent a MC wire hit in CDC. More... | |
class | TRGECLBadRun |
Raw TC result nefor digitizing. More... | |
class | TrgEclDatabaseImporter |
Database importer of TRGECL. More... | |
class | TRGECLETMPara |
Raw TC result nefor digitizing. More... | |
class | TRGECLFAMPara |
Raw TC result nefor digitizing. More... | |
class | TRGECLTMMPara |
Raw TC result nefor digitizing. More... | |
class | TrgEclBeamBKG |
A Class of ECL Trigger clustering More... | |
class | TrgEclBhabha |
A Class of ECL Trigger clustering More... | |
class | TrgEclCluster |
A Class of ECL Trigger clustering More... | |
class | TrgEclDataBase |
class TrgEclDataBase; More... | |
class | TrgEclDigitizer |
FAM module More... | |
class | TrgEclFAMFit |
FAM module More... | |
class | TrgEclMapping |
A class of TC Mapping. More... | |
class | TrgEclMaster |
ETM class. More... | |
class | TrgEclTiming |
A Class of ECL Trigger clustering More... | |
class | TRGGDLDBAlgs |
The payload class for GDL algorithm. More... | |
class | TRGGDLDBDelay |
The payload class for delay of GDL input bit. More... | |
class | TRGGDLDBUnpacker |
The payload class for PXD cluster charge calibrations. More... | |
class | TrgBit |
A general interface to get a trigger response. More... | |
class | TRGGDL |
The instance of TRGGDL is a singleton. More... | |
class | GRLNeuro |
Class to represent the GRL Neuro. More... | |
class | TRGGRL |
a class for TRGGRL More... | |
class | TRGGRLMatch |
A class to represent a matching candidate in TRGGRL A matching candidate consists of a TRGCDCTrack and TRGECLCluster. More... | |
class | KLMTriggerParameters |
DBObject containing parameters used in KLMTrigger module. More... | |
class | TRGArea2D |
A class to represent an 2D area. More... | |
class | TRGBitStream |
A class to represent a bit stream. More... | |
class | TRGBoard |
A class to represent a trigger board. More... | |
class | TRGChannel |
A class to represent a serial link between trigger hardware modules. More... | |
class | TRGClock |
A class to represent a digitized signal. Unit is nano second. More... | |
class | TRGDebug |
A class for debugging of TSIM. More... | |
class | TRGOpticalLink |
A class to represent a serial link between trigger modules. More... | |
class | TRGPoint2D |
A class to represent a point in 2D. More... | |
class | TRGSignal |
A class to represent a digitized signal. Unit is nano second. More... | |
class | TRGSignalBundle |
A class to represent a bundle of SignalVectors. More... | |
class | TRGSignalVector |
A class to represent a bundle of digitized signals. More... | |
class | TRGState |
A class to represent a state of multi bits. More... | |
class | TRGTime |
A class to represent a signal timing in the trigger system. More... | |
class | TRGUtilities |
A class to provide TRG utility functions. More... | |
Macros | |
#define | TRGCDCFitAlreadyFitted 1; |
parameter to identify fit result | |
#define | TRGCDCFitErrorFewHits -1; |
parameter to identify fit result | |
#define | TRGCDCFitFailed -2; |
parameter to identify fit result | |
#define | TRGCDCFitUnavailable -3; |
parameter to identify fit result | |
#define | TFITTER_INLINE_DEFINE_HERE |
#define | N_LAYERS 6 |
number of layers | |
#define | WireInnerLeft 0 |
type of the wire | |
#define | WireInnerRight 1 |
type of the wire | |
#define | WireLeft 2 |
type of the wire | |
#define | WireRight 3 |
type of the wire | |
#define | WireOuterLeft 4 |
type of the wire | |
#define | WireOuterRight 5 |
type of the wire | |
#define | MaxNeighbors 6 |
Max number of neighbors. | |
Typedefs | |
typedef HepGeom::Point3D< double > | Point3D |
3D point | |
typedef HepGeom::Vector3D< double > | Vector3D |
3D Vector | |
typedef unsigned short | c5elem |
Store hit patterns in a 5D array (hitid, prio, omega, phi, theta) | |
typedef boost::multi_array< c5elem, 5 > | c5array |
typedef c5array::index | c5index |
typedef unsigned short | c3elem |
The Hough space is a 3D array (omega, phi, theta) | |
typedef boost::multi_array< c3elem, 3 > | c3array |
typedef c3array::index | c3index |
typedef unsigned short | c2elem |
TS-Id to 1/32 phi-sector mapping is stored in a 2D array. | |
typedef boost::multi_array< c2elem, 2 > | c2array |
typedef c2array::index | c2index |
typedef std::vector< c3index > | cell_index |
typedef unsigned short | ushort |
Functions | |
int | intersect (const TRGCDCLpar &lp1, const TRGCDCLpar &lp2, CLHEP::HepVector &v1, CLHEP::HepVector &v2) |
intersection | |
std::ostream & | operator<< (std::ostream &o, const TRGCDCLpar &s) |
ostream operator | |
float | prob_ (float *, int *) |
prob function | |
static double | err_dis_inv (double x, double y, double w, double a, double b) |
distance error | |
std::ostream & | operator<< (std::ostream &o, const TRGCDCLpav &a) |
ostream operator | |
TRGCDCLpav | operator+ (const TRGCDCLpav &la1, const TRGCDCLpav &la2) |
bool | rlrel (vector< unsigned > a, vector< unsigned > b) |
...rlrel... | |
bool | udrel (vector< unsigned > a, vector< unsigned > b) |
...udrel... | |
bool | mirel (vector< unsigned > a, vector< unsigned > b) |
...mirel... | |
unsigned short | FindCP1 (vector< unsigned > a) |
...Find center Pattern1 from Pattern 2 | |
unsigned | FindP1C (vector< unsigned > a) |
...Pattern1 Center... | |
void | ftd_0_01 (bool *b, const bool *i) |
int | doprescale (int f) |
select one event in number of prescale factor events | |
std::ostream & | operator<< (std::ostream &, const TRGPoint2D &) |
ostrream operator | |
const HepGeom::Point3D< double > | ORIGIN (0, 0, 0) |
Origin 3D point. | |
unsigned | id (void) const |
returns id. | |
unsigned | localId (void) const |
returns local id in a layer. | |
unsigned | layerId (void) const |
returns layer id. | |
unsigned | superLayerId (void) const |
returns super layer id. | |
unsigned | localLayerId (void) const |
returns local layer id in a super layer. | |
const TRGCDCLayer & | layer (void) const |
returns a pointer to a layer. | |
unsigned | state (void) const |
returns state. | |
unsigned | state (unsigned newState) |
sets state. | |
bool | axial (void) const |
returns true if this wire is in an axial layer. | |
bool | stereo (void) const |
returns true if this wire is in a stereo layer. | |
unsigned | axialStereoLayerId (void) const |
returns id of axial or stereo layer id. | |
unsigned | axialStereoSuperLayerId (void) const |
returns id of axial or stereo super layer id. | |
bool | innerPart (void) const |
returns true if this wire is in the inner part. | |
bool | mainPart (void) const |
returns true if this wire is in the main part. | |
float | cellSize (void) const |
calculates position and direction vector with sag correction. | |
virtual void | clear (void) |
clears information. | |
const HepGeom::Point3D< double > & | forwardPosition (void) const |
returns position in forward endplate. | |
const HepGeom::Point3D< double > & | backwardPosition (void) const |
returns position in backward endplate. | |
double * | backwardPosition (double p[3]) const |
position in backward endplate. | |
const HepGeom::Point3D< double > & | xyPosition (void) const |
returns middle position of a wire. z componet is 0. | |
double * | xyPosition (double p[3]) const |
middle position of a wire. z componet is 0. | |
const Vector3D & | direction (void) const |
returns direction vector of the wire. | |
const TRGCDCCellHit * | hit (void) const |
returns a pointer to a TRGCDCCellHit. | |
const TRGCDCCellHit * | hit (const TRGCDCCellHit *) |
sets a pointer to TRGCDCWireHit. | |
virtual bool | hasMember (const std::string &a) const |
returns true this has member named a. | |
int | mcLR (void) const |
returns mc left/right information | |
virtual const TRGCDCCell & | cell (void) const |
returns a pointer to a TRGCDCWire. | |
unsigned | state (void) const |
returns state. | |
float | drift (unsigned) const |
returns drift distance. | |
float | dDrift (unsigned) const |
returns drift distance error. | |
float | drift (void) const |
returns drift distance. | |
float | dDrift (void) const |
returns drift distance error. | |
const HepGeom::Point3D< double > & | xyPosition (void) const |
returns position in the middle of wire. z is always zero, however. | |
unsigned | state (unsigned newState) |
sets state. Meaning of bits are written below. | |
unsigned | state (unsigned newState) const |
sets state. Meaning of bits are written below. (tmp) | |
const void * | track (void) const |
assigns a pointer to a TTrack. | |
const void * | track (const void *) |
assigns a pointer to a TTrack. | |
const void * | track (const void *) const |
assigns a pointer to a TTrack. (tmp) | |
unsigned | sequence (void) const |
returns sequential Length in one segment : this parameter is used in TCurlFinder now. | |
unsigned | sequence (unsigned) const |
sets sequential length in one segment : this parameter is used in TCurlFinder now. | |
void | setDriftTime (double driftTime, unsigned i) |
Sets drift time. | |
unsigned | iCDCHit (void) const |
returns an index to CDCHit. | |
unsigned | iCDCSimHit (void) const |
returns an index to CDCSimHit. | |
unsigned | iMCParticle (void) const |
returns an index to MCParticle. | |
double | pt (void) const override |
returns Pt. | |
const TRGPoint2D & | center (void) const |
returns the circle center. | |
double | radius (void) const |
returns radius. | |
virtual unsigned | objectType (void) const override |
returns type. | |
void | property (double charge, double radius, HepGeom::Point3D< double > center) |
sets circle properties. | |
const std::string & | name (void) const |
returns name. | |
const HepGeom::Point3D< double > & | center (void) const |
returns position of helix center(z = 0.); | |
const HepGeom::Point3D< double > & | pivot (void) const |
returns pivot position. | |
double | radius (void) const |
returns radious of helix. | |
CLHEP::Hep3Vector | direction (double dPhi=0.) const |
returns direction vector after rotating angle dPhi in phi direction. | |
double | dr (void) const |
returns dr. | |
double | phi0 (void) const |
returns phi0. | |
double | kappa (void) const |
returns kappa. | |
double | dz (void) const |
returns dz. | |
double | tanl (void) const |
returns tanl. | |
double | curv (void) const |
returns curvurture. | |
const CLHEP::HepVector & | a (void) const |
returns helix parameters. | |
const CLHEP::HepSymMatrix & | Ea (void) const |
returns error matrix. | |
const CLHEP::HepVector & | a (const CLHEP::HepVector &newA) |
sets helix parameters. | |
const CLHEP::HepSymMatrix & | Ea (const CLHEP::HepSymMatrix &newdA) |
sets helix paramters and error matrix. | |
double | bFieldZ (double) |
sets and returns z componet of the magnetic field. | |
double | bFieldZ (void) const |
returns z componet of the magnetic field. | |
double | sinPhi0 (void) const |
returns sin(phi0). | |
double | cosPhi0 (void) const |
return cos(phi0). | |
std::string | name (void) const |
returns name. | |
unsigned | setEntry (unsigned serialId, unsigned n) override |
Sets entry. | |
void | clear (void) override |
clear all entries. | |
void | clearCells (void) |
Clears entires only. | |
unsigned | entry (unsigned id) const override |
returns entry in a cell. | |
unsigned | entry (unsigned x, unsigned y) const override |
returns entry in a cell. | |
int | maxEntry (void) const override |
returns max. entry in a plane. | |
virtual unsigned | nActiveCellsInPattern (void) const |
returns # of active cells in the pattern. | |
void | add (unsigned cellId, int weight) override |
Add to a cell. | |
float | charge (void) const |
returns charge for this plane. | |
float | charge (float charge) |
sets and returns charge for this plane. | |
std::string | name (void) const |
returns name. | |
unsigned | nX (void) const |
returns # of x bins. | |
float | xMin (void) const |
returns min. of x. | |
float | xMin (float newXMin) |
sets and returns min. of x. | |
float | xMax (void) const |
returns max. of x. | |
float | xMax (float newXMax) |
sets and returns max. of x. | |
float | xSize (void) const |
returns size of x bin. | |
unsigned | nY (void) const |
return # of y bins. | |
float | yMin (void) const |
returns min. of y. | |
float | yMin (float newYMin) |
sets and returns min. of y. | |
float | yMax (void) const |
returns max. of y. | |
float | yMax (float newYMax) |
sets and returns max. of y. | |
float | ySize (void) const |
returns size of y bin. | |
unsigned | serialId (unsigned x, unsigned y) const |
returns serial ID for position (x, y). | |
unsigned | serialId (const TRGPoint2D &p) const |
returns serial ID for position p. | |
TRGPoint2D | position (unsigned x, unsigned y) const |
returns position in Hough plain for a cell (x, y).. | |
std::vector< unsigned > | neighbors (unsigned serialID, unsigned windowSize=1) const |
returns neighbors. | |
void | setRegion (std::vector< unsigned > *) |
Sets region. | |
const std::vector< std::vector< unsigned > * > & | regions (void) const |
returns regions. | |
unsigned | neighbor (unsigned serialID, unsigned direction) const |
returns neighbor cell. | |
void | id (unsigned serialId, unsigned &x, unsigned &y) const |
returns x and y for serialID. | |
void | clearRegions (void) |
Clears regions. | |
virtual void | clear (void)=0 |
Clears all entries. | |
virtual void | vote (float rx, float ry, int weight=1) |
Voring. | |
virtual void | vote (float xOffset, int weight=1) |
Votes using a pattern. | |
const TRGCDCHoughTransformation & | transformation (void) const |
returns Hough transformation object. | |
unsigned | setEntry (unsigned serialId, unsigned n) override |
Sets entry. | |
void | clear (void) override |
clear all entries. | |
void | vote (float rx, float ry, int weight=1) override |
Votes. | |
unsigned | entry (unsigned id) const override |
returns entry in a cell. | |
unsigned | entry (unsigned x, unsigned y) const override |
returns count of a cell. | |
int | maxEntry (void) const override |
returns max. count in a plane. | |
void | add (unsigned cellId, int weight) override |
Add to a cell. | |
const std::vector< unsigned > & | patternId (unsigned cellId) const |
returns pattern ID which activates specified cell. | |
void | clear (void) override |
Clears all entries. | |
void | registerPattern (unsigned id) override |
registers a pattern.. | |
virtual unsigned | nActiveCellsInPattern (unsigned layerId) const |
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const override |
dump debug info | |
void | clear (void) override |
Clears all entries and regions. | |
void | clearCells (void) |
Clears entires only. | |
void | clear (unsigned layerId) |
Clears only specified layer ID. | |
void | vote (float rx, float ry, int charge, unsigned layerId, int weight=1) |
Voting. | |
void | vote (float rx, float ry, unsigned layerId, int weight=1) |
Voting. | |
void | dump (unsigned layerId) const |
Dumps debug information. | |
void | vote (unsigned layerId, unsigned localId, int weight=1) |
Voting. | |
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const override |
Dumps debug information. | |
void | registerPattern (unsigned layerId, unsigned id) |
registers a pattern.. | |
const std::vector< unsigned > & | patternId (unsigned layer, unsigned cellId) const |
returns pattern ID in a layer which activates specified cell. | |
void | preparePatterns (unsigned layerId, unsigned nPatterns) |
allocate memory for patterns. | |
unsigned | nLayers (void) const |
returns # of Hough Boolean layers. | |
unsigned | setEntry (unsigned serialId, unsigned layerId, unsigned n) |
Sets entry. | |
std::string | name (void) const |
returns name. | |
std::string | name (void) const |
Operators. | |
unsigned | id (void) const |
returns id. | |
unsigned | superLayerId (void) const |
returns super layer id. | |
unsigned | localLayerId (void) const |
returns local layer id in a super layer. | |
float | offset (void) const |
returns offset. | |
int | nShifts (void) const |
returns shifts. (non-zero for stereo layers) | |
unsigned | nCells (void) const |
returns # of cells. | |
bool | axial (void) const |
returns true if this is an axial layer. | |
bool | stereo (void) const |
returns true if this is a stereo layer. | |
unsigned | axialStereoLayerId (void) const |
returns id of axial or stereo id. | |
unsigned | axialStereoSuperLayerId (void) const |
returns id of axial or stereo super layer id. | |
float | cellSize (void) const |
returns cell size. | |
const std::string | stereoType (void) const |
returns "A" or "U" or "V" depending on stereo type. | |
float | innerRadius (void) const |
sets and returns inner radius. | |
float | outerRadius (void) const |
sets and returns outer radius. | |
const std::string & | name (void) const |
return name. | |
const TRGCDCCellHit * | hit (void) const |
returns a pointer to a hit. | |
TRGCDCTrack * | track (void) const |
returns a pointer to a track. | |
const TRGCDCCellHit * | hit (const TRGCDCCellHit *) |
sets a pointer to a hit. | |
TRGCDCTrack * | track (TRGCDCTrack *) |
sets a pointer to a track. | |
void | update (const HepGeom::Point3D< double > &onTrack, const HepGeom::Point3D< double > &onWire, unsigned leftRight, double pull) |
sets results of fitting. | |
double | pull (void) const |
returns pull. | |
double | pull (double) |
sets pull. | |
const HepGeom::Point3D< double > & | positionOnWire (void) const |
returns the closest point on wire to a track. | |
const HepGeom::Point3D< double > & | positionOnTrack (void) const |
returns the closest point on track to wire. | |
const HepGeom::Point3D< double > & | positionOnWire (const HepGeom::Point3D< double > &) |
sets and returns the closest point on wire to a track. | |
const HepGeom::Point3D< double > & | positionOnWire (double p[3]) |
sets and returns the closest point on wire to a track. | |
const HepGeom::Point3D< double > & | positionOnTrack (const HepGeom::Point3D< double > &) |
sets and returns the closest point on track to wire. | |
const HepGeom::Point3D< double > & | positionOnTrack (double p[3]) |
sets and returns the closest point on track to wire. | |
unsigned | leftRight (void) const |
returns left-right. 0:left, 1:right, 2:wire | |
unsigned | leftRight (unsigned) |
sets left-right. 0:left, 1:right, 2:wire | |
double | dPhi (void) const |
returns dPhi to the closest point. | |
double | dPhi (double) |
sets and returns dPhi to the closest point. | |
const HepGeom::Point3D< double > & | position (void) const |
returns position. | |
const HepGeom::Point3D< double > & | position (const HepGeom::Point3D< double > &) |
sets and returns position. | |
const HepGeom::Point3D< double > & | conf (const HepGeom::Point3D< double > &conf) |
conf 3D point | |
void | neighbor (unsigned n, TRGCDCLink *neighbor) |
sets neighbor TRGCDCLink. | |
TRGCDCLink * | neighbor (unsigned n) const |
returns neighbor TRGCDCLink. | |
TRGCDCLink * | link (void) const |
returns a pointer to a TRGCDCLink. | |
TRGCDCLink * | link (TRGCDCLink *) |
sets a pointer to a TRGCDCLink. | |
double | distance (void) const |
returns distance between point on wire and on track. | |
const HepGeom::Point3D< double > & | xyPosition (void) const |
returns middle position of a wire. z componet is 0. | |
float | drift (unsigned) const |
returns drift distance of left or right. | |
float | drift (float, unsigned) |
sets and returns drift distance of left or right. | |
float | dDrift (unsigned) const |
returns drift distance error of left or right. | |
float | dDrift (float, unsigned) |
sets and returns drift distance error of left or right. | |
float | drift (void) const |
returns drift distance. | |
float | dDrift (void) const |
returns drift distance error. | |
static void | clearBufferSL (void) |
clear buffers | |
const TRGCDCCell * | cell (void) const |
returns a pointer to a cell. | |
TRGCDCLpar () | |
Constructor. | |
TRGCDCLpar (const TRGCDCLpar &) | |
Constructors and destructor. | |
TRGCDCLpar & | operator= (const TRGCDCLpar &) |
assignment operator(s) | |
void | rotate (double c, double s) |
private member functions | |
void | move (double x, double y) |
private member functions | |
double | check () const |
private const member functions | |
void | neg () |
member functions | |
double | d0 (double x, double y) const |
private const member functions | |
double | d (double x, double y) const |
const member functions | |
double | dr (double x, double y) const |
const member functions | |
double | r_max () const |
private const member functions | |
double | arcfun (double xh, double yh) const |
private const member functions | |
int | sd (double r, double x, double y, double limit, double &s, double &d) const |
const member functions | |
CLHEP::HepVector | Hpar (const HepGeom::Point3D< double > &pivot) const |
const member functions | |
TRGCDCLpav & | operator= (const TRGCDCLpav &) |
assignment operator(s) | |
TRGCDCLpav (const TRGCDCLpav &) | |
Constructors and destructor. | |
void | clear () |
member functions for clear | |
std::string | name (void) const |
returns name. | |
std::string | name (void) const |
returns name. | |
std::string | name (void) const |
returns name. | |
const std::vector< int > & | trackListMC (void) const |
returns MC track list which contributes to CDC hits. | |
const TRGCDCTrackBase & | track (void) const |
returns a track. | |
unsigned | nContributors (void) const |
returns /# of contributors. | |
const std::vector< const TRGCDCWire * > & | wires (void) const |
returns a vector containing pointers to a wire. | |
const TRGCDCWire * | operator[] (unsigned id) const |
returns a wire. | |
const TRGSignal & | signal (void) const override |
returns trigger output. Null will returned if no signal. | |
const TRGSignal & | signal_adc (void) const override |
returns trigger output. Null will returned if no signal. | |
const TRGCDCSegmentHit * | hit (const TRGCDCSegmentHit *) |
sets a pointer to a TRGCDCSegmentHit. | |
const TRGCDCSegmentHit * | hit (void) const |
returns a pointer to a TRGCDCSegmentHit. | |
void | addStoreHit (const CDCTriggerSegmentHit *) |
sets a pointer to a CDCTriggerSegmentHit. | |
const std::vector< const CDCTriggerSegmentHit * > | storeHits (void) const |
returns a pointer to a CDCTriggerSegmentHit. | |
const TRGCDCLUT * | LUT (void) const |
returns LUT | |
const TRGCDCWire & | center (void) const |
returns a center wire. | |
const TRGSignal & | signal (void) const |
returns trigger output. Null will returned if no signal. | |
std::string | name (void) const |
returns name. | |
std::string | name (const std::string &newName) |
sets and returns name. | |
int | status (void) const |
returns status. | |
virtual const CLHEP::Hep3Vector & | p (void) const |
returns momentum vector. | |
virtual const CLHEP::Hep3Vector & | x (void) const |
returns position vector. | |
virtual double | pt (void) const |
returns Pt. | |
bool | fitted (void) const |
returns true if fitted. | |
void | setFitted (bool fitted) |
set fit status | |
virtual unsigned | objectType (void) const |
returns object type. | |
double | charge (void) const |
returns charge. | |
double | charge (double c) |
sets and returns charge. | |
const TRGCDCFitter * | fitter (void) const |
returns a pointer to a default fitter. | |
const TRGCDCFitter * | fitter (const TRGCDCFitter *) |
sets a default fitter. | |
void | setTrackID (int trackID) |
set track ID. | |
int | getTrackID () |
get track ID. | |
static unsigned | nTSF (void) |
returns # of TSF. | |
static unsigned | nTSF (unsigned i) |
returns # of TSF in super layer i. (i=0 to 4) | |
unsigned | id (void) const |
returns an id started from 0. | |
int | status (void) const |
returns status. | |
int | pType (void) const |
returns particle type. | |
const TRGCDCTrackMC * | mother (void) const |
returns a pointer to a mother. | |
const TRGCDCTrackMC * | child (unsigned i) const |
returns a pointer to i'th child. | |
const CLHEP::HepLorentzVector & | p (void) const |
returns momentum vector. | |
const CLHEP::Hep3Vector & | v (void) const |
returns position vector. | |
std::string | name (void) const |
returns name. | |
int | debugLevel (void) const |
returns debug level. | |
int | debugLevel (int) const |
sets and returns debug level. | |
unsigned | nLocalLayers (unsigned superLayerId) const |
returns # of wire layers in a super layer. | |
const TRGCDCLayer * | layer (unsigned id) const |
returns a pointer to a layer. 0 will be returned if 'id' is invalid. | |
const std::vector< TRGCDCLayer * > * | superLayer (unsigned id) const |
returns a pointer to a super-layer. | |
float | fudgeFactor (void) const |
returns fudge factor for drift time error. | |
float | fudgeFactor (float) |
sets and returns fudge factor for drift time error. | |
std::string | versionCDC (void) const |
returns CDC version. | |
unsigned | nWires (void) const |
return # of wires. | |
unsigned | nSuperLayers (void) const |
returns # of super layers. | |
unsigned | nStereoLayers (void) const |
returns # of stereo layers. | |
unsigned | nAxialLayers (void) const |
return # of axial layers. | |
unsigned | nAxialSuperLayers (void) const |
return # of axial super layers. | |
unsigned | nStereoSuperLayers (void) const |
returns # of stereo super layers. | |
unsigned | nLayers (void) const |
return # of layers. | |
float | cellWidth (unsigned superLayerId) const |
returns cell width in unit of radian. | |
float | superLayerR (unsigned superLayerId) const |
returns inner radius of super layer. | |
float | superLayerR2 (unsigned superLayerId) const |
returns (inner radius)^2 of super layer. | |
const TRGCDCSegment & | segment (unsigned id) const |
returns a track segment. | |
const TRGCDCSegment & | axialSegment (unsigned lyrId, unsigned id) const |
returns a track segment in axial layers. (lyrId is axial #) | |
const TRGCDCSegment & | stereoSegment (unsigned lyrId, unsigned id) const |
returns a track segment in stereo layers. (lyrId is stereo #) | |
unsigned | nSegments (void) const |
returns # of track segments. | |
const TRGClock & | systemClock (void) const |
calculates corrected drift time. | |
const TRGClock & | systemClockFE (void) const |
returns the system clock of the front-end | |
const TRGClock & | TDCClock (void) const |
returns the system clock of the trigger TDC after mergers (2 * front-end binwidth) | |
const TRGClock & | dataClock (void) const |
returns the data clock. | |
double | systemOffsetMC (void) const |
returns the system offset in MC. | |
std::vector< const TRGCDCSegmentHit * > | segmentHits (void) const |
returns a list of TRGCDCSegmentHit. | |
std::vector< const TRGCDCSegmentHit * > | segmentHits (unsigned) const |
returns a list of TRGCDCSegmentHit in a super layer N. | |
std::vector< const TRGCDCSegmentHit * > | axialSegmentHits (unsigned) const |
returns a list of TRGCDCSegmentHit in a axial super layer N. | |
std::vector< const TRGCDCSegmentHit * > | stereoSegmentHits (unsigned) const |
returns a list of TRGCDCSegmentHit in a stereo super layer N. | |
const TRGCDCFrontEnd * | frontEnd (unsigned id) const |
returns a front-end board. | |
const TRGCDCMerger * | merger (unsigned id) const |
returns a merger board. | |
TRGCDCTrackSegmentFinder * | tsfboard (unsigned id) const |
returns a TSF board. | |
const TRGCDCTracker2D * | tracker2D (unsigned id) const |
returns a 2D tracker board. | |
const TRGCDCLayer * | segmentLayer (unsigned id) const |
returns a pointer to a track segment layer. | |
unsigned | nSegmentLayers (void) const |
returns # of track segment layers. | |
unsigned | mode (void) const |
sets simulation mode. | |
unsigned | mode (unsigned) |
sets simulation mode. | |
unsigned | firmwareSimulationMode (void) const |
returns firmware simulation mode. | |
int | getReturnValue (void) const |
gets return value for trg cdc module. | |
void | setReturnValue (int) |
sets return value for trg cdc module. | |
int | firmwareSimulationStart (void) const |
returns start clock of the firmware simulation in FE clock. | |
int | firmwareSimulationStop (void) const |
returns stop clock of the firmware simulation in FE clock. | |
int | firmwareSimulationStartDataClock (void) const |
returns start clock of the firmware simulation in data clock. | |
int | firmwareSimulationStopDataClock (void) const |
returns stop clock of the firmware simulation in data clock. | |
const TRGCDCHelix & | helix (void) const |
returns helix parameter. | |
void | setHelix (const TRGCDCHelix &helix) |
Set helix parameter. | |
virtual const CLHEP::Hep3Vector & | p (void) const override |
returns momentum vector. | |
virtual double | pt (void) const override |
returns Pt. | |
virtual const CLHEP::Hep3Vector & | x (void) const override |
returns position vector. | |
void | set2DFitChi2 (double) |
Set 2D fit chi2. | |
double | get2DFitChi2 (void) const |
Returns 2D fit chi2. | |
void | set3DFitChi2 (double) |
Set 3D fit chi2. | |
double | get3DFitChi2 (void) const |
Returns 3D fit chi2. | |
void | setDebugValue (EDebugValueType const &moduleName, bool flag) |
Set debug value. | |
int | getDebugValue (EDebugValueType const &moduleName) const |
Get debug value. | |
const TRGCDCWireHit * | hit (const TRGCDCWireHit *) |
returns a pointer to a TRGCDCWireHit. | |
const TRGCDCWireHit * | hit (void) const |
returns a pointer to a TRGCDCWireHit. | |
const TRGCDCWireHitMC * | hit (TRGCDCWireHitMC *) |
appends a pointer to TRGCDCWireHitMC. | |
void | addSignal (const TRGSignal &newSignal) |
set signal |= newSignal | |
void | addSignal_adc (const TRGSignal &newSignal) |
set signal |= newSignal | |
bool | consective (const TRGCDCWire &) const |
returns true if a given wire is consective in a layer. | |
bool | adjacent (const TRGCDCWire &) const |
returns true if a given wire is adjacent. | |
int | localIdForPlus (void) const |
returns localId but if maxLocalId, return -1. | |
int | localIdForMinus (void) const |
returns localId but if 0, return maxLocalId + 1. | |
const TRGSignal & | signal (void) const override |
returns an input to the trigger. This is sync'ed to 1GHz clock. | |
const TRGSignal & | signal_adc (void) const override |
returns an input to the trigger. This is sync'ed to 1GHz clock. | |
const TRGCDCWireHitMC * | mc (void) const |
This will be removed. | |
const TRGCDCWireHitMC * | mc (TRGCDCWireHitMC *) |
This will be removed. | |
unsigned | iCDCSimHit (void) const |
return index of CDCSimHit | |
float | distance (void) const |
returns drift distance. | |
const HepGeom::Point3D< double > & | hitPosition (void) const |
returns hit position. | |
const HepGeom::Point3D< double > & | entrance (void) const |
returns an entrance point. | |
const HepGeom::Vector3D< double > & | direction (void) const |
returns vector from entrance to exit point. | |
int | leftRight (void) const |
returns left or right. | |
const TRGCDCWire * | wire (void) const |
returns a pointer to a TRGCDCWire. | |
const TRGCDCTrackMC * | hep (void) const |
returns a pointer to a GEN_HEPEVT. | |
const TRGCDCWireHit * | hit (void) const |
returns a pointer to a TRGCDCWireHit. | |
const CLHEP::Hep3Vector & | momentum (void) const |
returns momentum vector at the entrance. | |
TRGCDCCell (unsigned id, unsigned localId, const TRGCDCLayer &layer, const HepGeom::Point3D< double > &forwardPosition, const HepGeom::Point3D< double > &backwardPosition) | |
Constructor. | |
virtual | ~TRGCDCCell () |
Destructor. | |
virtual void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
dumps debug information. | |
int | localIdDifference (const TRGCDCCell &) const |
returns local id difference. | |
TRGCDCCellHit (const TRGCDCCell &, unsigned indexCDCHit=0, unsigned indexCDCSimHit=0, unsigned indexMCParticle=0, float driftLeft=0, float driftLeftError=0, float driftRight=0, float driftRightError=0, int mcLRflag=0, float fudgeFacgtor=1) | |
Constructor. | |
virtual | ~TRGCDCCellHit () |
Destructor. | |
virtual void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
dumps debug information. | |
HepGeom::Point3D< double > | position (unsigned) const |
returns left position. z is always zero. | |
static int | sortById (const TRGCDCCellHit **a, const TRGCDCCellHit **b) |
Sort function. | |
const CDCHit * | hit (void) const |
Access to CDCHit. | |
const CDCSimHit * | simHit (void) const |
Access to CDCSimHit. | |
const MCParticle * | mcParticle (void) const |
Access to MCParticle. | |
TRGCDCCircle (const std::vector< TRGCDCLink * > &links) | |
Constructor with links. | |
TRGCDCCircle (double r, double phi, double charge, const TRGCDCHoughPlane &plane) | |
Constructor with a circle center, assuming the origin is on a circle. | |
virtual | ~TRGCDCCircle () |
Destructor. | |
virtual void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const override |
dumps debug information. | |
int | approach2D (TRGCDCLink &) const override |
calculate closest approach. Error was happened if return value is not zero. | |
TRGCDCCircleFitter (const std::string &name) | |
Constructor. | |
virtual | ~TRGCDCCircleFitter () |
Destructor. | |
virtual int | fit (TRGCDCTrackBase &) const override |
Fitter. | |
TRGCDCEventTime (const TRGCDC &, bool makeRootFile) | |
constructor of TRGCDCEventTime class | |
virtual | ~TRGCDCEventTime () |
destructor of TRGCDCEventTime class | |
void | initialize (void) |
initialize the class | |
void | doit (int ver, bool print) |
Calculate T0 based on ver. | |
void | hitcount (void) |
hit count of TS | |
void | hist (void) |
making hostogram | |
void | oldVer (void) |
old version of calculation function | |
void | printFirm (void) |
Print info in firmware level. | |
int | getT0 (void) const |
Calculate T0. | |
void | terminate (void) |
terminate function | |
TRGCDCEventTimeFinder (const std::string &name, const TRGClock &systemClock, const TRGClock &dataClock, const TRGClock &userClockInput, const TRGClock &userClockOutput) | |
Constructor. | |
~TRGCDCEventTimeFinder () | |
Destructor. | |
void | push_back (const TRGCDCTrackSegmentFinder *) |
push back the TRGCDCTrackSegmentFinder pointer | |
void | simulate (void) |
Firmware simulation. yi. | |
TRGCDCFitter (const std::string &name) | |
Constructor. | |
virtual | ~TRGCDCFitter () |
Destructor. | |
void | fitDone (TRGCDCTrackBase &) const |
sets the fitted flag. (Bad implementation) | |
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
dump debug info | |
TRGCDCFitter3D (const std::string &name, const std::string &rootFitter3DFile, const TRGCDC &, const std::map< std::string, bool > &flags) | |
Constructor. | |
virtual | ~TRGCDCFitter3D () |
Destructor. | |
void | initialize () |
Initialization. | |
int | doit (std::vector< TRGCDCTrack * > &trackList) |
Does track fitting. | |
int | doitComplex (std::vector< TRGCDCTrack * > &trackList) |
Does track fitting using JSignals. | |
static double | calPhi (TRGCDCSegmentHit const *segmentHit, double eventTime) |
Utility functions. | |
void | saveVhdlAndCoe () |
Functions for saving. | |
void | saveAllSignals () |
Saves all signals for debugging. | |
void | saveIoSignals () |
Saves all I/O signals for debugging. | |
static void | getMCValues (const TRGCDC &m_cdc_in, TRGCDCTrack *aTrack, const std::map< std::string, double > &m_mConstD_in, std::map< std::string, double > &m_mDouble_in, std::map< std::string, std::vector< double > > &m_mVector_in) |
Function for mc debugging. | |
bool | isAxialTrackFull (const TRGCDCTrack &aTrack) |
Checks if axial track has 5 TSs. One per each superlayer. | |
bool | isStereoTrackFull (const TRGCDCTrack &aTrack) |
Checks if stereo track has 4 TSs. One per each superlayer. | |
static void | findHitAxialSuperlayers (const TRGCDCTrack &aTrack, std::vector< double > &useAxSL, bool printError) |
Finds which axial superlayers has TSs. useAxSL array indicating hit superlayers. | |
static void | findHitStereoSuperlayers (const TRGCDCTrack &aTrack, std::vector< double > &useStSL, bool printError) |
Finds which stereo superlayers has TSs. useStSL array indicating hit superlayers. | |
void | removeImpossibleStereoSuperlayers (std::vector< double > &useStSL) |
Removes TSs that are not possible with track Pt. | |
static void | selectAxialTSs (const TRGCDCTrack &aTrack, std::vector< int > &bestTSIndex) |
Selects priority TSs when there are multiple candidate TSs for a superlayer. | |
static int | do2DFit (TRGCDCTrack &aTrack, const std::map< std::string, bool > &m_mBool_in, const std::map< std::string, double > &m_mConstD_in, std::map< std::string, std::vector< double > > &m_mConstV_in, std::map< std::string, double > &m_mDouble_in, std::map< std::string, std::vector< double > > &m_mVector_in) |
Does 2D fit. Returns 0 if fit is done successfully. m_mBool should have fIsPrintError, fmcLR, fLRLUT, fmcLR, f2DFit, f2DFitDrift. m_mConstD should have Trg_PI. m_mConstV should have nWires, driftPhi2DError, wirePhi2DError, rr, rr2D. | |
void | print3DInformation (int iTrack) |
Print's information for debugging 3D. | |
void | terminate () |
Termination. | |
std::string | version (void) const |
Gets version of class. | |
std::string | name (void) const |
Gets name of class. | |
static void | getStereoGeometry (std::map< std::string, std::vector< double > > &stGeometry) |
Get stereo geometry. | |
static void | getStereoXt (std::vector< double > const &stPriorityLayer, std::vector< std::vector< double > > &stXts, bool isSimple=0) |
Get stereo Xt. | |
static void | getConstants (std::map< std::string, double > &mConstD, std::map< std::string, std::vector< double > > &mConstV, bool isXtSimple=0) |
Get constants for firmwareFit. | |
TRGCDCFrontEnd (const std::string &name, boardType type, const TRGClock &systemClock, const TRGClock &dataClock, const TRGClock &userClock) | |
Constructor. | |
virtual | ~TRGCDCFrontEnd () |
Destructor. | |
static std::string | version (void) |
returns version. | |
boardType | type (void) const |
returns type. | |
static int | implementation (const boardType &type, std::ofstream &) |
make a VHDL component file. | |
static int | implementationPort (const boardType &type, std::ofstream &) |
writes a port map. | |
void | push_back (const TRGCDCWire *) |
push back TRGCDCWire for this Front-end | |
void | dump (const std::string &message="", const std::string &pre="") const |
dumps contents. | |
void | simulate (void) |
simulates firmware. | |
static TRGState | packerInnerInside (const TRGState &input) |
Makes bit pattern using input bit pattern for the inner FE. | |
static TRGState | packerInnerOutside (const TRGState &input) |
Makes bit pattern using input bit pattern for the outer FE. | |
static TRGState | packerOuterInside (const TRGState &input) |
Makes bit pattern using input bit pattern for the inner FE. | |
static TRGState | packerOuterOutside (const TRGState &input) |
Makes bit pattern using input bit pattern for the outer FE. | |
static void | unpackerInnerInside (const TRGState &input, const TRGState &output) |
Unpacks TRGState. | |
static void | unpackerInnerOutside (const TRGState &input, const TRGState &output) |
Unpacks TRGState. | |
static void | unpackerOuterInside (const TRGState &input, const TRGState &output) |
Unpacks TRGState. | |
static void | unpackerOuterOutside (const TRGState &input, const TRGState &output) |
Unpacks TRGState. | |
void | dump_log (void) const |
Dump all the details of _mosb into a .log file, do it in the end of simulate() | |
void | dump_log_innerInside (void) const |
Dump all the details of _mosb into a .log file, for innerInside FE. | |
void | dump_log_innerOutside (void) const |
Dump all the details of _mosb into a .log file, for innerOutside FE. | |
void | dump_log_outerInside (void) const |
Dump all the details of _mosb into a .log file, for outerInside FE. | |
void | dump_log_outerOutside (void) const |
Dump all the details of _mosb into a .log file, for outerOutside FE. | |
static bool | set_exception (bool) |
set to throw exception or not | |
static bool | set_print (bool) |
set to print debug info or not | |
static void | set_limits (const CLHEP::HepVector &a_min, const CLHEP::HepVector &a_max) |
set limits for helix parameters | |
TRGCDCHelix (const HepGeom::Point3D< double > &pivot, const CLHEP::HepVector &a, const CLHEP::HepSymMatrix &Ea) | |
Constructor with pivot, helix parameter a, and its error matrix. | |
TRGCDCHelix (const HepGeom::Point3D< double > &pivot, const CLHEP::HepVector &a) | |
Constructor without error matrix. | |
TRGCDCHelix (const HepGeom::Point3D< double > &position, const CLHEP::Hep3Vector &momentum, double charge) | |
Constructor with position, momentum, and charge. | |
virtual | ~TRGCDCHelix () |
Destructor. | |
HepGeom::Point3D< double > | x (double dPhi=0.) const |
returns position after rotating angle dPhi in phi direction. | |
double * | x (double dPhi, double p[3]) const |
returns position after rotating angle dPhi in phi direction. | |
HepGeom::Point3D< double > | x (double dPhi, CLHEP::HepSymMatrix &Ex) const |
returns position and convariance matrix(Ex) after rotation. | |
CLHEP::Hep3Vector | momentum (double dPhi=0.) const |
returns momentum vector after rotating angle dPhi in phi direction. | |
CLHEP::Hep3Vector | momentum (double dPhi, CLHEP::HepSymMatrix &Em) const |
returns momentum vector after rotating angle dPhi in phi direction. | |
CLHEP::HepLorentzVector | momentum (double dPhi, double mass) const |
returns 4momentum vector after rotating angle dPhi in phi direction. | |
CLHEP::HepLorentzVector | momentum (double dPhi, double mass, CLHEP::HepSymMatrix &Em) const |
returns 4momentum vector after rotating angle dPhi in phi direction. | |
CLHEP::HepLorentzVector | momentum (double dPhi, double mass, HepGeom::Point3D< double > &x, CLHEP::HepSymMatrix &Emx) const |
returns 4momentum vector after rotating angle dPhi in phi direction. | |
const HepGeom::Point3D< double > & | pivot (const HepGeom::Point3D< double > &newPivot) |
sets pivot position. | |
void | set (const HepGeom::Point3D< double > &pivot, const CLHEP::HepVector &a, const CLHEP::HepSymMatrix &Ea) |
sets helix pivot position, parameters, and error matrix. | |
TRGCDCHelix & | operator= (const TRGCDCHelix &) |
Copy operator. | |
void | updateCache (void) |
update Caches | |
CLHEP::HepMatrix | delApDelA (const CLHEP::HepVector &ap) const |
Mathmatical functions. | |
CLHEP::HepMatrix | delXDelA (double phi) const |
Mathmatical functions. | |
CLHEP::HepMatrix | delMDelA (double phi) const |
Mathmatical functions. | |
CLHEP::HepMatrix | del4MDelA (double phi, double mass) const |
Mathmatical functions. | |
CLHEP::HepMatrix | del4MXDelA (double phi, double mass) const |
Mathmatical functions. | |
void | ignoreErrorMatrix (void) |
unsets error matrix. Error calculations will be ignored after this function call until an error matrix be set again. 0 matrix will be return as a return value for error matrix when you call functions which returns an error matrix. | |
void | debugPrint (void) const |
print debug info | |
void | checkValid (void) |
check validity | |
TRGCDCHough3DFinder (const TRGCDC &, bool makeRootFile, int finderMode) | |
Contructor. | |
~TRGCDCHough3DFinder () | |
Destructor. | |
void | terminate (void) |
Termination method. | |
void | doit (std::vector< TRGCDCTrack * > const &trackList2D, std::vector< TRGCDCTrack * > &trackList3D) |
Member functions. | |
void | doit (std::vector< TRGCDCTrack * > &trackList) |
Finds tracks using tracklist. Has parameter to choose between perfect and original finder. | |
void | doitFind (std::vector< TRGCDCTrack * > &trackList) |
Finds tracks using tracklist. | |
void | perfectFinder (std::vector< TRGCDCTrack * > &trackList, unsigned j, std::vector< const TRGCDCSegmentHit * > &mcTSList) |
Perfect 3D finder for a track. | |
void | doitPerfectly (std::vector< TRGCDCTrack * > &trackList) |
Perfect 3D finder for a tracklist. | |
void | findNumberOfHitSuperlayersForMcParticles (std::vector< std::vector< const TRGCDCSegmentHit * > > &p_stTSs, std::map< unsigned, unsigned > &numberTSsForParticle) |
Finds number of hit superlayers for each mc particle. | |
std::string | version (void) const |
returns version. | |
TRGCDCHoughFinder (const std::string &name, const TRGCDC &, unsigned peakMin, const std::string &mappingFilePlus, const std::string &mappingFileMinus, unsigned doit) | |
Contructor. | |
virtual | ~TRGCDCHoughFinder () |
Destructor. | |
int | doFindingTrasan (std::vector< unsigned > peaks[], std::vector< TRGCDCTrack * > &trackList2D) const |
do track finding. (trasan version) | |
std::vector< TRGCDCLink * > | selectBestHits (const std::vector< TRGCDCLink * > &links) const |
selects the best(fastest) hits in each super layer. | |
int | doFittingTrasan (std::vector< unsigned > peaks[], std::vector< TRGCDCTrack * > &trackList2DFitted) const |
do track fitting. (old trasan version) | |
void | terminate () |
termination. | |
static double | calPhi (TRGCDCSegmentHit const *segmentHit, double eventTime) |
Utility functions. | |
static void | calCosPhi (std::map< std::string, Belle2::TRGCDCJSignal > &mSignalStorage, std::map< std::string, Belle2::TRGCDCJLUT * > &mLutStorage) |
Calculate Cos Sin ? | |
static void | calSinPhi (std::map< std::string, Belle2::TRGCDCJSignal > &mSignalStorage, std::map< std::string, Belle2::TRGCDCJLUT * > &mLutStorage) |
Calculate Cos Sin ? | |
static void | rPhi (std::map< std::string, Belle2::TRGCDCJSignal > &mSignalStorage, std::map< std::string, Belle2::TRGCDCJLUT * > &mLutStorage) |
Calculate r * phi ? | |
void | mappingByFile (const std::string &mappingFilePlus, const std::string &mappingFileMinus) |
creates mappings by a file. | |
int | FindAndFit (std::vector< TRGCDCTrack * > &trackList2D, std::vector< TRGCDCTrack * > &trackList2DFitted) |
do track finding and fitting (wrapper that can choose between different versions). | |
int | doFindingAndFittingTrasan (std::vector< TRGCDCTrack * > &trackList2D, std::vector< TRGCDCTrack * > &trackList2DFitted) |
do track finding and fitting (Trasan version). | |
int | doFindingAndFitting (std::vector< TRGCDCTrack * > &trackList2D, std::vector< TRGCDCTrack * > &trackList2DFitted) |
do track finding and fitting (Kaiyu version). | |
int | doFinding (std::vector< std::vector< unsigned > > peaks[], std::vector< TRGCDCTrack * > &trackList2D) |
do track finding. (kaiyu version) | |
int | doFitting (std::vector< TRGCDCTrack * > &trackList2D, std::vector< TRGCDCTrack * > &trackList2DFitted) |
do track fitting. (kaiyu original) | |
TRGCDCTrack * | makeTrack (const unsigned serialID, const unsigned pm) const |
Make a track from serial ID in Hough plane. | |
TRGCDCHoughPlane (const std::string &name, const TRGCDCHoughTransformation &transformation, unsigned nX, float xMin, float xMax, unsigned nY, float yMin, float yMax) | |
Contructor. | |
virtual | ~TRGCDCHoughPlane () |
Destructor. | |
void | registerPattern (unsigned id) override |
Registers a pattern on a Hough plane with (r, phi=0). | |
virtual void | voteByPattern (float xOffset, int weight=1) |
Votes using a pattern. | |
TRGCDCHoughPlaneBase (const std::string &name, const TRGCDCHoughTransformation &transformation, unsigned nX, float xMin, float xMax, unsigned nY, float yMin, float yMax) | |
Contructor. | |
virtual | ~TRGCDCHoughPlaneBase () |
Destructor. | |
void | locationInPlane (float x0, float y0, float x1, float y1, unsigned &nFound, unsigned &iX0, unsigned &iY0, unsigned &iX1, unsigned &iY1) const |
returns cell positions in the region. | |
int | maxEntryInRegion (unsigned id) const |
returns max. count in region. | |
virtual void | vote (float rx, float ry, int charge, int weight=1) |
Voring. | |
virtual void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
dumps debug information. | |
TRGCDCHoughPlaneBoolean (const std::string &name, const TRGCDCHoughTransformation &transformation, unsigned nX, float xMin, float xMax, unsigned nY, float yMin, float yMax) | |
Contructor. | |
virtual | ~TRGCDCHoughPlaneBoolean () |
Destructor. | |
void | vote (float rx, float ry, float charge, int weight=1) |
Votes with charge decision. | |
void | voteUsedInTrasan (float rx, float ry, float charge, int weight=1) |
Votes with charge decision. | |
void | registerPattern (unsigned id) override |
registers a pattern.. | |
void | preparePatterns (unsigned nPatterns) |
allocate memory for patterns. | |
void | vote (unsigned patternId, int weight) |
Votes using registered pattern. | |
TRGCDCHoughPlaneMulti (const std::string &name, const TRGCDCHoughTransformation &transformation, unsigned nX, float xMin, float xMax, unsigned nY, float yMin, float yMax, unsigned nLayers) | |
Contructor. | |
virtual | ~TRGCDCHoughPlaneMulti () |
Destructor. | |
void | vote (float rx, float ry, float charge, const TRGCDCHoughTransformation &hough, unsigned weight, unsigned layerId) |
vote | |
void | merge (void) |
merge function | |
void | vote (float phi, unsigned layerId, int weight) |
vote | |
TRGCDCHoughPlaneMulti2 (const std::string &name, const TRGCDCHoughTransformation &transformation, unsigned nX, float xMin, float xMax, unsigned nY, float yMin, float yMax, unsigned nLayers) | |
Contructor. | |
virtual | ~TRGCDCHoughPlaneMulti2 () |
Destructor. | |
void | merge (void) |
Merge layers into one. | |
void | mergeOuters (void) |
Merge outer layers into one. | |
TRGCDCHoughTransformation (const std::string &name) | |
Contructor. | |
virtual | ~TRGCDCHoughTransformation () |
Destructor. | |
virtual TRGPoint2D | convert (const TRGPoint2D &) const |
converts Point2D(r, phi) in real plane into Point2D(r, phi) in Hough plane. | |
TRGCDCHoughTransformationCircle (const std::string &name) | |
Contructor. | |
virtual | ~TRGCDCHoughTransformationCircle () |
Destructor. | |
virtual float | y (float xReal, float yReal, float x) const override |
returns Y coordinate in a Hough parameter plane. | |
virtual TRGPoint2D | circleCenter (const TRGPoint2D &) const |
returns Point2D(phi, r) of a circle in real plane. | |
virtual TRGPoint2D | convert (const TRGPoint2D &) const override |
converts Point2D(phi, r) in real plane into Point2D(phi, r) in Hough plane. | |
virtual bool | diverge (float xReal, float yReal, float x0, float x1) const override |
returns true if Y diverges in given region. | |
virtual bool | positiveDiverge (float xReal, float yReal, float x0, float x1) const override |
returns true if Y diverges in given region. | |
virtual bool | negativeDiverge (float xReal, float yReal, float x0, float x1) const override |
returns true if Y diverges in given region. | |
std::string | version (void) const |
returns version. | |
TRGCDCJLUT (const std::string &name="no_name") | |
Contructor. | |
TRGCDCJLUT (const TRGCDCJLUT &in) | |
Copy constructor. | |
virtual | ~TRGCDCJLUT () |
Destructor. | |
void | setData (int inputBitsize, int outputBitSize, const std::string &filename, bool twoscomplement=0) |
set LookUpTable(LUT) data. | |
void | setFunction (std::function< int(int)> function) |
set LUT function directly using int values. | |
int | setFloatFunction (std::function< double(double)> function, TRGCDCJSignal const &input, TRGCDCJSignal const &minInv, TRGCDCJSignal const &maxInv, double outputToReal, int lutInputBitwidth, int lutOutputBitwidth) |
set LUT function using JSignals. | |
void | setBitsize (int inputBitsize, int outputBitsize) |
set input & output bitsize. | |
void | setOutputFlag (int outputFlag) |
set output flag. | |
void | setInputBitsize (int inputBitsize) |
set input bitsize. | |
void | setOutputBitsize (int outputBitsize) |
set output bitsize. | |
std::string | getFileName () const |
get LUT filename | |
int | getInputBitsize () const |
get input bitsize | |
int | getOutputBitsize () const |
get output bitsize | |
std::function< int(int)> | getFunction () |
get LUT function using int values. | |
std::function< double(double)> | getFloatFunction () |
get LUT function using float values. | |
int | getOutputFlag () const |
get output type. | |
int | getOutputType () const |
get output type. | |
int | getOutput (int) const |
get output using int values. | |
double | getFloatOutput (double) const |
get output using float values. | |
void | dump () |
Print variables for LUT. | |
void | makeCOE (const std::string &fileName="") |
make COE file. | |
std::string | operate (std::string out, std::string in, std::map< std::string, std::map< std::string, double > * > &m_intStorage) |
Operate on LUT. (Will be deprecated.) | |
TRGCDCJSignal const | operate (const TRGCDCJSignal &in, TRGCDCJSignal &out) |
Returns LUT value. Out is LUT value + offset. (LUT value + offset do not obey addition bitsize rules.) | |
std::string const | lutVhdlCode (std::string const &shiftOffsetInput) const |
Creates vhdlCode for lut. | |
TRGCDCJSignal () | |
Constructor. | |
TRGCDCJSignal (TRGCDCJSignalData *) | |
Copy constructor. | |
TRGCDCJSignal (int const &bitwidth, double const &value, double const &min, double const &max, int const &clock, TRGCDCJSignalData *) | |
Actual to integer constructor with clock. | |
TRGCDCJSignal (int const &bitwidth, double const &value, double const &min, double const &max, TRGCDCJSignalData *) | |
Actual to integer constructor with clock set to 0. | |
TRGCDCJSignal (signed long long const &intValue, double const &toReal, signed long long const &minInt, signed long long const &maxInt, double const &actual, double const &minActual, double const &maxActual, int const &finishClock, TRGCDCJSignalData *, bool b_slv=0) | |
Integer constructor. | |
TRGCDCJSignal (double const &value, double const &toReal, TRGCDCJSignalData *) | |
Constant constructor. | |
TRGCDCJSignal (std::vector< bool > const &slvValue, int const &finishClock, TRGCDCJSignalData *) | |
Slv constructor. | |
TRGCDCJSignal & | assignTo (TRGCDCJSignal const &rhs, int targetClock, std::string &finalCode) |
Assign operator with setting target clock with outputing final code. | |
TRGCDCJSignal & | assignTo (TRGCDCJSignal const &rhs, int targetClock) |
Assign operator with setting target clock. | |
TRGCDCJSignal & | operator<= (TRGCDCJSignal const &rhs) |
Assign operator. | |
TRGCDCJSignal const | operator- () const |
Unary operator. | |
TRGCDCJSignal const | operator+ (TRGCDCJSignal const &rhs) const |
Arithmetic add operator. | |
TRGCDCJSignal const | operator- (TRGCDCJSignal const &rhs) const |
Arithmetic minus operator. | |
TRGCDCJSignal const | operator* (TRGCDCJSignal const &rhs) const |
Arithmetic multiply operator. | |
void | dump () const |
Methods. | |
TRGCDCJSignal const | shift (int nBits, int operate=1) const |
Shift signal. Shift direction is right. operate=0 to change m_toReal(unit). | |
TRGCDCJSignal const | offset (TRGCDCJSignal const &valueMin) const |
Outputs an offset signal which is an unsigned signal. | |
TRGCDCJSignal const | invOffset (TRGCDCJSignal const &valueMin) const |
Outputs a signal that is not offset. | |
static void | choose (TRGCDCJSignal &target, TRGCDCJSignal const &targetMin, TRGCDCJSignal const &targetMax, TRGCDCJSignal const &reference, std::vector< std::vector< TRGCDCJSignal > > data, int targetClock) |
Case method. | |
static void | choose (TRGCDCJSignal &target, TRGCDCJSignal const &targetMin, TRGCDCJSignal const &targetMax, TRGCDCJSignal const &reference, const std::vector< std::vector< TRGCDCJSignal > > &data) |
Chooes method. Also has input for target min and target max signal. | |
static void | choose (TRGCDCJSignal &target, TRGCDCJSignal const &reference, const std::vector< std::vector< TRGCDCJSignal > > &data, int targetClock) |
Choose with target clock. | |
static void | choose (TRGCDCJSignal &target, TRGCDCJSignal const &reference, const std::vector< std::vector< TRGCDCJSignal > > &data) |
Choose method. | |
static void | ifElse (std::vector< std::pair< TRGCDCJSignal, std::vector< std::pair< TRGCDCJSignal *, TRGCDCJSignal > > > > &data, int targetClock) |
If else implementation with target clock. | |
static void | ifElse (std::vector< std::pair< TRGCDCJSignal, std::vector< std::pair< TRGCDCJSignal *, TRGCDCJSignal > > > > &data) |
If else implementation. | |
TRGCDCJSignal const | limit (signed long long minInt, signed long long maxInt, double minActual, double maxActual) const |
Limits min and max values using specific integers. Use only for ifElse. Doesn't check overflow, underflow to be used in ifElse. | |
TRGCDCJSignal const | limit (TRGCDCJSignal const &min, TRGCDCJSignal const &max) const |
Limits min and max values using JSignal. Use only for ifElse. Doesn't check overflow, underflow to be used in ifElse. | |
TRGCDCJSignal const | resize (int bitwidth) const |
Resizes signal. | |
static TRGCDCJSignal const | slvToSigned (TRGCDCJSignal const &in, double const &toReal, signed long long const &minInt, signed long long const &maxInt, double const &actual, double const &minActual, double const &maxActual, int const &finishClock) |
Change slv to signed with target clock. | |
static TRGCDCJSignal const | slvToSigned (TRGCDCJSignal const &in) |
Change slv to signed. | |
static TRGCDCJSignal const | slvToUnsigned (TRGCDCJSignal const &in, double const &toReal, signed long long const &minInt, signed long long const &maxInt, double const &actual, double const &minActual, double const &maxActual, int const &finishClock) |
Change slv to unsigned with target clock. | |
static TRGCDCJSignal const | slvToUnsigned (TRGCDCJSignal const &in) |
Change slv to unsigned with target clock. | |
static TRGCDCJSignal const | toSlv (TRGCDCJSignal const &in, int test) |
Change signal to std_logic_vector using vector<bool>. (Will be deprecated.) | |
static TRGCDCJSignal const | toSlv (TRGCDCJSignal const &) |
Change singal to std_logic_vector. | |
static TRGCDCJSignal | comp (TRGCDCJSignal const &lhs, const std::string &operate, TRGCDCJSignal const &rhs) |
Compare two signals. | |
void | swap (TRGCDCJSignal &first, TRGCDCJSignal &second) const |
Swaps the TRGCDCJSignals. | |
void | matchUnit (TRGCDCJSignal &first, TRGCDCJSignal &second) const |
Utilities. | |
void | setName (const std::string &name) |
Setters, Getters Sets name of signal. | |
void | setInt (signed long long value) |
Sets integer value of signal. | |
void | setActual (double value) |
Sets float value of signal. | |
void | setToReal (double value) |
Sets toReal factor of signal. | |
void | setType (int type) |
Sets type of signal. | |
void | setBitsize (int bitsize) |
Sets bitwidth of signal. | |
void | setFinishClock (int finishClock) |
Sets finish clock of signal. | |
void | setDebug (bool debug) |
Sets debug flag for signal. | |
void | setPrintVhdl (bool printVhdl) |
Sets print flag for signal. | |
void | setVhdlOutputFile (const std::string &filename) |
Sets ouptut VHDL filename. | |
void | setCommonData (TRGCDCJSignalData *) |
Sets JSignalData to signal. | |
std::string | getName () const |
Get name of signal. | |
int | getType () const |
Get type of signal. | |
double | getBitsize () const |
Get bitwidth of signal. | |
signed long long | getInt () const |
Get integer value of signal. | |
signed long long | getMinInt () const |
Get minimum integer value of signal. | |
signed long long | getMaxInt () const |
Get maximum integer value of signal. | |
double | getActual () const |
Get float value of signal. | |
double | getMinActual () const |
Get minimum float value of signal. | |
double | getMaxActual () const |
Get maximum float value of signal. | |
double | getRealInt () const |
Get converted float value of integer. | |
double | getRealMinInt () const |
Get converted float value of minimum integer. | |
double | getRealMaxInt () const |
Get converted float value of maximum integer. | |
double | getToReal () const |
Get toReal value of signal. | |
int | getFinishClock () const |
Gets clock tick where signal is make. | |
std::vector< std::pair< std::string, std::vector< int > > > const | getArgumentSignals () const |
Gets the signal names and values that made this signal. | |
TRGCDCJSignalData * | getCommonData () const |
Get the sharged JSignalData. | |
int | calType () const |
Calculated what type the signal is. | |
int | calType (double minValue) const |
Calculated the type using the argument. | |
int | calBitwidth () const |
Calculates the bit width. | |
int | calBitwidth (int type, signed long long minInt, signed long long maxInt) |
Calculates the bit width using the arguments. | |
int | calFinishClock () const |
Claculates the clock tick where the signal is valid. | |
std::string | getVhdlCode () const |
Gets the vhdl code for the signal. | |
bool | getPrintVhdl () const |
Gets the print vhdl flag from common JSignalData class. | |
std::string | getVhdlOutputFile () const |
Gets the vhdl output file name. | |
bool | orderLargestBitsize (TRGCDCJSignal &large, TRGCDCJSignal &small) const |
Orders the TRGCDCJSignals by bitsize. Next priority is unsigned, signed, minus unsigned. 1: was swapped. 0: was not swapped. | |
signed long long | calMaxInteger () const |
Calculate max value for a binary number. | |
signed long long | calMinInteger () const |
Calculate min value for a binary number. | |
static TRGCDCJSignal const | absolute (TRGCDCJSignal const &first) |
Absolute TRGCDCJSignal. Removes 1 bit if signed or minus unsigned. | |
static signed long long | calInt (double value, TRGCDCJSignal const &mother) |
Calculates integer value with unit of a TRGCDCJSignal. | |
static void | calVhdlTypeBitwidth (TRGCDCJSignal const &first, const std::string &operation, TRGCDCJSignal const &second, int &type, int &bitwidth) |
Calculates vhdl bitwidth and type for operation. | |
void | initArgumentSignals () |
Initializes the argument signals for the signal. | |
static void | combineArguments (TRGCDCJSignal const &first, TRGCDCJSignal const &second, TRGCDCJSignal &result) |
Combines arguments of signals. | |
void | initVhdlCode () |
Initializes the vhdl code. | |
void | toSignedVhdlCode () |
Changes signal type to signed type in VHDL. | |
void | toUnsignedVhdlCode () |
Changes signal type to unsigned type in VHDL. | |
static void | vhdlCode (TRGCDCJSignal const &first, const std::string &operation, TRGCDCJSignal const &second, TRGCDCJSignal const &result, std::string &targtVhdlCode) |
Writes vhdl code using two signals. | |
static void | vhdlCode (const std::string &operation, TRGCDCJSignal const &first, TRGCDCJSignal const &result, std::string &targetVhdlCode) |
Writes vhdl code using one signal. | |
static std::string | replaceWithSignalNames (std::string const &fromVhdlCode, std::vector< std::pair< std::string, std::vector< int > > > const &fromVhdlSignals, int const &finishClock, std::map< std::string, std::vector< int > > &buffers) |
Writes final vhdl code. | |
static std::string | assignVhdlCode (TRGCDCJSignal const &target, TRGCDCJSignal const &from) |
Writes the assign vhdl code. | |
static std::string | chooseVhdlCode (TRGCDCJSignal const &target, TRGCDCJSignal const &reference, std::vector< std::vector< TRGCDCJSignal > > const &data) |
Writes the choose vhdl code. | |
static std::string | ifElseVhdlCode (std::vector< std::pair< TRGCDCJSignal, std::vector< std::pair< TRGCDCJSignal *, TRGCDCJSignal > > > > const &data) |
Writes the ifElse vhdl code. | |
void | printVhdl (const std::string &vhdlCode) const |
Prints vhdl code. | |
void | checkInt (const std::string &name) const |
Checks underflow or overflow for TRGCDCJSignal. | |
static bool | isSameSignal (TRGCDCJSignal const &lhs, TRGCDCJSignal const &rhs) |
Checks if signal is same signal. | |
static void | valuesToMapSignals (std::vector< std::tuple< std::string, double, int, double, double, int > > const &inValues, Belle2::TRGCDCJSignalData *inCommonData, std::map< std::string, Belle2::TRGCDCJSignal > &outMap) |
Values => [name, value, bitwidth, min, max, clock] Changes values to signals. | |
static void | mapSignalsToValues (std::map< std::string, Belle2::TRGCDCJSignal >const &inMap, std::vector< std::pair< std::string, int > > const &inChoose, std::vector< std::tuple< std::string, double, int, double, double, int > > &outValues) |
Choose => [signalName, FpgaEffects(=1)/NoFpgaEffects(=0)] Values => [name, value, bitwidth, min, max, clock] Changes signals to values. | |
TRGCDCJSignalData () | |
Constructor for class. | |
void | setVhdlOutputFile (const std::string &) |
Sets the filename for VHDL output. | |
void | setPrintVhdl (bool) |
Sets if to print VHDL output. | |
void | setPrintedToFile (bool) |
Set to remember that file was printed. | |
void | setVhdlInProcess (const std::string &) |
Set the VHDL code that are in a process statement. | |
void | setVhdlOutProcess (const std::string &) |
Set the VHDL code that is outside a process statement. | |
std::string | getVhdlOutputFile () const |
Get the VHDL output code. | |
bool | getPrintVhdl () const |
Gets the status of m_printVhdl. | |
bool | getPrintedToFile () const |
Gets the status of m_printedToFile. | |
std::string | getVhdlInProcess () const |
Gets the VHDL code that are in a process statement. | |
std::string | getVhdlOutProcess () const |
Gets the VHDL code that are outside a process statement. | |
std::string | getVhdlDefine () const |
Gets the VHDL code for define statement. | |
std::map< std::string, std::vector< int > > const & | getSignals () const |
Gets the signals that were saved for one line of VHDL. | |
void | printToFile () |
Utilities Function to print VHDL code. | |
void | buffersVhdlCode () |
Function to print buffer VHDL code. | |
void | signalsVhdlCode () |
Function to print definition of signal VHDL code. | |
void | entryVhdlCode () |
Function to print entry VHDL code. | |
TRGCDCLayer (unsigned id, unsigned superLayerId, unsigned localLayerId, unsigned axialStereoLayerId, unsigned axialStereoSuperLayerId, float offset, int nShifts, float cellSize, unsigned nCells, float innerRadius, float outerRadius) | |
Constructor. | |
TRGCDCLayer (unsigned id, const TRGCDCCell &w) | |
Constructor for track segments. | |
TRGCDCLayer () | |
Empty constructor for reduced CDC. | |
virtual | ~TRGCDCLayer () |
Destructor. | |
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
dumps debug information. | |
const TRGCDCCell & | cell (int id) const |
returns a pointer to a cell. 'id' can be negative or 'id' can be greater than 'nCells()'. | |
TRGCDCLink (TRGCDCTrack *track=0, const TRGCDCCellHit *hit=0, const HepGeom::Point3D< double > &position=Point3D()) | |
Constructor. | |
TRGCDCLink (const TRGCDCLink &) | |
Copy constructor. | |
virtual | ~TRGCDCLink () |
Destructor. | |
static unsigned | nLayers (const std::vector< TRGCDCLink * > &links) |
returns # of layers. | |
static void | nHits (const std::vector< TRGCDCLink * > &links, unsigned *nHits) |
returns # of hits per layer. | |
static void | nHitsSuperLayer (const std::vector< TRGCDCLink * > &links, unsigned *nHits) |
returns # of hits per super layer. | |
void | dump_base (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
dumps debug information. | |
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
dumps debug information. | |
static void | dump (const std::vector< TRGCDCLink * > &links, const std::string &message=std::string(""), const std::string &prefix=std::string("")) |
dumps TRGCDCLinks. | |
static void | dump (const std::vector< const TRGCDCLink * > &links, const std::string &message=std::string(""), const std::string &prefix=std::string("")) |
dumps TRGCDCLinks. | |
static void | dump (const TRGCDCLink &link, const std::string &message=std::string(""), const std::string &prefix=std::string("")) |
dumps TRGCDCLinks. | |
static unsigned | nStereoHits (const std::vector< TRGCDCLink * > &links) |
returns # of stereo hits. | |
static unsigned | nAxialHits (const std::vector< TRGCDCLink * > &links) |
returns # of axial hits. | |
static std::vector< TRGCDCLink * > | axialHits (const std::vector< TRGCDCLink * > &links) |
returns axial hits. | |
static std::vector< TRGCDCLink * > | stereoHits (const std::vector< TRGCDCLink * > &links) |
returns stereo hits. | |
static TRGCDCLink * | innerMost (const std::vector< TRGCDCLink * > &links) |
returns the inner-most link. | |
static TRGCDCLink * | outerMost (const std::vector< TRGCDCLink * > &links) |
returns the outer-most link. | |
static void | separateCores (const std::vector< TRGCDCLink * > &input, std::vector< TRGCDCLink * > &cores, std::vector< TRGCDCLink * > &nonCores) |
separate cores and non-cores. | |
static std::vector< TRGCDCLink * > | cores (const std::vector< TRGCDCLink * > &input) |
separate cores and non-cores. | |
static bool | sortById (const TRGCDCLink *a, const TRGCDCLink *b) |
sorts by ID. | |
static int | sortByX (const TRGCDCLink *a, const TRGCDCLink *b) |
sorts by X position. | |
static unsigned | width (const std::vector< TRGCDCLink * > &) |
returns width(wire cell unit) of given std::vector<TRGCDCLink *>. | |
static std::vector< TRGCDCLink * > | edges (const std::vector< TRGCDCLink * > &) |
returns links which are edges. | |
static std::vector< TRGCDCLink * > | sameLayer (const std::vector< TRGCDCLink * > &list, const TRGCDCLink &a) |
returns links which are in the same layer as 'a' or 'id'. | |
static std::vector< TRGCDCLink * > | sameSuperLayer (const std::vector< TRGCDCLink * > &list, const TRGCDCLink &a) |
returns links which are in the same super layer as 'a' or 'id'. | |
static std::vector< TRGCDCLink * > | sameLayer (const std::vector< TRGCDCLink * > &list, unsigned id) |
returns links which are in the same layer as 'a' or 'id'. | |
static std::vector< TRGCDCLink * > | sameSuperLayer (const std::vector< TRGCDCLink * > &list, unsigned id) |
returns links which are in the same super layer as 'a' or 'id'. | |
static std::vector< TRGCDCLink * > | inOut (const std::vector< TRGCDCLink * > &) |
returns links which are in the inner most and outer most layer. | |
static unsigned | superLayer (const std::vector< TRGCDCLink * > &list) |
returns super layer pattern. | |
static unsigned | superLayer (const std::vector< TRGCDCLink * > &list, unsigned minNHits) |
returns super layer pattern. | |
static unsigned | nSuperLayers (const std::vector< TRGCDCLink * > &links) |
returns # of layers. | |
static unsigned | nSuperLayers (const std::vector< TRGCDCLink * > &links, unsigned minNHits) |
returns # of layers. | |
static unsigned | nMissingAxialSuperLayers (const std::vector< TRGCDCLink * > &links) |
returns # of missing axial super layers. | |
static const TRGCDCTrackMC & | links2HEP (const std::vector< TRGCDCLink * > &links) |
returns TRGCDCTrackMC | |
static void | nHitsSuperLayer (const std::vector< TRGCDCLink * > &links, std::vector< TRGCDCLink * > *list) |
returns hits list per super layer. | |
static std::string | layerUsage (const std::vector< TRGCDCLink * > &links) |
usage of each layer | |
static void | remove (std::vector< TRGCDCLink * > &list, const std::vector< TRGCDCLink * > &links) |
removes links from list if wire is same | |
static void | initializeBuffers (void) |
initialize the Buffers | |
static void | separate (const std::vector< TRGCDCLink * > &links, unsigned nLayers, std::vector< TRGCDCLink * > *layers) |
separates into layers. | |
const TRGCDCWire * | wire (void) const |
returns a pointer to a wire. | |
static void | removeAll (void) |
destructs all TRGCDCLink objects. (Called by TRGCDC) | |
static void * | operator new (size_t) |
new operator. | |
static void | operator delete (void *) |
delete operator. | |
Cpar (const TRGCDCLpar &) | |
constructor of Cpar class | |
virtual | ~TRGCDCLpar () |
Destructor. | |
void | circle (double x1, double y1, double x2, double y2, double x3, double y3) |
circle | |
CLHEP::HepMatrix | dldc () const |
private const member functions | |
bool | xy (double, double &, double &, int dir=0) const |
private const member functions | |
double | x (double r) const |
private const member functions | |
double | y (double r) const |
private const member functions | |
double | phi (double r, int dir=0) const |
const member functions | |
void | xhyh (double x, double y, double &xh, double &yh) const |
private const member functions | |
double | s (double x, double y) const |
const member functions | |
double | s (double r, int dir=0) const |
const member functions | |
CLHEP::HepVector | center () const |
const member functions | |
TRGCDCLpav () | |
Constructor. | |
virtual | ~TRGCDCLpav () |
Destructor. | |
void | calculate_average (double x, double y, double w=1) |
member functions for calculation | |
void | calculate_average (void) |
member functions for calculation | |
void | calculate_average_n (double xxav, double yyav, double xyav, double xrrav, double yrrav, double rrrrav) |
private member function calculate_average_n | |
void | calculate_average3 (double x, double y, double w=1) |
member functions for calculation | |
void | calculate_average3 (void) |
member functions for calculation | |
double | solve_lambda (void) |
private member function solve_lambda | |
double | solve_lambda3 (void) |
private member function solve_lambda3 | |
double | calculate_lpar (void) |
member functions for calculation | |
double | calculate_lpar3 (void) |
member functions for calculation | |
double | fit (double x, double y, double w=1) |
member functions for fit | |
double | fit () |
member functions for fit | |
CLHEP::HepSymMatrix | cov (int=0) const |
const member function cov | |
CLHEP::HepSymMatrix | cov_c (int=0) const |
const member function cov_c | |
int | extrapolate (double, double &, double &) const |
const member function for extrapolation | |
double | similarity (double, double) const |
const member function similarity | |
void | add_point (double x, double y, double w=1) |
member functions to add point | |
void | add_point_frac (double x, double y, double w, double f) |
member functions to add point | |
void | sub (double x, double y, double w=1, double a=0, double b=0) |
private member functions | |
const TRGCDCLpav & | operator+= (const TRGCDCLpav &) |
assignment operator(s) | |
double | prob () const |
const member function prob | |
double | chi_deg () const |
const member function chi_deg | |
double | delta_chisq (double x, double y, double w=1) const |
const member function for delta chisq | |
std::string | version (void) const |
returns version. | |
TRGCDCLUT () | |
Contructor. | |
virtual | ~TRGCDCLUT () |
Destructor. | |
int | getValue (unsigned) const |
get LUT Values | |
void | setDataFile (const std::string &filename, int) |
set LUT data. | |
static TRGCDCLUT * | getLUT (const std::string &filename, int) |
get LUT from dictionary, load new LUT if it doesn't exist | |
TRGCDCMerger (const std::string &name, unitType type, const TRGClock &systemClock, const TRGClock &dataClock, const TRGClock &userClockInput, const TRGClock &userClockOutput) | |
Constructor. | |
virtual | ~TRGCDCMerger () |
Destructor. | |
static std::string | version (void) |
return version. | |
unitType | type (void) const |
return type. | |
static int | implementation (const unitType &type, std::ofstream &) |
make a VHDL component file. | |
static int | implementationPort (const unitType &type, std::ofstream &) |
writes a port map. | |
void | push_back (const TRGCDCFrontEnd *) |
push back TRGCDCFrontEnd of this Merger | |
void | dump (const std::string &message="", const std::string &pre="") const |
dumps contents. "message" is to select information to dump. "pre" will be printed in head of each line. | |
void | simulate (void) |
simulates firmware. | |
static TRGState | packerInner (const TRGState &input) |
Make bit pattern using input information from inner FEs. | |
static TRGState | packerOuter (const TRGState &input) |
Make bit pattern using input information from outer FEs. | |
static void | unpackerInner (const TRGState &input, const TRGState &output) |
Unpack TRGState. | |
static void | unpackerOuter (const TRGState &input, const TRGState &output) |
Unpack TRGState. | |
void | dump_log (void) const |
Dump all the details of _mosb into a .log file, do it in the end of simulate() | |
void | dump_log_inner (void) const |
dump_log for inner Merger | |
void | dump_log_outer (void) const |
dump_log for outer Merger | |
std::string | version (void) const |
returns version. | |
TRGCDCPeakFinder (const std::string &name) | |
Contructor. | |
virtual | ~TRGCDCPeakFinder () |
Destructor. | |
void | regions (TRGCDCHoughPlane &hp, const unsigned threshold) const |
Makes regions. | |
void | findPeaksTrasan (TRGCDCHoughPlaneMulti2 &hp, const unsigned threshold, const bool centerIsPeak, std::vector< unsigned > &peakSerialIds) const |
do peak finding. This is a copy from "trasan". | |
void | findPeaks (const TRGCDCHoughPlaneMulti2 &hp, const unsigned threshold, std::vector< std::vector< unsigned > > &peaks) const |
do peak finding. Kaiyu's version using p1p2Methode. | |
void | p1p2Methode (const TRGCDCHoughPlane &hp, const unsigned threshold, std::vector< std::vector< unsigned > > &peaks) const |
Kaiyu's logic. Finds peaks from nested patterns. | |
std::string | version (void) const |
returns version. | |
TRGCDCPerfectFinder (const std::string &name, const TRGCDC &) | |
Contructor. | |
virtual | ~TRGCDCPerfectFinder () |
Destructor. | |
int | doit (std::vector< TRGCDCTrack * > &trackListClone, std::vector< TRGCDCTrack * > &trackList) |
do track finding. | |
int | doitPerfectly (std::vector< TRGCDCTrack * > &trackList) |
do perfect finding. | |
TRGCDCRelation (const TRGCDCTrackBase &track, const std::map< unsigned, unsigned > &relation) | |
Constructor. | |
virtual | ~TRGCDCRelation () |
Destructor. | |
unsigned | contributor (unsigned i=0) const |
returns i'th contributor of MCParticle. | |
const MCParticle & | mcParticle (unsigned i=0) const |
returns i'th contributor. | |
float | purity (unsigned i=0) const |
returns i'th purity. | |
float | purity3D (unsigned trkID) const |
returns purity for 3D for trkID particle which should be from 2D. | |
float | efficiency3D (unsigned trkID, std::map< unsigned, unsigned > &numTSsParticle) const |
returns efficiency of TS for 3D | |
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
Dumps debug information. | |
TRGCDCSegment (unsigned id, const TRGCDCLayer &layer, const TRGCDCWire &w, const TRGClock &clock, const std::string &TSLUTFile, const std::vector< const TRGCDCWire * > &wires) | |
Constructor. | |
virtual | ~TRGCDCSegment () |
Destructor. | |
void | initialize (void) |
initilize variables. | |
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const override |
dumps debug information. | |
void | clear (void) override |
clears information. | |
std::string | name (void) const override |
returns name. | |
void | simulate (bool clockSimulation, bool logicLUTFlag, const std::string &cdcCollectionName=std::string(""), const std::string &tsCollectionName=std::string("")) |
simulates TF hit using wire information. | |
void | simulateWithoutClock (bool logicLUTFlag) |
simulates time-indegrated TF hit | |
void | simulateWithClock (std::string cdcCollectionName, std::string tsCollectionName) |
simulates TF hit time-dependently | |
float | fastestTime (void) const |
return fastest time in TSHit. | |
float | fastestTime (int clk0) const |
fastest time in TSHit that is larger of equal to clk0. | |
float | foundTime (void) const |
return found time in TSHit. | |
float | priorityTime (void) const |
return priority time in TSHit. | |
int | priorityPosition (void) const |
return priority cell position in TSHit. 0: no hit, 3: 1st priority, 1: 2nd right, 2: 2nd left | |
int | priorityPosition (int clk0, int clk1) const |
return priority cell position in TSHit for given time window. | |
const TRGCDCWire & | priority (void) const |
returns priority wire. | |
unsigned | hitPattern (void) const |
returns hit pattern. | |
unsigned | hitPattern_adc (void) const |
returns hit pattern with adc cut. | |
unsigned | hitPattern (int clk0, int clk1) const |
returns hit pattern for hits in given time window. | |
unsigned | lutPattern (void) const |
hit pattern containing bit for priority position | |
unsigned | lutPattern (int clk0, int clk1) const |
hit pattern containing bit for priority position for hits in given time window. | |
virtual bool | hasMember (const std::string &a) const override |
returns true this has member named a. | |
TRGCDCSegmentHit (const TRGCDCSegment &) | |
Constructor. | |
virtual | ~TRGCDCSegmentHit () |
Destructor. | |
static int | sortById (const TRGCDCSegmentHit **a, const TRGCDCSegmentHit **b) |
Sorting funnction. | |
virtual void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const override |
dumps debug information. | |
const TRGCDCSegment & | segment (void) const |
returns a pointer to a track segment. | |
static void | removeAll (void) |
destructs all TRGCDCCellHit objects. (Called by TRGCDC) | |
static void * | operator new (size_t) |
new operator. | |
static void | operator delete (void *) |
delete operator. | |
TRGCDCSteppingAction () | |
Constructor. | |
virtual | ~TRGCDCSteppingAction () |
Destructor. | |
virtual void | UserSteppingAction (const G4Step *) |
Stepping action to control a step in G4. | |
TRGCDCTrackBase (const TRGCDCTrackBase &) | |
Copy constructor. | |
TRGCDCTrackBase (const std::string &name, double charge) | |
Constructor. | |
virtual | ~TRGCDCTrackBase () |
Destructor. | |
virtual void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
dumps debug information. | |
virtual int | fit (void) |
fits itself by a default fitter. Error was happened if return value is not zero. | |
void | append (TRGCDCLink *) |
appends a link. | |
void | append (const std::vector< TRGCDCLink * > &links) |
appends links. | |
const std::vector< TRGCDCLink * > & | links (void) const |
returns a vector to track segments. | |
const std::vector< TRGCDCLink * > & | links (unsigned layerId) const |
returns a vector to track segments. | |
virtual int | approach2D (TRGCDCLink &) const |
calculate closest approach. Error was happened if return value is not zero. | |
const TRGCDCRelation | relation (void) const |
returns MC information. | |
const TRGCDCRelation | relation2D (void) const |
returns MC information for only axial layers. | |
const TRGCDCRelation | relation3D (void) const |
returns MC information for only stereo layers. | |
TRGCDCTracker2D (const std::string &name, const TRGClock &systemClock, const TRGClock &dataClock, const TRGClock &userClockInput, const TRGClock &userClockOutput) | |
Constructor. | |
virtual | ~TRGCDCTracker2D () |
Destructor. | |
static std::string | version (void) |
returns version. | |
void | push_back (const TRGCDCTrackSegmentFinder *) |
Appends a TSF board. | |
void | dump (const std::string &message="", const std::string &pre="") const |
dumps contents. | |
void | simulate (void) |
simulates firmware. | |
static TRGState | packer (const TRGState &input, TRGState ®isters, bool &logicStillActive) |
Packer for 3D tracker. | |
static void | unpacker (const TRGState &input, TRGState &output) |
Unpack TSF output. | |
static void | hitInformation (const TRGState ®isters) |
Gets TSF hit information for one certin clock from the registers. | |
void | setConstants (void) |
Sets constants. | |
static void | update (void) |
updates information. | |
TRGCDCTrackMC () | |
Constructor. | |
virtual | ~TRGCDCTrackMC () |
Destructor. | |
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
dumps debug information. | |
static std::vector< const TRGCDCTrackMC * > | list (void) |
returns a list of TRGCDCTrackMC's. | |
std::vector< const TRGCDCWireHitMC * > | hits (void) const |
returns a list of TRGCDCWireHitMC. | |
TRGCDCTrackSegmentFinder (const TRGCDC &, bool makeRootFile, bool logicLUTFlag) | |
Constructor. | |
TRGCDCTrackSegmentFinder (const TRGCDC &, const std::string &name, boardType type, const TRGClock &systemClock, const TRGClock &dataClock, const TRGClock &userClockInput, const TRGClock &userClockOutput, const std::vector< TRGCDCSegment * > &tsSL) | |
Constructor. | |
~TRGCDCTrackSegmentFinder () | |
Destructor. | |
boardType | type (void) const |
board type of TSF | |
void | terminate (void) |
terminate | |
void | doit (std::vector< TRGCDCSegment * > &tss, const bool trackSegmentClockSimulation, std::vector< TRGCDCSegmentHit * > &segmentHits, std::vector< TRGCDCSegmentHit * > *segmentHitsSL) |
Member functions of doing TSF. | |
vector< TRGSignalVector * > | findTSHit (TRGSignalVector *eachInput, int) |
Use LUT for find TSHit. | |
TRGSignalVector * | packerOuterTracker (vector< TRGSignalVector * > &, vector< int > &, const unsigned) |
Packing output for tracker. | |
TRGSignalVector * | packerOuterEvt (vector< TRGSignalVector * >, vector< int >, int) |
Packing output for evtTime & Low pT. | |
double | mkint (TRGState) |
tranformatoin into integer | |
vector< bool > | mkbool (int, int) |
tranformatoin into bool | |
void | saveTSInformation (std::vector< TRGCDCSegment * > &tss) |
save the TS info | |
void | saveTSFResults (std::vector< TRGCDCSegmentHit * > *segmentHitsSL) |
save result of TSF | |
void | saveNNTSInformation (std::vector< TRGCDCSegment * > &tss) |
Saves NNTS information. Only when ts is hit. | |
void | push_back (const TRGCDCMerger *) |
push back the Mergers of this TSF | |
void | simulateOuter (void) |
Firmware simulation for the outers. yi. | |
vector< TRGSignalVector * > | simulateOuter (TRGSignalVector *in, unsigned id) |
Simulate TSF response for the inner. | |
void | priorityTiming (unsigned tsfID, const unsigned nTSF, TRGSignalVector &s, const TRGSignal ¢er, const TRGSignal &right, const TRGSignal &left) const |
Make TRGSignals for the priority timing bits. | |
void | fastestTimingOuter (unsigned tsfID, const unsigned nTSF, TRGSignalVector &s) const |
Make TRGSignals for the fastest timing bits. | |
void | simulateInner (void) |
Firmware simulation for the outers. yi. | |
void | fastestTimingInner (unsigned tsfID, const unsigned nTSF, TRGSignalVector &s) const |
Make TRGSignals for the fastest timing bits. | |
vector< TRGSignalVector * > | simulateInner (const TRGSignalVector &in, unsigned id) |
Simulate TSF response for the inner. | |
static void | addID (TRGSignalVector &s, unsigned id) |
Add TSF ID to timing signal vector for the output. | |
void | simulate (void) |
Firmware simulation. yi. | |
void | simulate2 (void) |
Firmware simulation. Unified version of inner and outer : yi. | |
void | hitMapInner (void) |
Creates the hit maps for the inner. | |
void | hitMapOuter (void) |
Creates the hit maps for the outer. | |
void | inputInner (const unsigned id, const unsigned nTSF, TRGSignalVector *s) |
Creates input signals to TSF for the inner. | |
void | inputOuter (const unsigned id, const unsigned nTSF, TRGSignalVector *s) |
Creates input signals to TSF for the outer. | |
TRGSignalVector * | packerForTracker (vector< TRGSignalVector * > &, vector< int > &, const unsigned) |
Output packer for tracker. | |
vector< TRGSignalVector * > | simulateTSFOld (TRGSignalVector *in, unsigned id) |
Simulate TSF response (unified version) | |
vector< TRGSignalVector * > | simulateTSF (TRGSignalVector *in, unsigned id) |
Simulate TSF response (unified version, 2016/07/12) | |
vector< TRGSignalVector * > | simulateTSF2 (TRGSignalVector *in, unsigned id) |
Simulate TSF response (unified version, state machine) | |
std::string | name (void) const |
simulates track segment decisions. | |
std::string | version (void) const |
returns version. | |
static TRGCDC * | getTRGCDC (const std::string &configFile, unsigned simulationMode=0, unsigned fastSimulationMode=0, unsigned firmwareSimulationMode=0, int firmwareSimulationStart=0, int firmwareSimulationStop=32 *32 - 1, bool _makeRootFile=0, bool perfect2DFinder=false, bool perfect3DFinder=false, const std::string &innerTSLUTFile="?", const std::string &outerTSLUTFile="?", const std::string &rootTRGCDCFile="?", const std::string &rootFitter3DFile="?", unsigned houghFinderPeakMin=5, const std::string &houghMappingFilePlus="?", const std::string &houghMappingFileMinus="?", unsigned houghDoit=2, bool fLogicLUTTSF=0, bool fLRLUT=1, bool fFitter3Dsmclr=0, bool fFitter3Ds2DFit=1, bool fFitter3Ds2DFitDrift=0, double inefficiency=0, bool fileTSF=0, bool fileETF=0, int fverETF=0, bool fprintFirmETF=0, bool fileHough3D=0, int finder3DMode=0, bool fileFitter3D=0, bool fXtSimpleFitter3D=0, double TdcBinWidth=1., int trgCDCDataInputMode=0, const std::string &cdchitCollectionName="") |
returns TRGCDC object with specific configuration. | |
static TRGCDC * | getTRGCDC (void) |
returns TRGCDC object. | |
std::vector< TRGCDCTrack * > | getTrackList2D (void) |
returns 2D track list (no fit). | |
std::vector< TRGCDCTrack * > | getTrackList2DFitted (void) |
returns 2D fitted track list. | |
std::vector< TRGCDCTrack * > | getTrackList3D (void) |
returns 3D track list (fitted). | |
TRGCDC (const std::string &configFile, unsigned simulationMode, unsigned fastSimulationMode, unsigned firmwareSimulationMode, int firmwareSimulationStart, int firmwareSimulationStop, bool makeRootFile, bool perfect2DFinder, bool perfect3DFinder, const std::string &innerTSLUTFile, const std::string &outerTSLUTFile, const std::string &rootTRGCDCFile, const std::string &rootFitter3DFile, unsigned houghFinderPeakMin, const std::string &houghMappingFilePlus, const std::string &houghMappingFileMinus, unsigned houghDoit, bool fLogicLUTTSF, bool fLRLUT, bool fFitter3Dsmclr, bool fFitter3Ds2DFit, bool fFitter3Ds2DFitDrift, double inefficiecny, bool fileTSF, bool fileETF, int fverETF, bool fprintFirmETF, bool fileHough3D, int finder3DMode, bool fileFitter3D, bool fXtSimpleFitter3D, double TdcBinWidth, int trgCDCDataInputMode, const std::string &cdchitCollectionName) | |
Constructor. | |
void | initialize (unsigned houghFinderPeakMin, const std::string &houghMappingFilePlus, const std::string &houghMappingFileMinus, unsigned houghDoit) |
initializes CDC geometry. | |
void | terminate (void) |
terminates when run is finished | |
void | dump (const std::string &message) const |
dumps debug information. | |
const TRGCDCWire * | wire (unsigned wireId) const |
returns a pointer to a wire. | |
const TRGCDCWire * | wire (unsigned layerId, int localId) const |
returns a pointer to a wire. | |
const TRGCDCWire * | wire (float r, float phi) const |
returns a pointer to a wire. | |
void | clear (void) |
clears all TRGCDC hit information. | |
void | fastClear (void) |
clears TRGCDC information. | |
void | update () |
updates TRGCDC wire information. clear() is called in this function. | |
void | updateByData (int inputMode) |
updates TRGCDC wire information by Hardware data 0: From CDC FE ASCII file (Implementing) 1: From CDC FE-DAQ root file (Not implemented) 2: From TSIM root file (Not implemented) | |
void | classification (void) |
classify hits. | |
std::vector< const TRGCDCWireHit * > | axialHits (void) const |
returns a list of axial hits. | |
std::vector< const TRGCDCWireHit * > | stereoHits (void) const |
returns a list of stereo hits. | |
std::vector< const TRGCDCWireHit * > | hits (void) const |
returns a list of TRGCDCWireHit. | |
std::vector< const TRGCDCWireHitMC * > | hitsMC (void) const |
returns a list of TRGCDCWireHitMC. | |
std::string | wireName (unsigned wireId) const |
returns wire name. | |
unsigned | localId (unsigned wireId) const |
returns local ID in a layer. This function is expensive. | |
unsigned | layerId (unsigned wireId) const |
returns layer ID. This function is expensive. | |
unsigned | layerId (unsigned axialStereoSwitch, unsigned axialStereoLayerId) const |
returns layer ID from axialStereoLayerId. This function is expensive. | |
unsigned | superLayerId (unsigned wireId) const |
returns super layer ID. This function is expensive. | |
unsigned | localLayerId (unsigned wireId) const |
returns local layer ID in a super layer. This function is expensive. | |
unsigned | axialStereoSuperLayerId (unsigned axialStereo, unsigned axialStereoLayerId) const |
returns axialStereo super layer ID. This function is expensive. | |
virtual | ~TRGCDC () |
Destructor. | |
bool | neighbor (const TRGCDCWire &w0, const TRGCDCWire &w1) const |
returns true if w0 and w1 are neighbor. | |
void | simulate (void) |
fast trigger simulation. | |
void | fastSimulation (void) |
Fast simulation. | |
void | storeSimulationResults (std::string collection2Dfinder, std::string collection2Dfitter, std::string collection3Dfitter) |
Save results of fast simulation to data store (segment hits & tracks). | |
void | firmwareSimulation (void) |
Firmware simulation. | |
void | configure (void) |
configures trigger modules for firmware simulation. | |
const TRGCDCSegment & | segment (unsigned lyrId, unsigned id) const |
returns a track segment. | |
int | getEventTime (void) const |
returns bad hits(finding invalid hits). | |
void | setReturnValue (EReturnValueType const &moduleName, bool flag) |
sets return value for trg cdc module. | |
int | getReturnValue (EReturnValueType const &moduleName) const |
gets return value for a module in trg cdc module. | |
void | saveCDCHitInformation (std::vector< std::vector< unsigned > > &) |
Save functions for ROOT. | |
void | saveTRGHitInformation (std::vector< std::vector< int > > &) |
Save functions for ROOT. | |
void | saveTRGRawInformation (std::vector< std::string > &) |
Save functions for ROOT. | |
unsigned | nSegments (unsigned id) const |
returns # of track segments in a layer. | |
TRGCDCTrack () | |
Constructor. | |
TRGCDCTrack (const TRGCDCCircle &) | |
Constructor from a Circle. | |
virtual | ~TRGCDCTrack () |
Destructor. | |
static std::vector< const TRGCDCTrack * > | list (void) |
returns a list of TRGCDCTrack's. | |
int | approach (TRGCDCLink &, bool sagCorrection=false) const |
calculates the closest approach to a wire in real space. Results are stored in TLink. Return value is negative if error happened. | |
std::vector< HepGeom::Point3D< double > > | perfectPosition (void) const |
returns perfect position from GEANT. | |
TRGCDCWire (unsigned id, unsigned localId, const TRGCDCLayer &, const HepGeom::Point3D< double > &forwardPosition, const HepGeom::Point3D< double > &backwardPosition, const TRGClock &clock) | |
Constructor. | |
virtual | ~TRGCDCWire () |
Destructor. | |
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const override |
dumps debug information. | |
const TRGCDCWire * | neighbor (unsigned) const |
returns a pointer to a neighbor wire. This function is expensive. | |
void | clear (void) override |
clears information. | |
std::string | name (void) const override |
returns name. | |
TRGCDCWireHit (const TRGCDCWire &, unsigned indexCDCHit=0, unsigned indexCDCSimHit=0, unsigned indexMCParticle=0, float driftLeft=0, float driftLeftError=0, float driftRight=0, float driftRightError=0, int mcLRflag=1, float fudgeFacgtor=1) | |
Constructor. | |
virtual | ~TRGCDCWireHit () |
Destructor. | |
const TRGCDCWire & | wire (void) const |
returns a pointer to a TRGCDCWire. | |
static int | sortByWireId (const TRGCDCWireHit **a, const TRGCDCWireHit **b) |
Sort function. This will be removed. | |
static void | removeAll (void) |
destructs all TRGCDCCellHit objects. (Called by TRGCDC) | |
static void * | operator new (size_t) |
new operator. | |
static void | operator delete (void *) |
delete operator. | |
TRGCDCWireHitMC (const TRGCDCWire *, const TRGCDCWireHit *) | |
Constructor. | |
virtual | ~TRGCDCWireHitMC () |
Destructor. | |
TrgEclDatabaseImporter () | |
TrgEclDatabaseImporter Constructor. | |
void | importFAMParameter (std::string, std::string, std::string) |
Import FAM Parameters. | |
void | importTMMParameter (std::string) |
Import TMM Parameters. | |
void | importETMParameter (std::string) |
Import ETM Parameters. | |
void | importBadRunNumber (std::string) |
Import Bad Run Number. | |
void | printTCThreshold () |
Print TC energy Threshold. | |
int | debugLevel (void) const |
returns debug level. | |
int | debugLevel (int) const |
sets and returns debug level. | |
const TRGClock & | systemClock (void) const |
returns the system clock. | |
double | systemOffsetMC (void) const |
returns the system offset in MC. | |
unsigned | firmwareSimulationMode (void) const |
returns firmware simulation mode. | |
std::string | configFile (void) const |
returns configuration file name. | |
std::string | name (void) const |
returns name. | |
std::string | version (void) const |
returns version. | |
static TRGGDL * | getTRGGDL (const std::string &configFile, unsigned simulationMode=0, unsigned fastSimulationMode=0, unsigned firmwareSimulationMode=0, const std::string &Phase="Phase", bool algFromDB=true, const std::string &algFilePath="ftd.alg", int debugLevel=0, double timquality_threshold_sfin=0, double timquality_threshold_fine=0) |
returns TRGGDL object with specific configuration. | |
static TRGGDL * | getTRGGDL (void) |
returns TRGGDL object. | |
TRGGDL (const std::string &configFile, unsigned simulationMode, unsigned fastSimulationMode, unsigned firmwareSimulationMode, const std::string &Phase, bool algFromDB=true, const std::string &algFilePath="ftd.alg", int debugLevel=0, double timquality_threshold_sfin=0, double timquality_threshold_fine=0) | |
Constructor. | |
void | initialize (void) |
initializes GDL. | |
void | terminate (void) |
terminates when run is finished | |
void | dump (const std::string &message) const |
dumps debug information. | |
void | clear (void) |
clears all TRGGDL information. | |
void | fastClear (void) |
clears TRGGDL information. | |
void | update (bool mcAnalysis=true) |
updates TRGGDL information. | |
virtual | ~TRGGDL () |
Destructor. | |
void | simulate (void) |
fast trigger simulation. | |
void | fastSimulation (void) |
Fast simulation. | |
void | dataSimulation (void) |
Data simulation. | |
bool | isFiredFTDL (std::vector< bool > input, std::string alg) |
bool | doprescale (int f) |
void | firmwareSimulation (void) |
Firmware simulation. | |
void | configure (void) |
configures trigger modules for firmware simulation. | |
void | getInput (std::ifstream &ifs) |
Read input data definition. | |
void | getOutput (std::ifstream &ifs) |
Read output data definition. | |
void | getAlgorithm (std::ifstream &ifs) |
Read algorithm data definition. | |
static TRGState | decision (const TRGState &input) |
Makes bit pattern(state) using input bit pattern(state). | |
static TRGState | timingDecision (const TRGState &input, TRGState ®isters, bool &logicStillActive) |
Makes timing decision. | |
void | accumulateInp (TH1I *) |
Accumulate bit info in histogram. | |
void | accumulateFtd (TH1I *) |
Accumulate bit info in histogram. | |
void | accumulatePsn (TH1I *) |
Accumulate bit info in histogram. | |
void | checkDatabase () const |
Check the content of the DBObjects used by this class. | |
int | debugLevel (void) const |
returns debug level. | |
int | debugLevel (int) const |
sets and returns debug level. | |
const TRGClock & | systemClock (void) const |
returns the system clock. | |
unsigned | firmwareSimulationMode (void) const |
returns firmware simulation mode. | |
std::string | configFile (void) const |
returns configuration file name. | |
std::string | name (void) const |
matching function | |
std::string | version (void) const |
returns version. | |
static TRGGRL * | getTRGGRL (const std::string &configFile, unsigned simulationMode=0, unsigned fastSimulationMode=0, unsigned firmwareSimulationMode=0) |
returns TRGGRL object with specific configuration. | |
static TRGGRL * | getTRGGRL (void) |
returns TRGGRL object. | |
TRGGRL (const std::string &configFile, unsigned simulationMode, unsigned fastSimulationMode, unsigned firmwareSimulationMode) | |
Constructor. | |
void | initialize (void) |
initializes GRL. | |
void | terminate (void) |
terminates when run is finished | |
void | dump (const std::string &message) const |
dumps debug information. | |
void | clear (void) |
clears all TRGGRL information. | |
void | fastClear (void) |
clears TRGGRL information. | |
void | update (bool mcAnalysis=true) |
updates TRGGRL information. | |
virtual | ~TRGGRL () |
Destructor. | |
void | simulate (void) |
fast trigger simulation. | |
void | fastSimulation (void) |
Fast simulation. | |
void | firmwareSimulation (void) |
Firmware simulation. | |
void | configure (void) |
configures trigger modules for firmware simulation. | |
TRGGRLMatch (TRGCDCTrack *track, TRGECLCluster *cluster, int flag) | |
public member functions of TRGGRLMatch class Private variables can be called by the corresponding get function | |
virtual | ~TRGGRLMatch () |
Destructor. | |
void | calculate (void) |
a function to execute calculation of matching | |
void | dump (void) |
Unpacker of the TRGGRLMatch. | |
bool | inArea (const TRGPoint2D &x) const |
returns true if give point is in the area. | |
const std::string & | name (void) const |
returns name. | |
const std::string & | name (const std::string &newName) |
sets and returns name. | |
void | clear (void) |
clears contents. | |
unsigned | size (void) const |
returns size of stream in unit of bit. | |
void | append (int) |
appends a bit to a stream. | |
void | append (unsigned) |
appends a bit to a stream. | |
unsigned | sizeInChar (void) const |
returns size in char's. | |
char | c (unsigned positionInChar) const |
returns a pointer to char's. | |
bool | bit (unsigned positionInBit) const |
returns true if given position is active. | |
const std::string & | name (void) const |
returns name. | |
const TRGClock & | clockSystem (void) const |
returns system clock. | |
const TRGClock & | clockData (void) const |
returns data clock. | |
const TRGClock & | clockUserInput (void) const |
returns Aurora user clock for input. | |
const TRGClock & | clockUserOutput (void) const |
returns Aurora user clock for output. | |
void | appendInput (const TRGChannel *) |
appends an input Aurora channel. | |
void | appendOutput (TRGChannel *) |
appends an output Aurora channel. | |
const TRGChannel * | input (unsigned i) const |
returns input channel i. | |
TRGChannel * | output (unsigned i) const |
returns output channel i. | |
unsigned | nInput (void) const |
returns input channels. | |
unsigned | nOutput (void) const |
returns output channels. | |
const std::string & | name (void) const |
returns name. | |
TRGSignalBundle * | signal (TRGSignalBundle *) |
sets input data. | |
TRGSignalBundle * | signal (void) const |
returns signal. | |
const TRGBoard & | sender (void) const |
sender TRG board | |
double | offset (void) const |
returns offset of the clock zero position in nano second. | |
const std::string & | name (void) const |
returns name. | |
double | minTiming (void) const |
returns min. timing. | |
double | maxTiming (void) const |
returns max. timing. | |
int | unit (double period) const |
returns min # of clocks to cover given time period. | |
double | frequency (void) const |
returns frequency in MHz. | |
int | min (void) const |
returns min. clock point. | |
int | max (void) const |
returns max. clock point. | |
int | positionInSourceClock (double timing) const |
returns clock position in the source clock. | |
const std::string & | name (void) const |
returns name. | |
const TRGClock & | clock (void) const |
returns clock. | |
void | appendHeader (const TRGSignal *) |
appends a signal to header data. | |
void | appendTrailer (const TRGSignal *) |
appends a signal to trailer data. | |
void | append (const TRGSignal *) |
appends a signal to data. | |
double | x (void) const |
x of the point | |
double | y (void) const |
y of the point | |
double | x (double) |
x of the point | |
double | y (double) |
y of the point | |
double | mag (void) const |
magnitude of the point | |
double | mag2 (void) const |
magnitude square of the point | |
double | phi (void) const |
phi of the point | |
double | dot (const TRGPoint2D &) const |
inner product | |
double | cross (const TRGPoint2D &) const |
outer product | |
TRGPoint2D | operator+ (const TRGPoint2D &) const |
TRGPoint2D | operator- (const TRGPoint2D &) const |
TRGPoint2D | operator- () const |
bool | operator== (const TRGPoint2D &) const |
equal operator | |
TRGPoint2D | unit (void) const |
unit vector | |
const std::string & | name (void) const |
returns name. | |
const std::string & | name (const std::string &newName) |
sets and returns name. | |
TRGSignal | operator& (const TRGTime &) const |
returns AND result. | |
TRGSignal & | operator&= (const TRGTime &) |
returns AND result. | |
TRGSignal | operator| (const TRGTime &) const |
returns OR result. | |
TRGSignal & | operator|= (const TRGTime &) |
returns OR result. | |
unsigned | nSignals (void) const |
returns # of signals. | |
unsigned | nEdges (void) const |
returns # of edges. | |
void | clear (void) |
clears contents. | |
bool | active (void) const |
returns true if there is a signal. | |
bool | state (int clockPosition) const |
returns true if signal is active in given clock position. | |
bool | riseEdge (int clockPosition) const |
returns true if signal is active and rising edge in give clock position. | |
const TRGTime * | operator[] (unsigned i) const |
returns timing of i'th edge. | |
const TRGClock & | clock (void) const |
returns clock. | |
bool | operator!= (const TRGSignal &) const |
returns true if two are the same. | |
bool | active (int clk0, int clk1) const |
returns true if there is a signal. | |
const std::string & | name (void) const |
returns name. | |
const std::string & | name (const std::string &newName) |
sets and returns name. | |
const TRGClock & | clock (void) const |
returns clock. | |
const std::string & | name (void) const |
returns name. | |
const std::string & | name (const std::string &newName) |
sets and returns name. | |
const TRGClock & | clock (void) const |
returns clock. | |
bool | operator!= (const TRGSignalVector &) const |
compare two TRGSignalVectors. | |
unsigned | size (void) const |
returns bit size. | |
bool | active (void) const |
returns true if there are active bits. | |
bool | active (unsigned bitPosition) const |
returns true if there are active bits. | |
bool | operator[] (unsigned i) const |
returns state of i'th bit. | |
operator unsigned () const | |
Conversion to unsigned. | |
operator unsigned long long () const | |
Conversion to unsigned long long. | |
operator std::string () const | |
Conversion to string. | |
void | copy2bool (bool *array) const |
returns a filled array. | |
const TRGState & | set (unsigned position, unsigned size, const bool *const array) |
sets state. | |
const TRGState & | set (unsigned position, unsigned size, unsigned value) |
sets state. | |
const TRGState & | set (unsigned position, bool state=true) |
sets state at bit i. | |
const TRGState & | set (unsigned position, const TRGState &) |
sets state. | |
static unsigned | toUnsigned (unsigned n, const bool *array) |
Coverts from bool array to unsigned. | |
TRGState & | shift (unsigned i) |
shifts bits. | |
void | clear (void) |
clears state. | |
const std::string & | name (void) const |
returns name. | |
const std::string & | name (const std::string &newName) |
sets and returns name. | |
TRGTime & | reverse (void) |
reverse edge. | |
const TRGClock & | clock (void) const |
returns clock. | |
bool | edge (void) const |
returns edge information. | |
TRGTime & | shift (int unit) |
delays by clock unit. | |
int | time (void) const |
returns timing in clock position. | |
int | time (int newTime) |
sets and returns timing in clock position. | |
bool | operator== (const TRGTime &) const |
returns true if two are the same. | |
bool | operator!= (const TRGTime &) const |
returns false if two are the same. | |
TRGArea2D (const TRGPoint2D &leftBottom, const TRGPoint2D &rightUpper) | |
Contructor. | |
virtual | ~TRGArea2D () |
Destructor. | |
void | cross (const TRGPoint2D &x0, const TRGPoint2D &x1, unsigned &nFound, TRGPoint2D crossPoint[2]) const |
returns cross-points. | |
TRGBitStream () | |
Default constructor. | |
TRGBitStream (int size, const std::string &name="unknown") | |
Constructor of fixed size. | |
TRGBitStream (const TRGBitStream &) | |
Copy constructor. | |
TRGBitStream (const char *const, unsigned sizeInBit) | |
Constructor with char stream. | |
virtual | ~TRGBitStream () |
Destructor. | |
void | dump (const std::string &message="", const std::string &pre="") const |
dumps contents. "message" is to select information to dump. "pre" will be printed in head of each line. | |
void | append (bool) |
appends a bit to a stream. | |
static std::vector< TRGSignal > | TRGBitStream2TRGSignal (const TRGClock &clock, int initialClockPosition, std::vector< TRGBitStream * > stream) |
Make trigger signals from bit stream. | |
TRGBoard (const std::string &name, const TRGClock &systemClock, const TRGClock &dataClock, const TRGClock &userClockInput, const TRGClock &userClockOutput) | |
Constructor. | |
virtual | ~TRGBoard () |
Destructor. | |
void | dump (const std::string &message="", const std::string &pre="") const |
dumps contents. | |
TRGChannel (const std::string &name, const TRGBoard &sender, const TRGBoard &receiver) | |
Constructor. | |
virtual | ~TRGChannel () |
Destructor. | |
TRGClock (const std::string &name, double offset, double frequency) | |
Constructor. "offset" is in unit of ns. "frequency" is in unit of MHz. | |
TRGClock (const std::string &name, const TRGClock &, unsigned multiplicationFactor, unsigned divisionFactor=1) | |
Constructor with clock source. | |
virtual | ~TRGClock () |
Destructor. | |
void | dump (const std::string &message="", const std::string &pre="") const |
dumps contents. | |
int | position (double timing) const |
returns clock position. | |
double | absoluteTime (int clockPosition) const |
returns absolute time of clock position | |
double | overShoot (double timing) const |
returns over shoot. | |
TRGTime | minTRGTime (bool edge) const |
returns min. TRGtime with clock. | |
TRGTime | maxTRGTime (bool edge) const |
returns max. TRGtime with clock. | |
double | phase (double timing) const |
returns phase of given timing in degree (0 to 360). | |
const TRGSignalVector & | clockCounter (void) const |
returns the clock counter. | |
static void | enterStage (const std::string &stageName) |
Declare that you enter new stage. | |
static void | leaveStage (const std::string &stageName) |
Declare that you leave a stage. | |
static std::string | tab (void) |
returns tab spaces. | |
static std::string | tab (int extra) |
returns tab spaces with extra spaces | |
static int | level (void) |
returns the debug level. | |
static int | level (int newLevel, bool thisStageOnly=false) |
sets and returns the debug level. | |
TRGOpticalLink (const std::string &name, const TRGClock &) | |
Constructor. | |
virtual | ~TRGOpticalLink () |
Destructor. | |
TRGPoint2D () | |
Constructor. | |
TRGPoint2D (double, double) | |
Constructor. | |
TRGPoint2D (const HepGeom::Point3D< double > &) | |
Constructor. | |
TRGPoint2D (const Vector3D &) | |
Constructor. | |
TRGPoint2D (const CLHEP::Hep3Vector &) | |
Constructor. | |
virtual | ~TRGPoint2D () |
Destructor. | |
TRGSignal (const TRGClock &=Belle2_GDL::GDLSystemClock) | |
Constructor. | |
TRGSignal (const TRGTime &t0, const TRGTime &t1) | |
Constructor with clock and timing(t0 leading, t1 trailing). | |
TRGSignal (const TRGClock &c, int t0, int t1) | |
Constructor with clock and timing(t0 leading, t1 trailing). | |
TRGSignal (const TRGClock &c, double t0, double t1) | |
Constructor with clock and timing(t0 leading, t1 trailing). | |
TRGSignal (const std::string &name, const TRGClock &=Belle2_GDL::GDLSystemClock) | |
Constructor with name. | |
TRGSignal (const TRGSignal &) | |
Copy constructor. | |
TRGSignal (const TRGTime &) | |
Constructor. | |
virtual | ~TRGSignal () |
Destructor. | |
void | dump (const std::string &message="", const std::string &pre="") const |
dumps contents. | |
TRGSignal | operator& (const TRGSignal &) const |
returns AND result. | |
TRGSignal & | operator&= (const TRGSignal &) |
returns AND result. | |
TRGSignal | operator| (const TRGSignal &) const |
returns OR result. | |
TRGSignal & | operator|= (const TRGSignal &) |
returns OR result. | |
static std::vector< TRGTime > | orOperation (const std::vector< TRGTime > &) |
Or operation. | |
TRGSignal & | widen (unsigned width) |
returns widen signals. Signals wider than "width" will be untouched. | |
std::vector< int > | stateChanges (void) const |
returns a list of clock position of state change. | |
const TRGClock & | clock (const TRGClock &) |
changes clock. | |
unsigned | width (unsigned i=0) const |
returns width of i'th signal (i=0,1,2,...). | |
const TRGSignal & | set (int t0, int t1, bool state=true) |
makes a pulse with leading edge at clock t0 and with trailing edge at clock t1. | |
const TRGSignal & | unset (int t0, int t1) |
clear(or unset) with leading edge at clock t0 and with trailing edge at clock t1. | |
void | sort (void) |
Sort operation. | |
bool | consistencyCheck (void) const |
Self-consitency check. True is return if something wrong. | |
const TRGSignal & | invert (void) |
makes signal inverted. | |
bool | operator== (const TRGSignal &) const |
returns true if two are the same. | |
TRGSignalBundle (const TRGClock &) | |
Default constructor. | |
TRGSignalBundle (const std::string &name, const TRGClock &) | |
Constructor with name. | |
TRGSignalBundle (const std::string &name, const TRGClock &clock, const TRGSignalBundle &input, const unsigned outputBitSize, TRGState(*packer)(const TRGState &)) | |
Constructor with a packer. | |
TRGSignalBundle (const std::string &name, const TRGClock &clock, const TRGSignalBundle &input, const unsigned outputBitSize, const unsigned registerBitSize, TRGState(*packer)(const TRGState &in, TRGState ®isters, bool &logicStillActive)) | |
Constructor with a packer which can handle multiple clock states. | |
virtual | ~TRGSignalBundle () |
Destructor. | |
void | dump (const std::string &message="", const std::string &pre="") const |
dumps contents. | |
bool | active (void) const |
returns true if there is a signal. | |
std::vector< int > | stateChanges (void) const |
returns a list of clock position of state change. | |
TRGState | state (int clockPosition) const |
returns state at given clock position. | |
const TRGClock & | clock (const TRGClock &) |
changes clock. | |
TRGSignal | ored (void) const |
returns signal of all ORed. | |
void | dumpCOE (const std::string &fileName="", int start=0, int stop=0) const |
makes coe output. | |
TRGSignalVector (const std::string &name, const TRGClock &, unsigned size=0) | |
Default constructor. | |
TRGSignalVector (const TRGSignalVector &) | |
Copy constructor. | |
TRGSignalVector (const TRGSignal &) | |
Constructor. | |
virtual | ~TRGSignalVector () |
Destructor. | |
void | dump (const std::string &message="", const std::string &pre="") const |
dumps contents. | |
TRGSignalVector & | operator+= (const TRGSignal &) |
appends TRGSignal. | |
TRGSignalVector & | operator+= (const TRGSignalVector &) |
appends TRGSignalVector. | |
bool | active (void) const |
returns true if there is a signal. | |
bool | active (int clockPosition) const |
returns true if there is a signal at clock position. | |
std::vector< int > | stateChanges (void) const |
returns a list of clock position of state change. | |
TRGState | state (int clockPosition) const |
returns state at given clock position. | |
const TRGClock & | clock (const TRGClock &) |
changes clock. | |
const TRGSignalVector & | set (const TRGState &, int clockPosition) |
sets state at given clock. | |
bool | operator== (const TRGSignalVector &) const |
compare two TRGSignalVectors. | |
TRGState (unsigned bitSize=0) | |
Default constructor. | |
TRGState (unsigned bitSize, unsigned value) | |
Constructor with unsigned. | |
TRGState (unsigned bitSize, const bool *const states) | |
Constructor. | |
TRGState (std::vector< bool > states) | |
Constructor. | |
TRGState (std::vector< unsigned > &states, unsigned order) | |
Constructor. order: 0=>inVector[0] is lsb. 1=>inVector[0] is msb. | |
TRGState (const char *, unsigned type) | |
Constructor. type: 0-> binary, 1->hex. | |
virtual | ~TRGState () |
Destructor. | |
void | dump (const std::string &message="", const std::string &pre="") const |
dumps contents. | |
TRGState & | operator+= (const TRGState &) |
appends TRGState (as MSB). | |
TRGState | subset (unsigned i, unsigned n) const |
returns subset from i with n bits. | |
TRGState & | operator= (const TRGState &) |
Copy operator. | |
bool | operator< (const TRGState &) const |
Copy operator. | |
TRGTime (const TRGTime &) | |
Copy constructor. | |
TRGTime (double timing, bool edge, const TRGClock &clock, const std::string &name="signal") | |
Constructor with clock. | |
TRGTime (int clockPosition, bool edge, const TRGClock &clock, const std::string &name="signal") | |
Constructor with clock. | |
virtual | ~TRGTime () |
Destructor. | |
TRGSignal | operator& (const TRGTime &) const |
adding two TRGTime. A result is TRGSignal. | |
TRGSignal | operator& (const TRGSignal &) const |
adding two TRGTime. A result is TRGSignal. | |
TRGSignal | operator| (const TRGTime &) const |
oring two TRGTime. A result is TRGSignal. | |
TRGSignal | operator| (const TRGSignal &) const |
oring two TRGTime. A result is TRGSignal. | |
void | dump (const std::string &message="", const std::string &pre="") const |
dumps contents. | |
static bool | sortByTime (const TRGTime &a, const TRGTime &b) |
returns true if a is older than b. | |
const TRGClock & | clock (const TRGClock &) |
changes clock. | |
static std::string | dateString (void) |
returns date string. | |
static std::string | dateStringF (void) |
returns date string for filename. | |
static std::string | itostring (int i) |
converts int to string. (Use boost::lexical_cast) | |
static std::string | dtostring (double d, unsigned int precision) |
converts double to string. | |
static std::string | carstring (const std::string &s) |
CERNLIB car. | |
static std::string | cdrstring (const std::string &s) |
CERNLIB cdr. | |
static void | bitDisplay (unsigned) |
Dumps bit contents to cout. | |
static void | bitDisplay (unsigned val, unsigned firstDigit, unsigned lastDigit) |
Dumps bit contents to cout. | |
static std::string | streamDisplay (unsigned, unsigned firstDigit, unsigned lastDigit) |
Dumps bit stream in string. | |
static std::string | streamDisplay (unsigned) |
Dumps bit stream in string. | |
Variables | |
const double | M_PI2 = 2. * M_PI |
2*PI | |
const double | M_PI4 = 4. * M_PI |
4*PI | |
const double | M_PI8 = 8. * M_PI |
8*PI | |
const TRGCDCLayer * | TRGCDCUndefinedLayer |
TRGCDCUndefinedLayer declaration. | |
const int | ntrgline = 18 |
set the total number of trigger lines and prescalefactor | |
double | scalef_phase2 [ntrgline] = {1, 1, 20, 1, 1, 1, 1, 1, 1, 1, 1, 10, 10, 1, 1, 1, 1, 1} |
prescale factor for phase2 | |
double | scalef_phase3 [ntrgline] = {1, 1, 20, 2, 1, 1, 1, 1, 2, 1, 1, 20, 20, 1, 5, 1, 3, 5} |
prescale factor for phase3 | |
const HepGeom::Point3D< double > | ORIGIN |
Origin 3D point. | |
static const TRGCDCCircleFitter | _fitter = TRGCDCCircleFitter("TRGCDCCircle Default Fitter") |
Default fitter. | |
static const double | ConstantAlpha = 222.376063 |
Constant alpha for uniform field. | |
static const std::string | invalidhelix |
string of invalid helix | |
static CLHEP::HepVector | ms_amin |
limits for helix parameters | |
static CLHEP::HepVector | ms_amax |
limits for helix parameters | |
static bool | ms_check_range |
range in checked or not | |
static bool | ms_throw_exception |
throw exception or not | |
static bool | ms_print_debug |
print debug info or not | |
static bool | ms_smallcell |
ms_smallcell | |
static bool | ms_superb |
ms_superb | |
static unsigned | _nL = 56 |
...Buffers... | |
static unsigned | _nSL = 9 |
...Buffers... | |
static unsigned | _nSLA = 5 |
...Buffers... | |
static unsigned * | _nHitsSL = 0 |
...Buffers... | |
static std::vector< TRGCDCLink * > | _all |
Keeps all TRGCDCLinks created by new(). | |
static const double | BELLE_ALPHA |
belle alpha | |
static std::map< std::string, TRGCDCLUT > | dictionary |
list of LUTs, to avoid reading LUT data 2336 times | |
static std::vector< TRGCDCSegmentHit * > | _all |
Keeps all TRGCDCSegmentHit created by new(). | |
static unsigned | _nTSF = 0 |
# of TSFs. | |
static std::vector< unsigned > | _n |
# of TSFs in super layer i. | |
static TRGState | _ts |
Keeps TS hit info. | |
static TRGCDCTrackMC * | _undefined = new TRGCDCTrackMC() |
returns a pointer to gen_hepevt. | |
static std::vector< const TRGCDCTrackMC * > | _list = std::vector<const TRGCDCTrackMC*>() |
vector of pointers to TRGCDCTrackMC | |
static TRGCDC * | _cdc = 0 |
CDC trigger singleton. | |
static std::vector< const TRGCDCTrack * > | _list = vector<const TRGCDCTrack*>() |
a vector to keep all TRGCDCTrack objects. | |
static std::vector< TRGCDCWireHit * > | _all |
Keeps all TRGCDCWireHit created by new(). | |
static TRGGDL * | _gdl = 0 |
GDL singleton. | |
static void(* | _ftd )(bool *out, const bool *in) |
Function to simulate final trigger decision. | |
static TRGGRL * | _grl = 0 |
GRL singleton. | |
static std::vector< std::string > | _stages |
Storage for stages. | |
static int | _level = 0 |
Debug level. 0:do nothing, 1:show you flow, 2:show you detail, 10:show you very detail. | |
static const unsigned | _su = sizeof(unsigned) |
size of unsigned. | |
static const unsigned | _bsu = 8 * sizeof(unsigned) |
bit size of unsigned. | |
#define N_LAYERS 6 |
number of layers
Definition at line 30 of file HoughPlaneMulti.h.
#define TRGCDCFitAlreadyFitted 1; |
#define TRGCDCFitErrorFewHits -1; |
#define TRGCDCFitFailed -2; |
#define TRGCDCFitUnavailable -3; |
typedef boost::multi_array<c2elem, 2> c2array |
Definition at line 35 of file NDFinderDefs.h.
typedef unsigned short c2elem |
TS-Id to 1/32 phi-sector mapping is stored in a 2D array.
Definition at line 34 of file NDFinderDefs.h.
typedef c2array::index c2index |
Definition at line 36 of file NDFinderDefs.h.
typedef boost::multi_array<c3elem, 3> c3array |
Definition at line 30 of file NDFinderDefs.h.
typedef unsigned short c3elem |
The Hough space is a 3D array (omega, phi, theta)
Definition at line 29 of file NDFinderDefs.h.
typedef c3array::index c3index |
Definition at line 31 of file NDFinderDefs.h.
typedef boost::multi_array<c5elem, 5> c5array |
Definition at line 24 of file NDFinderDefs.h.
typedef unsigned short c5elem |
Store hit patterns in a 5D array (hitid, prio, omega, phi, theta)
Definition at line 23 of file NDFinderDefs.h.
typedef c5array::index c5index |
Definition at line 25 of file NDFinderDefs.h.
typedef std::vector<c3index> cell_index |
Definition at line 37 of file NDFinderDefs.h.
typedef HepGeom::Point3D< double > Point3D |
typedef unsigned short ushort |
Definition at line 38 of file NDFinderDefs.h.
|
inline |
sets helix parameters.
|
inline |
|
static |
Absolute TRGCDCJSignal. Removes 1 bit if signed or minus unsigned.
Definition at line 1562 of file JSignal.cc.
double absoluteTime | ( | int | clockPosition | ) | const |
|
private |
|
private |
|
private |
|
inline |
bool active | ( | int | clockPosition | ) | const |
returns true if there is a signal at clock position.
Definition at line 120 of file SignalVector.cc.
|
inline |
|
inline |
bool active | ( | void | ) | const |
returns true if there is a signal.
Definition at line 202 of file SignalBundle.cc.
bool active | ( | void | ) | const |
returns true if there is a signal.
Definition at line 111 of file SignalVector.cc.
|
inline |
|
inlineoverrideprotectedvirtual |
Add to a cell.
Implements TRGCDCHoughPlaneBase.
Definition at line 166 of file HoughPlane.h.
|
inlineoverrideprotectedvirtual |
Add to a cell.
Implements TRGCDCHoughPlaneBase.
Definition at line 211 of file HoughPlaneBoolean.h.
void add_point | ( | double | x, |
double | y, | ||
double | w = 1 |
||
) |
member functions to add point
Definition at line 602 of file Lpav.cc.
void add_point_frac | ( | double | x, |
double | y, | ||
double | w, | ||
double | f | ||
) |
member functions to add point
Definition at line 621 of file Lpav.cc.
|
staticprivate |
Add TSF ID to timing signal vector for the output.
Definition at line 1937 of file TrackSegmentFinder.cc.
|
inline |
|
inline |
set signal |= newSignal
Definition at line 176 of file Wire.h.
|
inline |
sets a pointer to a CDCTriggerSegmentHit.
Definition at line 244 of file Segment.h.
|
inline |
returns true if a given wire is adjacent.
Definition at line 192 of file Wire.h.
void append | ( | bool | a | ) |
appends a bit to a stream.
Definition at line 98 of file BitStream.cc.
void append | ( | const std::vector< TRGCDCLink * > & | links | ) |
appends links.
Definition at line 115 of file TrackBase.cc.
|
inline |
appends a signal to data.
Definition at line 108 of file OpticalLink.h.
|
inline |
appends a bit to a stream.
Definition at line 157 of file BitStream.h.
void append | ( | TRGCDCLink * | a | ) |
appends a link.
Definition at line 108 of file TrackBase.cc.
|
inline |
appends a bit to a stream.
Definition at line 167 of file BitStream.h.
|
inline |
appends a signal to header data.
Definition at line 94 of file OpticalLink.h.
|
inline |
appends an input Aurora channel.
Definition at line 144 of file Board.h.
|
inline |
appends an output Aurora channel.
Definition at line 151 of file Board.h.
|
inline |
appends a signal to trailer data.
Definition at line 101 of file OpticalLink.h.
int approach | ( | TRGCDCLink & | link, |
bool | sagCorrection = false |
||
) | const |
calculates the closest approach to a wire in real space. Results are stored in TLink. Return value is negative if error happened.
Definition at line 94 of file TRGCDCTrack.cc.
|
virtual |
calculate closest approach. Error was happened if return value is not zero.
Reimplemented in TRGCDCCircle.
Definition at line 135 of file TrackBase.cc.
|
overridevirtual |
calculate closest approach. Error was happened if return value is not zero.
Reimplemented from TRGCDCTrackBase.
Definition at line 73 of file Circle.cc.
|
inlineprivate |
private const member functions
Definition at line 278 of file Lpar.h.
TRGCDCJSignal & assignTo | ( | TRGCDCJSignal const & | rhs, |
int | targetClock | ||
) |
Assign operator with setting target clock.
Definition at line 266 of file JSignal.cc.
TRGCDCJSignal & assignTo | ( | TRGCDCJSignal const & | rhs, |
int | targetClock, | ||
std::string & | finalCode | ||
) |
Assign operator with setting target clock with outputing final code.
Definition at line 172 of file JSignal.cc.
|
static |
Writes the assign vhdl code.
Definition at line 1948 of file JSignal.cc.
|
inline |
returns true if this wire is in an axial layer.
|
inline |
|
static |
returns axial hits.
Definition at line 385 of file Link.cc.
vector< const TCWHit * > axialHits | ( | void | ) | const |
returns a list of axial hits.
'update()' must be called before calling this function.
Definition at line 1679 of file TRGCDC.cc.
|
inline |
|
inline |
returns a list of TRGCDCSegmentHit in a axial super layer N.
'simulate()' must be called before calling this function
Definition at line 1014 of file TRGCDC.h.
|
inline |
returns id of axial or stereo layer id.
Definition at line 270 of file Cell.h.
|
inline |
returns id of axial or stereo id.
Definition at line 217 of file Layer.h.
unsigned axialStereoSuperLayerId | ( | unsigned | axialStereo, |
unsigned | axialStereoLayerId | ||
) | const |
returns axialStereo super layer ID. This function is expensive.
Definition at line 1865 of file TRGCDC.cc.
|
inline |
returns id of axial or stereo super layer id.
Definition at line 277 of file Cell.h.
|
inline |
returns id of axial or stereo super layer id.
Definition at line 224 of file Layer.h.
|
inline |
position in backward endplate.
Definition at line 331 of file Cell.h.
|
inline |
returns position in backward endplate.
|
inline |
sets and returns z componet of the magnetic field.
Definition at line 346 of file Helix.h.
|
inline |
|
inline |
returns true if given position is active.
Definition at line 197 of file BitStream.h.
|
static |
Dumps bit contents to cout.
Definition at line 115 of file Utilities.cc.
|
static |
Dumps bit contents to cout.
Definition at line 109 of file Utilities.cc.
void buffersVhdlCode | ( | ) |
Function to print buffer VHDL code.
Definition at line 150 of file JSignalData.cc.
|
inline |
returns a pointer to char's.
Definition at line 187 of file BitStream.h.
int calBitwidth | ( | ) | const |
Calculates the bit width.
Definition at line 1461 of file JSignal.cc.
int calBitwidth | ( | int | type, |
signed long long | minInt, | ||
signed long long | maxInt | ||
) |
Calculates the bit width using the arguments.
Definition at line 1469 of file JSignal.cc.
|
staticprivate |
Calculate Cos Sin ?
Calculate phi
Definition at line 412 of file HoughFinder.cc.
|
private |
a function to execute calculation of matching
Definition at line 38 of file TRGGRLMatch.cc.
void calculate_average | ( | double | x, |
double | y, | ||
double | w = 1 |
||
) |
member functions for calculation
Definition at line 106 of file Lpav.cc.
void calculate_average | ( | void | ) |
member functions for calculation
void calculate_average3 | ( | double | x, |
double | y, | ||
double | w = 1 |
||
) |
void calculate_average3 | ( | void | ) |
|
private |
private member function calculate_average_n
Definition at line 145 of file Lpav.cc.
double calculate_lpar | ( | void | ) |
member functions for calculation
Definition at line 343 of file Lpav.cc.
double calculate_lpar3 | ( | void | ) |
member functions for calculation
Definition at line 397 of file Lpav.cc.
int calFinishClock | ( | ) | const |
Claculates the clock tick where the signal is valid.
Definition at line 1477 of file JSignal.cc.
|
static |
Calculates integer value with unit of a TRGCDCJSignal.
Definition at line 1662 of file JSignal.cc.
signed long long calMaxInteger | ( | ) | const |
Calculate max value for a binary number.
Definition at line 1535 of file JSignal.cc.
signed long long calMinInteger | ( | ) | const |
Calculate min value for a binary number.
Definition at line 1548 of file JSignal.cc.
|
static |
Utility functions.
Definition at line 895 of file Fitter3D.cc.
|
staticprivate |
Utility functions.
Definition at line 400 of file HoughFinder.cc.
|
staticprivate |
Calculate Cos Sin ?
Definition at line 440 of file HoughFinder.cc.
int calType | ( | ) | const |
Calculated what type the signal is.
Definition at line 1447 of file JSignal.cc.
int calType | ( | double | minValue | ) | const |
Calculated the type using the argument.
Definition at line 1454 of file JSignal.cc.
|
static |
Calculates vhdl bitwidth and type for operation.
Definition at line 1667 of file JSignal.cc.
|
static |
CERNLIB car.
Definition at line 68 of file Utilities.cc.
|
static |
CERNLIB cdr.
Definition at line 88 of file Utilities.cc.
const TRGCDCCell & cell | ( | int | id | ) | const |
returns a pointer to a cell. 'id' can be negative or 'id' can be greater than 'nCells()'.
Definition at line 122 of file Layer.cc.
|
inlinevirtual |
returns a pointer to a TRGCDCWire.
|
inline |
returns a pointer to a cell.
Definition at line 684 of file Link.h.
|
inline |
|
inline |
|
inline |
CLHEP::HepVector center | ( | void | ) | const |
|
inline |
|
inline |
|
inline |
returns a center wire.
|
inline |
sets and returns charge.
Definition at line 255 of file TrackBase.h.
|
inline |
sets and returns charge for this plane.
Definition at line 236 of file HoughPlaneBase.h.
|
inline |
returns charge for this plane.
Definition at line 229 of file HoughPlaneBase.h.
|
inline |
|
inlineprivate |
void checkDatabase | ( | ) | const |
Check the content of the DBObjects used by this class.
Definition at line 1001 of file TRGGDL.cc.
void checkInt | ( | const std::string & | name | ) | const |
Checks underflow or overflow for TRGCDCJSignal.
Definition at line 2173 of file JSignal.cc.
|
private |
check validity
Definition at line 815 of file Helix.cc.
double chi_deg | ( | ) | const |
|
inline |
returns a pointer to i'th child.
Definition at line 145 of file TrackMC.h.
|
static |
Choose method.
Definition at line 793 of file JSignal.cc.
|
static |
Choose with target clock.
Definition at line 758 of file JSignal.cc.
|
static |
Chooes method. Also has input for target min and target max signal.
Definition at line 752 of file JSignal.cc.
|
static |
Case method.
Reference is what is used to determine. Target is what is going to be assigned. Data is (Assignment, From, To)... (Assignment). Last is default. Choose with target clock. Also has input for target min and target max signal.
Definition at line 621 of file JSignal.cc.
|
static |
Writes the choose vhdl code.
Definition at line 2004 of file JSignal.cc.
void circle | ( | double | x1, |
double | y1, | ||
double | x2, | ||
double | y2, | ||
double | x3, | ||
double | y3 | ||
) |
circle
Definition at line 77 of file Lpar.cc.
|
virtual |
returns Point2D(phi, r) of a circle in real plane.
Definition at line 49 of file HoughTransformationCircle.cc.
|
private |
classify hits.
Definition at line 1604 of file TRGCDC.cc.
|
inline |
|
inline |
Clears only specified layer ID.
Definition at line 167 of file HoughPlaneMulti2.h.
|
inlinevirtual |
clears information.
Reimplemented in TRGCDCSegment, and TRGCDCWire.
void clear | ( | void | ) |
clears all TRGCDC hit information.
Definition at line 942 of file TRGCDC.cc.
void clear | ( | void | ) |
void clear | ( | void | ) |
|
inline |
|
inline |
clears contents.
Definition at line 265 of file Signal.h.
|
inline |
|
inlineoverridevirtual |
clear all entries.
Implements TRGCDCHoughPlaneBase.
Reimplemented in TRGCDCHoughPlaneMulti, and TRGCDCHoughPlaneMulti2.
Definition at line 115 of file HoughPlane.h.
|
inlineoverridevirtual |
clear all entries.
Implements TRGCDCHoughPlaneBase.
Definition at line 158 of file HoughPlaneBoolean.h.
|
inlineoverridevirtual |
Clears all entries.
Reimplemented from TRGCDCHoughPlane.
Definition at line 94 of file HoughPlaneMulti.h.
|
inlineoverridevirtual |
Clears all entries and regions.
Reimplemented from TRGCDCHoughPlane.
Definition at line 143 of file HoughPlaneMulti2.h.
|
overridevirtual |
clears information.
Reimplemented from TRGCDCCell.
Definition at line 132 of file Segment.cc.
|
overridevirtual |
clears information.
Reimplemented from TRGCDCCell.
Definition at line 370 of file Wire.cc.
|
inlinepure virtual |
Clears all entries.
Implemented in TRGCDCHoughPlane, TRGCDCHoughPlaneBoolean, TRGCDCHoughPlaneMulti, and TRGCDCHoughPlaneMulti2.
Definition at line 499 of file HoughPlaneBase.h.
|
inlinestaticprivate |
|
inline |
Clears entires only.
Definition at line 123 of file HoughPlane.h.
|
inline |
Clears entires only.
Definition at line 155 of file HoughPlaneMulti2.h.
|
inline |
Clears regions.
Definition at line 491 of file HoughPlaneBase.h.
changes clock.
Definition at line 359 of file Signal.cc.
changes clock.
Definition at line 258 of file SignalBundle.cc.
changes clock.
Definition at line 168 of file SignalVector.cc.
changes clock.
Definition at line 121 of file Time.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
const TRGSignalVector & clockCounter | ( | void | ) | const |
returns the clock counter.
Definition at line 166 of file Clock.cc.
|
inline |
|
inline |
|
inline |
|
inline |
returns Aurora user clock for output.
|
static |
Combines arguments of signals.
Definition at line 1734 of file JSignal.cc.
|
static |
Compare two signals.
Definition at line 1169 of file JSignal.cc.
|
inline |
|
inline |
returns configuration file name.
|
inline |
|
private |
configures trigger modules for firmware simulation.
Definition at line 2450 of file TRGCDC.cc.
|
private |
configures trigger modules for firmware simulation.
Definition at line 695 of file TRGGDL.cc.
|
private |
|
inline |
|
private |
Self-consitency check. True is return if something wrong.
Definition at line 452 of file Signal.cc.
unsigned contributor | ( | unsigned | i = 0 | ) | const |
returns i'th contributor of MCParticle.
Definition at line 41 of file Relation.cc.
|
virtual |
converts Point2D(r, phi) in real plane into Point2D(r, phi) in Hough plane.
Reimplemented in TRGCDCHoughTransformationCircle.
Definition at line 34 of file HoughTransformation.cc.
|
overridevirtual |
converts Point2D(phi, r) in real plane into Point2D(phi, r) in Hough plane.
Reimplemented from TRGCDCHoughTransformation.
Definition at line 56 of file HoughTransformationCircle.cc.
|
inline |
|
static |
separate cores and non-cores.
Definition at line 457 of file Link.cc.
|
inline |
return cos(phi0).
CLHEP::HepSymMatrix cov | ( | int | inv = 0 | ) | const |
const member function cov
Definition at line 474 of file Lpav.cc.
CLHEP::HepSymMatrix cov_c | ( | int | inv = 0 | ) | const |
const member function cov_c
Definition at line 507 of file Lpav.cc.
|
explicit |
|
inline |
void cross | ( | const TRGPoint2D & | x0, |
const TRGPoint2D & | x1, | ||
unsigned & | nFound, | ||
TRGPoint2D | crossPoint[2] | ||
) | const |
returns cross-points.
Definition at line 29 of file Area2D.cc.
|
inline |
returns curvurture.
|
inline |
const member functions
Definition at line 255 of file Lpar.h.
|
inlineprivate |
|
inline |
|
private |
Data simulation.
Definition at line 360 of file TRGGDL.cc.
|
static |
returns date string.
Definition at line 26 of file Utilities.cc.
|
static |
returns date string for filename.
Definition at line 38 of file Utilities.cc.
|
inline |
|
inline |
|
inline |
|
inline |
returns drift distance error.
|
inline |
|
inline |
|
inline |
sets and returns debug level.
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
print debug info
Makes bit pattern(state) using input bit pattern(state).
Definition at line 830 of file TRGGDL.cc.
CLHEP::HepMatrix del4MDelA | ( | double | phi, |
double | mass | ||
) | const |
Mathmatical functions.
Definition at line 671 of file Helix.cc.
CLHEP::HepMatrix del4MXDelA | ( | double | phi, |
double | mass | ||
) | const |
Mathmatical functions.
Definition at line 719 of file Helix.cc.
CLHEP::HepMatrix delApDelA | ( | const CLHEP::HepVector & | ap | ) | const |
Mathmatical functions.
Definition at line 509 of file Helix.cc.
CLHEP::HepMatrix delMDelA | ( | double | phi | ) | const |
Mathmatical functions.
Definition at line 633 of file Helix.cc.
double delta_chisq | ( | double | x, |
double | y, | ||
double | w = 1 |
||
) | const |
const member function for delta chisq
Definition at line 715 of file Lpav.cc.
CLHEP::HepMatrix delXDelA | ( | double | phi | ) | const |
Mathmatical functions.
Definition at line 578 of file Helix.cc.
|
inline |
returns direction vector after rotating angle dPhi in phi direction.
Definition at line 264 of file Helix.h.
|
inline |
|
inline |
returns vector from entrance to exit point.
Definition at line 121 of file WireHitMC.h.
|
inline |
returns distance between point on wire and on track.
|
inline |
|
overridevirtual |
returns true if Y diverges in given region.
Implements TRGCDCHoughTransformation.
Definition at line 62 of file HoughTransformationCircle.cc.
|
private |
private const member functions
Definition at line 130 of file Lpar.cc.
|
static |
Does 2D fit. Returns 0 if fit is done successfully. m_mBool should have fIsPrintError, fmcLR, fLRLUT, fmcLR, f2DFit, f2DFitDrift. m_mConstD should have Trg_PI. m_mConstV should have nWires, driftPhi2DError, wirePhi2DError, rr, rr2D.
Definition at line 1259 of file Fitter3D.cc.
|
private |
do track finding. (kaiyu version)
Definition at line 800 of file HoughFinder.cc.
|
private |
do track finding and fitting (Kaiyu version).
Definition at line 783 of file HoughFinder.cc.
|
private |
do track finding and fitting (Trasan version).
Definition at line 766 of file HoughFinder.cc.
|
private |
do track finding. (trasan version)
Definition at line 196 of file HoughFinder.cc.
|
private |
do track fitting. (kaiyu original)
LUT values
Definition at line 857 of file HoughFinder.cc.
|
private |
do track fitting. (old trasan version)
Definition at line 307 of file HoughFinder.cc.
void doit | ( | int | ver, |
bool | |||
) |
Calculate T0 based on ver.
Definition at line 95 of file EventTime.cc.
void doit | ( | std::vector< TRGCDCSegment * > & | tss, |
const bool | trackSegmentClockSimulation, | ||
std::vector< TRGCDCSegmentHit * > & | segmentHits, | ||
std::vector< TRGCDCSegmentHit * > * | segmentHitsSL | ||
) |
Member functions of doing TSF.
Definition at line 133 of file TrackSegmentFinder.cc.
int doit | ( | std::vector< TRGCDCTrack * > & | trackList | ) |
Does track fitting.
Definition at line 213 of file Fitter3D.cc.
void doit | ( | std::vector< TRGCDCTrack * > & | trackList | ) |
Finds tracks using tracklist. Has parameter to choose between perfect and original finder.
Definition at line 230 of file Hough3DFinder.cc.
int doit | ( | std::vector< TRGCDCTrack * > & | trackListClone, |
std::vector< TRGCDCTrack * > & | trackList | ||
) |
do track finding.
Definition at line 65 of file PerfectFinder.cc.
void doit | ( | std::vector< TRGCDCTrack * > const & | trackList2D, |
std::vector< TRGCDCTrack * > & | trackList3D | ||
) |
Member functions.
Finds tracks using tracklist2D and outputs to trackList3D. Has parameter to choose between perfect and original finder.
Definition at line 220 of file Hough3DFinder.cc.
int doitComplex | ( | std::vector< TRGCDCTrack * > & | trackList | ) |
Does track fitting using JSignals.
Definition at line 460 of file Fitter3D.cc.
void doitFind | ( | std::vector< TRGCDCTrack * > & | trackList | ) |
Finds tracks using tracklist.
Definition at line 244 of file Hough3DFinder.cc.
void doitPerfectly | ( | std::vector< TRGCDCTrack * > & | trackList | ) |
Perfect 3D finder for a tracklist.
Definition at line 565 of file Hough3DFinder.cc.
|
private |
do perfect finding.
Definition at line 73 of file PerfectFinder.cc.
bool doprescale | ( | int | f | ) |
int doprescale | ( | int | f | ) |
select one event in number of prescale factor events
Definition at line 51 of file L1TriggerMenuv0.cc.
|
inline |
|
inline |
sets and returns dPhi to the closest point.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
converts double to string.
Definition at line 60 of file Utilities.cc.
void dump | ( | void | ) |
Print variables for LUT.
Definition at line 413 of file JLUT.cc.
void dump | ( | void | ) | const |
Methods.
Definition at line 539 of file JSignal.cc.
void dump | ( | const std::string & | message | ) | const |
dumps debug information.
Definition at line 767 of file TRGCDC.cc.
void dump | ( | const std::string & | message | ) | const |
dumps debug information.
Definition at line 184 of file TRGGDL.cc.
void dump | ( | const std::string & | message | ) | const |
void dump | ( | const std::string & | message = "" , |
const std::string & | pre = "" |
||
) | const |
dumps contents.
"message" is to select information to dump. "pre" will be printed in head of each line.
Definition at line 146 of file FrontEnd.cc.
void dump | ( | const std::string & | message = "" , |
const std::string & | pre = "" |
||
) | const |
dumps contents. "message" is to select information to dump. "pre" will be printed in head of each line.
void dump | ( | const std::string & | message = "" , |
const std::string & | pre = "" |
||
) | const |
dumps contents.
"message" is to select information to dump. "pre" will be printed in head of each line.
Definition at line 64 of file Tracker2D.cc.
void dump | ( | const std::string & | message = "" , |
const std::string & | pre = "" |
||
) | const |
dumps contents. "message" is to select information to dump. "pre" will be printed in head of each line.
Definition at line 76 of file BitStream.cc.
void dump | ( | const std::string & | message = "" , |
const std::string & | pre = "" |
||
) | const |
dumps contents.
"message" is to select information to dump. "pre" will be printed in head of each line.
Definition at line 42 of file Board.cc.
void dump | ( | const std::string & | message = "" , |
const std::string & | pre = "" |
||
) | const |
dumps contents.
"message" is to select information to dump. "pre" will be printed in head of each line.
Definition at line 88 of file Clock.cc.
void dump | ( | const std::string & | message = "" , |
const std::string & | pre = "" |
||
) | const |
dumps contents.
"message" is to select information to dump. "pre" will be printed in head of each line.
Definition at line 139 of file Signal.cc.
void dump | ( | const std::string & | message = "" , |
const std::string & | pre = "" |
||
) | const |
dumps contents.
"message" is to select information to dump. "pre" will be printed in head of each line.
Definition at line 193 of file SignalBundle.cc.
void dump | ( | const std::string & | message = "" , |
const std::string & | pre = "" |
||
) | const |
dumps contents.
"message" is to select information to dump. "pre" will be printed in head of each line.
Definition at line 64 of file SignalVector.cc.
void dump | ( | const std::string & | message = "" , |
const std::string & | pre = "" |
||
) | const |
dumps contents.
"message" is to select information to dump. "pre" will be printed in head of each line.
Definition at line 199 of file State.cc.
void dump | ( | const std::string & | message = "" , |
const std::string & | pre = "" |
||
) | const |
dumps contents.
"message" is to select information to dump. "pre" will be printed in head of each line.
Definition at line 87 of file Time.cc.
|
virtual |
dumps debug information.
Reimplemented in TRGCDCSegment, and TRGCDCWire.
Definition at line 52 of file Cell.cc.
|
virtual |
dumps debug information.
Reimplemented in TRGCDCSegmentHit.
Definition at line 69 of file CellHit.cc.
void dump | ( | const std::string & | message = std::string("") , |
const std::string & | prefix = std::string("") |
||
) | const |
|
virtual |
dumps debug information.
Reimplemented in TRGCDCHoughPlaneMulti, and TRGCDCHoughPlaneMulti2.
Definition at line 223 of file HoughPlaneBase.cc.
void dump | ( | const std::string & | message = std::string("") , |
const std::string & | prefix = std::string("") |
||
) | const |
dumps debug information.
Definition at line 103 of file Layer.cc.
void dump | ( | const std::string & | message = std::string("") , |
const std::string & | prefix = std::string("") |
||
) | const |
dumps debug information.
Definition at line 207 of file Link.cc.
void dump | ( | const std::string & | message = std::string("") , |
const std::string & | prefix = std::string("") |
||
) | const |
Dumps debug information.
Definition at line 156 of file Relation.cc.
|
virtual |
dumps debug information.
Reimplemented in TRGCDCCircle.
Definition at line 65 of file TrackBase.cc.
void dump | ( | const std::string & | message = std::string("") , |
const std::string & | prefix = std::string("") |
||
) | const |
dumps debug information.
Definition at line 81 of file TrackMC.cc.
|
overridevirtual |
dumps debug information.
Reimplemented from TRGCDCTrackBase.
Definition at line 61 of file Circle.cc.
|
inlineoverridevirtual |
dump debug info
Reimplemented from TRGCDCHoughPlaneBase.
Definition at line 119 of file HoughPlaneMulti.h.
|
inlineoverridevirtual |
Dumps debug information.
Reimplemented from TRGCDCHoughPlaneBase.
Definition at line 213 of file HoughPlaneMulti2.h.
|
overridevirtual |
dumps debug information.
Reimplemented from TRGCDCCell.
Definition at line 71 of file Segment.cc.
|
overridevirtual |
dumps debug information.
Reimplemented from TRGCDCCellHit.
Definition at line 71 of file SegmentHit.cc.
|
overridevirtual |
dumps debug information.
Reimplemented from TRGCDCCell.
Definition at line 54 of file Wire.cc.
|
static |
dumps TRGCDCLinks.
Definition at line 225 of file Link.cc.
|
static |
dumps TRGCDCLinks.
Definition at line 214 of file Link.cc.
|
static |
dumps TRGCDCLinks.
Definition at line 353 of file Link.cc.
|
inline |
Dumps debug information.
Definition at line 198 of file HoughPlaneMulti2.h.
void dump | ( | void | ) |
|
private |
dumps debug information.
Definition at line 145 of file Link.cc.
void dump_log | ( | void | ) | const |
Dump all the details of _mosb into a .log file, do it in the end of simulate()
Definition at line 1600 of file FrontEnd.cc.
void dump_log | ( | void | ) | const |
Dump all the details of _mosb into a .log file, do it in the end of simulate()
Definition at line 1092 of file Merger.cc.
void dump_log_inner | ( | void | ) | const |
dump_log for inner Merger
Definition at line 1102 of file Merger.cc.
void dump_log_innerInside | ( | void | ) | const |
Dump all the details of _mosb into a .log file, for innerInside FE.
Definition at line 1611 of file FrontEnd.cc.
void dump_log_innerOutside | ( | void | ) | const |
Dump all the details of _mosb into a .log file, for innerOutside FE.
Definition at line 1668 of file FrontEnd.cc.
void dump_log_outer | ( | void | ) | const |
dump_log for outer Merger
Definition at line 1173 of file Merger.cc.
void dump_log_outerInside | ( | void | ) | const |
Dump all the details of _mosb into a .log file, for outerInside FE.
Definition at line 1718 of file FrontEnd.cc.
void dump_log_outerOutside | ( | void | ) | const |
Dump all the details of _mosb into a .log file, for outerOutside FE.
Definition at line 1771 of file FrontEnd.cc.
void dumpCOE | ( | const std::string & | fileName = "" , |
int | start = 0 , |
||
int | stop = 0 |
||
) | const |
makes coe output.
Definition at line 300 of file SignalBundle.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
returns links which are edges.
This function assumes that all TRGCDCLink's are in the same super layer.
Definition at line 527 of file Link.cc.
float efficiency3D | ( | unsigned | trkID, |
std::map< unsigned, unsigned > & | numTSsParticle | ||
) | const |
returns efficiency of TS for 3D
Definition at line 129 of file Relation.cc.
|
static |
Declare that you enter new stage.
Definition at line 24 of file Debug.cc.
|
inline |
returns an entrance point.
Definition at line 114 of file WireHitMC.h.
|
inlineoverridevirtual |
returns entry in a cell.
Implements TRGCDCHoughPlaneBase.
Definition at line 130 of file HoughPlane.h.
|
inlineoverridevirtual |
returns entry in a cell.
Implements TRGCDCHoughPlaneBase.
Definition at line 175 of file HoughPlaneBoolean.h.
|
inlineoverridevirtual |
returns entry in a cell.
Implements TRGCDCHoughPlaneBase.
Definition at line 138 of file HoughPlane.h.
|
inlineoverridevirtual |
returns count of a cell.
Implements TRGCDCHoughPlaneBase.
Definition at line 192 of file HoughPlaneBoolean.h.
void entryVhdlCode | ( | ) |
Function to print entry VHDL code.
Definition at line 195 of file JSignalData.cc.
|
static |
int extrapolate | ( | double | r, |
double & | phi, | ||
double & | dphi | ||
) | const |
const member function for extrapolation
Definition at line 541 of file Lpav.cc.
void fastClear | ( | void | ) |
void fastClear | ( | void | ) |
float fastestTime | ( | int | clk0 | ) | const |
fastest time in TSHit that is larger of equal to clk0.
Definition at line 405 of file Segment.cc.
float fastestTime | ( | void | ) | const |
return fastest time in TSHit.
Definition at line 387 of file Segment.cc.
|
private |
Make TRGSignals for the fastest timing bits.
Definition at line 1675 of file TrackSegmentFinder.cc.
|
private |
Make TRGSignals for the fastest timing bits.
Definition at line 1289 of file TrackSegmentFinder.cc.
|
private |
Fast simulation.
Definition at line 2064 of file TRGCDC.cc.
|
private |
Fast simulation.
Definition at line 241 of file TRGGDL.cc.
|
private |
int FindAndFit | ( | std::vector< TRGCDCTrack * > & | trackList2D, |
std::vector< TRGCDCTrack * > & | trackList2DFitted | ||
) |
do track finding and fitting (wrapper that can choose between different versions).
Definition at line 755 of file HoughFinder.cc.
unsigned short FindCP1 | ( | vector< unsigned > | a | ) |
...Find center Pattern1 from Pattern 2
Definition at line 236 of file PeakFinder.cc.
|
static |
Finds which axial superlayers has TSs. useAxSL array indicating hit superlayers.
Definition at line 1133 of file Fitter3D.cc.
|
static |
Finds which stereo superlayers has TSs. useStSL array indicating hit superlayers.
Definition at line 1164 of file Fitter3D.cc.
void findNumberOfHitSuperlayersForMcParticles | ( | std::vector< std::vector< const TRGCDCSegmentHit * > > & | p_stTSs, |
std::map< unsigned, unsigned > & | numberTSsForParticle | ||
) |
Finds number of hit superlayers for each mc particle.
Definition at line 593 of file Hough3DFinder.cc.
unsigned FindP1C | ( | vector< unsigned > | a | ) |
...Pattern1 Center...
Definition at line 303 of file PeakFinder.cc.
void findPeaks | ( | const TRGCDCHoughPlaneMulti2 & | hp, |
const unsigned | threshold, | ||
std::vector< std::vector< unsigned > > & | peaks | ||
) | const |
do peak finding. Kaiyu's version using p1p2Methode.
Definition at line 477 of file PeakFinder.cc.
void findPeaksTrasan | ( | TRGCDCHoughPlaneMulti2 & | hp, |
const unsigned | threshold, | ||
const bool | centerIsPeak, | ||
std::vector< unsigned > & | peakSerialIds | ||
) | const |
do peak finding. This is a copy from "trasan".
Definition at line 359 of file PeakFinder.cc.
vector< TRGSignalVector * > findTSHit | ( | TRGSignalVector * | eachInput, |
int | tsid | ||
) |
Use LUT for find TSHit.
output for EvtTime & Low pT tracker module
output for Tracker & N.N
Definition at line 199 of file TrackSegmentFinder.cc.
|
private |
Firmware simulation.
Definition at line 2363 of file TRGCDC.cc.
|
private |
Firmware simulation.
Definition at line 577 of file TRGGDL.cc.
|
private |
|
inline |
returns firmware simulation mode.
|
inline |
returns firmware simulation mode.
|
inline |
returns firmware simulation mode.
|
inline |
returns start clock of the firmware simulation in FE clock.
Definition at line 1112 of file TRGCDC.h.
|
inline |
returns start clock of the firmware simulation in data clock.
Definition at line 1126 of file TRGCDC.h.
|
inline |
returns stop clock of the firmware simulation in FE clock.
Definition at line 1119 of file TRGCDC.h.
|
inline |
returns stop clock of the firmware simulation in data clock.
Definition at line 1133 of file TRGCDC.h.
double fit | ( | void | ) |
member functions for fit
Definition at line 457 of file Lpav.cc.
double fit | ( | double | x, |
double | y, | ||
double | w = 1 |
||
) |
|
overridevirtual |
Fitter.
Implements TRGCDCFitter.
Definition at line 40 of file CircleFitter.cc.
|
virtual |
fits itself by a default fitter. Error was happened if return value is not zero.
Definition at line 97 of file TrackBase.cc.
|
protected |
|
inline |
|
inline |
sets a default fitter.
Definition at line 269 of file TrackBase.h.
|
inline |
returns a pointer to a default fitter.
Definition at line 262 of file TrackBase.h.
|
inline |
returns position in forward endplate.
Definition at line 317 of file Cell.h.
float foundTime | ( | void | ) | const |
return found time in TSHit.
Definition at line 423 of file Segment.cc.
|
inline |
returns frequency in MHz.
|
inline |
void ftd_0_01 | ( | bool * | b, |
const bool * | i | ||
) |
Definition at line 14 of file ftd_0.01.cc.
|
inline |
sets and returns fudge factor for drift time error.
|
inline |
returns fudge factor for drift time error.
|
inline |
|
inline |
double getActual | ( | ) | const |
Get float value of signal.
Definition at line 1392 of file JSignal.cc.
|
private |
Read algorithm data definition.
Definition at line 801 of file TRGGDL.cc.
std::vector< std::pair< std::string, vector< int > > > const getArgumentSignals | ( | ) | const |
Gets the signal names and values that made this signal.
Definition at line 1432 of file JSignal.cc.
double getBitsize | ( | ) | const |
Get bitwidth of signal.
Definition at line 1372 of file JSignal.cc.
TRGCDCJSignalData * getCommonData | ( | ) | const |
Get the sharged JSignalData.
Definition at line 1437 of file JSignal.cc.
|
static |
Get constants for firmwareFit.
Definition at line 1596 of file Fitter3D.cc.
|
inline |
int getEventTime | ( | void | ) | const |
returns bad hits(finding invalid hits).
returns event time
string getFileName | ( | ) | const |
int getFinishClock | ( | ) | const |
Gets clock tick where signal is make.
Definition at line 1427 of file JSignal.cc.
function< double(double)> getFloatFunction | ( | ) |
get LUT function using float values.
double getFloatOutput | ( | double | input | ) | const |
get output using float values.
function< int(int)> getFunction | ( | ) |
get LUT function using int values.
|
private |
Read input data definition.
Definition at line 752 of file TRGGDL.cc.
int getInputBitsize | ( | ) | const |
signed long long getInt | ( | ) | const |
Get integer value of signal.
Definition at line 1377 of file JSignal.cc.
|
static |
get LUT from dictionary, load new LUT if it doesn't exist
Definition at line 83 of file LUT.cc.
double getMaxActual | ( | ) | const |
Get maximum float value of signal.
Definition at line 1402 of file JSignal.cc.
signed long long getMaxInt | ( | ) | const |
Get maximum integer value of signal.
Definition at line 1387 of file JSignal.cc.
|
static |
Function for mc debugging.
Definition at line 963 of file Fitter3D.cc.
double getMinActual | ( | ) | const |
Get minimum float value of signal.
Definition at line 1397 of file JSignal.cc.
signed long long getMinInt | ( | ) | const |
Get minimum integer value of signal.
Definition at line 1382 of file JSignal.cc.
string getName | ( | ) | const |
int getOutput | ( | int | input | ) | const |
get output using int values.
|
private |
Read output data definition.
Definition at line 776 of file TRGGDL.cc.
int getOutputBitsize | ( | ) | const |
int getOutputFlag | ( | ) | const |
get output type.
Definition at line 393 of file JLUT.cc.
int getOutputType | ( | ) | const |
bool getPrintedToFile | ( | ) | const |
Gets the status of m_printedToFile.
Definition at line 80 of file JSignalData.cc.
bool getPrintVhdl | ( | ) | const |
Gets the print vhdl flag from common JSignalData class.
Definition at line 1497 of file JSignal.cc.
bool getPrintVhdl | ( | ) | const |
Gets the status of m_printVhdl.
Definition at line 75 of file JSignalData.cc.
double getRealInt | ( | ) | const |
Get converted float value of integer.
Definition at line 1407 of file JSignal.cc.
double getRealMaxInt | ( | ) | const |
Get converted float value of maximum integer.
Definition at line 1417 of file JSignal.cc.
double getRealMinInt | ( | ) | const |
Get converted float value of minimum integer.
Definition at line 1412 of file JSignal.cc.
int getReturnValue | ( | EReturnValueType const & | moduleName | ) | const |
gets return value for a module in trg cdc module.
|
inline |
gets return value for trg cdc module.
std::map< std::string, std::vector< int > > const & getSignals | ( | ) | const |
Gets the signals that were saved for one line of VHDL.
Definition at line 100 of file JSignalData.cc.
|
static |
Get stereo geometry.
Definition at line 1558 of file Fitter3D.cc.
|
static |
Get stereo Xt.
Definition at line 1578 of file Fitter3D.cc.
int getT0 | ( | void | ) | const |
Calculate T0.
Definition at line 242 of file EventTime.cc.
double getToReal | ( | ) | const |
Get toReal value of signal.
Definition at line 1422 of file JSignal.cc.
|
inline |
vector< TCTrack * > getTrackList2D | ( | void | ) |
returns 2D track list (no fit).
vector< TCTrack * > getTrackList2DFitted | ( | void | ) |
returns 2D fitted track list.
vector< TCTrack * > getTrackList3D | ( | void | ) |
returns 3D track list (fitted).
|
static |
returns TRGCDC object with specific configuration.
Definition at line 107 of file TRGCDC.cc.
|
static |
|
static |
returns TRGGDL object with specific configuration.
Definition at line 66 of file TRGGDL.cc.
|
static |
|
static |
returns TRGGRL object with specific configuration.
Definition at line 49 of file TRGGRL.cc.
|
static |
int getType | ( | ) | const |
int getValue | ( | unsigned | id | ) | const |
string getVhdlCode | ( | ) | const |
Gets the vhdl code for the signal.
Definition at line 1492 of file JSignal.cc.
std::string getVhdlDefine | ( | ) | const |
Gets the VHDL code for define statement.
Definition at line 95 of file JSignalData.cc.
std::string getVhdlInProcess | ( | ) | const |
Gets the VHDL code that are in a process statement.
Definition at line 85 of file JSignalData.cc.
std::string getVhdlOutProcess | ( | ) | const |
Gets the VHDL code that are outside a process statement.
Definition at line 90 of file JSignalData.cc.
string getVhdlOutputFile | ( | ) | const |
Gets the vhdl output file name.
Definition at line 1506 of file JSignal.cc.
std::string getVhdlOutputFile | ( | ) | const |
Get the VHDL output code.
Definition at line 70 of file JSignalData.cc.
|
inlinevirtual |
returns true this has member named a.
Reimplemented in TRGCDCSegment.
|
overridevirtual |
returns true this has member named a.
Reimplemented from TRGCDCCell.
Definition at line 591 of file Segment.cc.
|
inline |
returns helix parameter.
Definition at line 143 of file TRGCDCTrack.h.
|
inline |
returns a pointer to a GEN_HEPEVT.
Definition at line 142 of file WireHitMC.h.
void hist | ( | void | ) |
making hostogram
Definition at line 154 of file EventTime.cc.
|
inline |
sets a pointer to TRGCDCWireHit.
|
inline |
|
inline |
sets a pointer to a TRGCDCSegmentHit.
Definition at line 228 of file Segment.h.
|
inline |
returns a pointer to a TRGCDCWireHit.
Definition at line 145 of file Wire.h.
|
inline |
appends a pointer to TRGCDCWireHitMC.
|
inline |
returns a pointer to a TRGCDCCellHit.
const CDCHit * hit | ( | void | ) | const |
Access to CDCHit.
Definition at line 133 of file CellHit.cc.
|
inline |
|
inline |
returns a pointer to a TRGCDCSegmentHit.
Definition at line 236 of file Segment.h.
|
inline |
returns a pointer to a TRGCDCWireHit.
Definition at line 153 of file Wire.h.
|
inline |
returns a pointer to a TRGCDCWireHit.
Definition at line 149 of file WireHitMC.h.
void hitcount | ( | void | ) |
hit count of TS
Definition at line 119 of file EventTime.cc.
|
staticprivate |
Gets TSF hit information for one certin clock from the registers.
Definition at line 204 of file Tracker2D.cc.
void hitMapInner | ( | void | ) |
Creates the hit maps for the inner.
Definition at line 2149 of file TrackSegmentFinder.cc.
void hitMapOuter | ( | void | ) |
Creates the hit maps for the outer.
Definition at line 2188 of file TrackSegmentFinder.cc.
unsigned hitPattern | ( | int | clk0, |
int | clk1 | ||
) | const |
returns hit pattern for hits in given time window.
Definition at line 559 of file Segment.cc.
unsigned hitPattern | ( | void | ) | const |
returns hit pattern.
Definition at line 535 of file Segment.cc.
unsigned hitPattern_adc | ( | void | ) | const |
returns hit pattern with adc cut.
Definition at line 547 of file Segment.cc.
|
inline |
returns hit position.
Definition at line 107 of file WireHitMC.h.
std::vector< const TRGCDCWireHitMC * > hits | ( | void | ) | const |
returns a list of TRGCDCWireHitMC.
Definition at line 102 of file TrackMC.cc.
vector< const TCWHit * > hits | ( | void | ) | const |
returns a list of TRGCDCWireHit.
'update()' must be called before calling this function.
vector< const TCWHitMC * > hitsMC | ( | void | ) | const |
returns a list of TRGCDCWireHitMC.
'updateMC()' must be called before calling this function.
|
inline |
|
inline |
|
inline |
returns an index to CDCSimHit.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
If else implementation.
Definition at line 951 of file JSignal.cc.
|
static |
If else implementation with target clock.
Definition at line 800 of file JSignal.cc.
|
static |
Writes the ifElse vhdl code.
Definition at line 2115 of file JSignal.cc.
void ignoreErrorMatrix | ( | void | ) |
|
inline |
returns an index to MCParticle.
|
static |
make a VHDL component file.
Non-zero value will be returned if errors occured.
Definition at line 65 of file FrontEnd.cc.
|
static |
make a VHDL component file.
Non-zero value will be returned if errors occured.
Definition at line 66 of file Merger.cc.
|
static |
writes a port map.
Definition at line 102 of file FrontEnd.cc.
|
static |
writes a port map.
Definition at line 104 of file Merger.cc.
void importBadRunNumber | ( | std::string | InputFileName | ) |
Import Bad Run Number.
Definition at line 293 of file TrgEclDatabaseImporter.cc.
void importETMParameter | ( | std::string | InputFileName | ) |
Import ETM Parameters.
Definition at line 199 of file TrgEclDatabaseImporter.cc.
void importFAMParameter | ( | std::string | InputFileName, |
std::string | InputFileSignalPDF, | ||
std::string | InputFileNoise | ||
) |
Import FAM Parameters.
Definition at line 41 of file TrgEclDatabaseImporter.cc.
void importTMMParameter | ( | std::string | InputFileName | ) |
Import TMM Parameters.
Definition at line 174 of file TrgEclDatabaseImporter.cc.
|
inline |
void initArgumentSignals | ( | ) |
Initializes the argument signals for the signal.
Definition at line 1707 of file JSignal.cc.
void initialize | ( | void | ) |
Initialization.
Definition at line 78 of file Fitter3D.cc.
|
private |
initializes CDC geometry.
Definition at line 372 of file TRGCDC.cc.
void initialize | ( | void | ) |
initialize the class
Definition at line 88 of file EventTime.cc.
void initialize | ( | void | ) |
initilize variables.
Definition at line 65 of file Segment.cc.
|
private |
initializes GDL.
Definition at line 160 of file TRGGDL.cc.
|
private |
|
static |
void initVhdlCode | ( | ) |
Initializes the vhdl code.
Definition at line 1741 of file JSignal.cc.
|
static |
returns the inner-most link.
Definition at line 409 of file Link.cc.
|
inline |
|
inline |
|
static |
returns links which are in the inner most and outer most layer.
This function assumes that all TRGCDCLink's are in the same super layer.
Definition at line 621 of file Link.cc.
|
inline |
returns input channel i.
void inputInner | ( | const unsigned | id, |
const unsigned | nTSF, | ||
TRGSignalVector * | s | ||
) |
Creates input signals to TSF for the inner.
Definition at line 2215 of file TrackSegmentFinder.cc.
void inputOuter | ( | const unsigned | id, |
const unsigned | nTSF, | ||
TRGSignalVector * | s | ||
) |
Creates input signals to TSF for the outer.
Definition at line 2324 of file TrackSegmentFinder.cc.
int intersect | ( | const TRGCDCLpar & | lp1, |
const TRGCDCLpar & | lp2, | ||
CLHEP::HepVector & | v1, | ||
CLHEP::HepVector & | v2 | ||
) |
intersection
Definition at line 249 of file Lpar.cc.
const TRGSignal & invert | ( | void | ) |
makes signal inverted.
Definition at line 499 of file Signal.cc.
TRGCDCJSignal const invOffset | ( | TRGCDCJSignal const & | valueMin | ) | const |
Outputs a signal that is not offset.
Definition at line 606 of file JSignal.cc.
bool isAxialTrackFull | ( | const TRGCDCTrack & | aTrack | ) |
Checks if axial track has 5 TSs. One per each superlayer.
Definition at line 1071 of file Fitter3D.cc.
bool isFiredFTDL | ( | std::vector< bool > | input, |
std::string | alg | ||
) |
Definition at line 465 of file TRGGDL.cc.
|
static |
Checks if signal is same signal.
Definition at line 2201 of file JSignal.cc.
bool isStereoTrackFull | ( | const TRGCDCTrack & | aTrack | ) |
Checks if stereo track has 4 TSs. One per each superlayer.
Definition at line 1102 of file Fitter3D.cc.
|
static |
converts int to string. (Use boost::lexical_cast)
Definition at line 50 of file Utilities.cc.
|
inline |
|
inline |
|
inline |
unsigned layerId | ( | unsigned | axialStereoSwitch, |
unsigned | axialStereoLayerId | ||
) | const |
unsigned layerId | ( | unsigned | wireId | ) | const |
returns layer ID. This function is expensive.
Definition at line 1793 of file TRGCDC.cc.
|
inline |
|
static |
usage of each layer
Definition at line 769 of file Link.cc.
|
static |
Declare that you leave a stage.
|
inline |
|
inline |
returns left-right. 0:left, 1:right, 2:wire
|
inline |
|
static |
|
static |
TRGCDCJSignal const limit | ( | signed long long | minInt, |
signed long long | maxInt, | ||
double | minActual, | ||
double | maxActual | ||
) | const |
Limits min and max values using specific integers. Use only for ifElse. Doesn't check overflow, underflow to be used in ifElse.
Definition at line 957 of file JSignal.cc.
TRGCDCJSignal const limit | ( | TRGCDCJSignal const & | min, |
TRGCDCJSignal const & | max | ||
) | const |
Limits min and max values using JSignal. Use only for ifElse. Doesn't check overflow, underflow to be used in ifElse.
Definition at line 984 of file JSignal.cc.
|
inline |
|
inline |
returns a pointer to a TRGCDCLink.
const std::vector< TCLink * > & links | ( | unsigned | layerId | ) | const |
returns a vector to track segments.
Definition at line 129 of file TrackBase.cc.
const std::vector< TCLink * > & links | ( | void | ) | const |
returns a vector to track segments.
Definition at line 123 of file TrackBase.cc.
|
static |
returns TRGCDCTrackMC
Definition at line 723 of file Link.cc.
|
static |
returns a list of TRGCDCTrackMC's.
Definition at line 94 of file TrackMC.cc.
|
static |
returns a list of TRGCDCTrack's.
Definition at line 86 of file TRGCDCTrack.cc.
unsigned localId | ( | unsigned | wireId | ) | const |
returns local ID in a layer. This function is expensive.
Definition at line 1773 of file TRGCDC.cc.
|
inline |
int localIdDifference | ( | const TRGCDCCell & | a | ) | const |
returns local id difference.
Definition at line 69 of file Cell.cc.
|
inline |
returns localId but if 0, return maxLocalId + 1.
Definition at line 222 of file Wire.h.
|
inline |
returns localId but if maxLocalId, return -1.
Definition at line 202 of file Wire.h.
unsigned localLayerId | ( | unsigned | wireId | ) | const |
returns local layer ID in a super layer. This function is expensive.
Definition at line 1842 of file TRGCDC.cc.
|
inline |
returns local layer id in a super layer.
|
inline |
returns local layer id in a super layer.
void locationInPlane | ( | float | x0, |
float | y0, | ||
float | x1, | ||
float | y1, | ||
unsigned & | nFound, | ||
unsigned & | iX0, | ||
unsigned & | iY0, | ||
unsigned & | iX1, | ||
unsigned & | iY1 | ||
) | const |
returns cell positions in the region.
Definition at line 53 of file HoughPlaneBase.cc.
|
inline |
unsigned lutPattern | ( | int | clk0, |
int | clk1 | ||
) | const |
hit pattern containing bit for priority position for hits in given time window.
Definition at line 581 of file Segment.cc.
unsigned lutPattern | ( | void | ) | const |
hit pattern containing bit for priority position
Definition at line 571 of file Segment.cc.
std::string const lutVhdlCode | ( | std::string const & | shiftOffsetInput | ) | const |
Creates vhdlCode for lut.
Definition at line 596 of file JLUT.cc.
|
inline |
|
inline |
|
inline |
void makeCOE | ( | const std::string & | fileName = "" | ) |
make COE file.
Definition at line 425 of file JLUT.cc.
|
private |
Make a track from serial ID in Hough plane.
(no fit, segment hit attached)
Definition at line 1104 of file HoughFinder.cc.
|
private |
creates mappings by a file.
Definition at line 661 of file HoughFinder.cc.
|
static |
Choose => [signalName, FpgaEffects(=1)/NoFpgaEffects(=0)] Values => [name, value, bitwidth, min, max, clock] Changes signals to values.
Definition at line 2225 of file JSignal.cc.
void matchUnit | ( | TRGCDCJSignal & | first, |
TRGCDCJSignal & | second | ||
) | const |
Utilities.
Matches unit by shifting bits.
Definition at line 1260 of file JSignal.cc.
|
inline |
|
inlineoverridevirtual |
returns max. entry in a plane.
Implements TRGCDCHoughPlaneBase.
Definition at line 148 of file HoughPlane.h.
|
inlineoverridevirtual |
returns max. count in a plane.
Implements TRGCDCHoughPlaneBase.
Definition at line 199 of file HoughPlaneBoolean.h.
int maxEntryInRegion | ( | unsigned | id | ) | const |
returns max. count in region.
Definition at line 120 of file HoughPlaneBase.cc.
|
inline |
TRGTime maxTRGTime | ( | bool | edge | ) | const |
|
inline |
|
inline |
|
inline |
const MCParticle & mcParticle | ( | unsigned | i = 0 | ) | const |
returns i'th contributor.
Definition at line 79 of file Relation.cc.
const MCParticle * mcParticle | ( | void | ) | const |
Access to MCParticle.
Definition at line 147 of file CellHit.cc.
void merge | ( | void | ) |
merge function
Definition at line 83 of file HoughPlaneMulti.cc.
void merge | ( | void | ) |
Merge layers into one.
Definition at line 65 of file HoughPlaneMulti2.cc.
void mergeOuters | ( | void | ) |
Merge outer layers into one.
Definition at line 85 of file HoughPlaneMulti2.cc.
|
inline |
|
inline |
|
inline |
TRGTime minTRGTime | ( | bool | edge | ) | const |
bool mirel | ( | vector< unsigned > | a, |
vector< unsigned > | b | ||
) |
...mirel...
Definition at line 212 of file PeakFinder.cc.
vector< bool > mkbool | ( | int | N, |
int | bitSize | ||
) |
tranformatoin into bool
Definition at line 395 of file TrackSegmentFinder.cc.
double mkint | ( | TRGState | bitInput | ) |
tranformatoin into integer
Definition at line 381 of file TrackSegmentFinder.cc.
|
inline |
sets simulation mode.
|
inline |
sets simulation mode.
CLHEP::Hep3Vector momentum | ( | double | dPhi, |
CLHEP::HepSymMatrix & | Em | ||
) | const |
returns momentum vector after rotating angle dPhi in phi direction.
Definition at line 215 of file Helix.cc.
CLHEP::HepLorentzVector momentum | ( | double | dPhi, |
double | mass | ||
) | const |
returns 4momentum vector after rotating angle dPhi in phi direction.
Definition at line 239 of file Helix.cc.
CLHEP::HepLorentzVector momentum | ( | double | dPhi, |
double | mass, | ||
CLHEP::HepSymMatrix & | Em | ||
) | const |
returns 4momentum vector after rotating angle dPhi in phi direction.
Definition at line 263 of file Helix.cc.
CLHEP::HepLorentzVector momentum | ( | double | dPhi, |
double | mass, | ||
HepGeom::Point3D< double > & | x, | ||
CLHEP::HepSymMatrix & | Emx | ||
) | const |
returns 4momentum vector after rotating angle dPhi in phi direction.
Definition at line 289 of file Helix.cc.
CLHEP::Hep3Vector momentum | ( | double | dPhi = 0. | ) | const |
returns momentum vector after rotating angle dPhi in phi direction.
Definition at line 194 of file Helix.cc.
|
inline |
|
inline |
|
inlineprivate |
|
inlinevirtual |
Definition at line 111 of file HoughPlaneMulti.h.
|
inlinevirtual |
returns # of active cells in the pattern.
Reimplemented in TRGCDCHoughPlaneMulti.
Definition at line 159 of file HoughPlane.h.
|
inline |
|
inline |
sets and returns name.
Definition at line 136 of file BitStream.h.
|
inline |
|
inline |
sets and returns name.
Definition at line 120 of file SignalBundle.h.
|
inline |
sets and returns name.
Definition at line 118 of file SignalVector.h.
|
inline |
|
inline |
returns name.
std::string name | ( | void | ) | const |
|
inline |
|
inline |
|
inline |
returns name.
Definition at line 74 of file HoughTransformation.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
returns name.
string name | ( | void | ) | const |
string name | ( | void | ) | const |
string name | ( | void | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
overridevirtual |
|
overridevirtual |
returns name.
Implements TRGCDCCell.
|
static |
|
inline |
return # of axial layers.
|
inline |
return # of axial super layers.
|
inline |
|
inline |
returns /# of contributors.
Definition at line 97 of file Relation.h.
|
inline |
|
inline |
|
overridevirtual |
returns true if Y diverges in given region.
Implements TRGCDCHoughTransformation.
Definition at line 92 of file HoughTransformationCircle.cc.
bool neighbor | ( | const TRGCDCWire & | w0, |
const TRGCDCWire & | w1 | ||
) | const |
returns true if w0 and w1 are neighbor.
Definition at line 2030 of file TRGCDC.cc.
|
inline |
returns neighbor TRGCDCLink.
Definition at line 586 of file Link.h.
|
inline |
sets neighbor TRGCDCLink.
Definition at line 578 of file Link.h.
|
inline |
returns neighbor cell.
Definition at line 423 of file HoughPlaneBase.h.
const TRGCDCWire * neighbor | ( | unsigned | i | ) | const |
returns a pointer to a neighbor wire. This function is expensive.
Definition at line 75 of file Wire.cc.
|
inline |
returns neighbors.
Definition at line 377 of file HoughPlaneBase.h.
|
static |
returns # of hits per layer.
Definition at line 125 of file Link.cc.
|
static |
|
static |
|
inline |
returns input channels.
|
static |
returns # of layers.
Definition at line 105 of file Link.cc.
|
inline |
returns # of Hough Boolean layers.
Definition at line 253 of file HoughPlaneMulti2.h.
|
inline |
|
inline |
|
static |
returns # of missing axial super layers.
Stereo super layers are not taken into accout.
Definition at line 699 of file Link.cc.
|
inline |
returns output channels.
|
inline |
unsigned nSegments | ( | unsigned | id | ) | const |
|
inline |
|
inline |
|
inline |
|
static |
|
inline |
returns # of stereo layers.
|
inline |
returns # of stereo super layers.
|
static |
returns # of layers.
Definition at line 668 of file Link.cc.
|
static |
returns # of layers.
Definition at line 685 of file Link.cc.
|
inline |
returns # of super layers.
|
inlinestatic |
returns # of TSF in super layer i. (i=0 to 4)
Definition at line 122 of file Tracker2D.h.
|
inlinestatic |
returns # of TSF.
Definition at line 115 of file Tracker2D.h.
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
returns object type.
Reimplemented in TRGCDCCircle.
Definition at line 241 of file TrackBase.h.
|
inlineoverridevirtual |
returns type.
Reimplemented from TRGCDCTrackBase.
Definition at line 120 of file Circle.h.
TRGCDCJSignal const offset | ( | TRGCDCJSignal const & | valueMin | ) | const |
Outputs an offset signal which is an unsigned signal.
Definition at line 592 of file JSignal.cc.
|
inline |
returns offset.
Definition at line 180 of file Layer.h.
|
inline |
void oldVer | ( | void | ) |
old version of calculation function
Definition at line 181 of file EventTime.cc.
TRGCDCJSignal const operate | ( | const TRGCDCJSignal & | in, |
TRGCDCJSignal & | out | ||
) |
Returns LUT value. Out is LUT value + offset. (LUT value + offset do not obey addition bitsize rules.)
Definition at line 500 of file JLUT.cc.
string operate | ( | std::string | out, |
std::string | in, | ||
std::map< std::string, std::map< std::string, double > * > & | m_intStorage | ||
) |
Operate on LUT. (Will be deprecated.)
Definition at line 475 of file JLUT.cc.
|
static |
delete operator.
Definition at line 869 of file Link.cc.
|
static |
delete operator.
Definition at line 104 of file SegmentHit.cc.
|
static |
delete operator.
Definition at line 98 of file WireHit.cc.
|
static |
|
static |
new operator.
Definition at line 91 of file SegmentHit.cc.
|
static |
new operator.
Definition at line 85 of file WireHit.cc.
|
inline |
|
inline |
|
inline |
Conversion to unsigned long long.
Definition at line 211 of file State.h.
|
inline |
compare two TRGSignalVectors.
Definition at line 132 of file SignalVector.h.
returns AND result.
Definition at line 165 of file Signal.cc.
returns AND result.
Definition at line 211 of file Signal.h.
TRGCDCJSignal const operator* | ( | TRGCDCJSignal const & | rhs | ) | const |
Arithmetic multiply operator.
Definition at line 432 of file JSignal.cc.
TRGCDCLpav operator+ | ( | const TRGCDCLpav & | la1, |
const TRGCDCLpav & | la2 | ||
) |
Definition at line 676 of file Lpav.cc.
|
inline |
TRGCDCJSignal const operator+ | ( | TRGCDCJSignal const & | rhs | ) | const |
Arithmetic add operator.
Arithmetic operator.
Definition at line 310 of file JSignal.cc.
const TRGCDCLpav & operator+= | ( | const TRGCDCLpav & | la1 | ) |
assignment operator(s)
Definition at line 661 of file Lpav.cc.
TRGSignalVector & operator+= | ( | const TRGSignal & | left | ) |
appends TRGSignal.
Definition at line 96 of file SignalVector.cc.
TRGSignalVector & operator+= | ( | const TRGSignalVector & | left | ) |
appends TRGSignalVector.
Definition at line 103 of file SignalVector.cc.
appends TRGState (as MSB).
Definition at line 315 of file State.cc.
TRGCDCJSignal const operator- | ( | ) | const |
Unary operator.
Definition at line 279 of file JSignal.cc.
|
inline |
|
inline |
TRGCDCJSignal const operator- | ( | TRGCDCJSignal const & | rhs | ) | const |
Arithmetic minus operator.
Definition at line 371 of file JSignal.cc.
bool operator< | ( | const TRGState & | a | ) | const |
std::ostream & operator<< | ( | std::ostream & | s, |
const TRGPoint2D & | a | ||
) |
ostrream operator
Definition at line 51 of file Point2D.cc.
std::ostream & operator<< | ( | std::ostream & | o, |
const TRGCDCLpar & | s | ||
) |
std::ostream & operator<< | ( | std::ostream & | o, |
const TRGCDCLpav & | a | ||
) |
ostream operator
Definition at line 265 of file Lpav.cc.
TRGCDCJSignal & operator<= | ( | TRGCDCJSignal const & | rhs | ) |
Assign operator.
Definition at line 272 of file JSignal.cc.
TRGCDCHelix & operator= | ( | const TRGCDCHelix & | i | ) |
Copy operator.
Definition at line 409 of file Helix.cc.
|
inline |
|
inline |
assignment operator(s)
inline function definitions
Definition at line 189 of file Lpav.h.
|
inline |
bool operator== | ( | const TRGSignal & | a | ) | const |
bool operator== | ( | const TRGSignalVector & | a | ) | const |
compare two TRGSignalVectors.
Definition at line 192 of file SignalVector.cc.
|
inline |
|
inline |
|
inline |
|
inline |
returns OR result.
Definition at line 257 of file Signal.cc.
returns OR result.
Definition at line 224 of file Signal.h.
returns OR result.
Definition at line 273 of file Signal.cc.
returns OR result.
Definition at line 238 of file Signal.h.
bool orderLargestBitsize | ( | TRGCDCJSignal & | large, |
TRGCDCJSignal & | small | ||
) | const |
Orders the TRGCDCJSignals by bitsize. Next priority is unsigned, signed, minus unsigned. 1: was swapped. 0: was not swapped.
Definition at line 1515 of file JSignal.cc.
TRGSignal ored | ( | void | ) | const |
returns signal of all ORed.
Definition at line 271 of file SignalBundle.cc.
Or operation.
Definition at line 292 of file Signal.cc.
|
static |
returns the outer-most link.
Definition at line 425 of file Link.cc.
|
inline |
|
inline |
returns output channel i.
double overShoot | ( | double | timing | ) | const |
returns over shoot.
|
inlinevirtual |
returns momentum vector.
Reimplemented in TRGCDCTrack.
Definition at line 206 of file TrackBase.h.
|
inline |
|
inlineoverridevirtual |
returns momentum vector.
Reimplemented from TRGCDCTrackBase.
Definition at line 157 of file TRGCDCTrack.h.
|
private |
Kaiyu's logic. Finds peaks from nested patterns.
Definition at line 498 of file PeakFinder.cc.
Packer for 3D tracker.
Definition at line 118 of file Tracker2D.cc.
TRGSignalVector * packerForTracker | ( | vector< TRGSignalVector * > & | hitList, |
vector< int > & | cList, | ||
const unsigned | maxHit | ||
) |
Output packer for tracker.
Definition at line 2385 of file TrackSegmentFinder.cc.
Make bit pattern using input information from inner FEs.
Definition at line 257 of file Merger.cc.
Makes bit pattern using input bit pattern for the inner FE.
Definition at line 341 of file FrontEnd.cc.
Makes bit pattern using input bit pattern for the outer FE.
Definition at line 571 of file FrontEnd.cc.
Make bit pattern using input information from outer FEs.
Definition at line 460 of file Merger.cc.
TRGSignalVector * packerOuterEvt | ( | vector< TRGSignalVector * > | hitList, |
vector< int > | cList, | ||
int | maxHit | ||
) |
Packing output for evtTime & Low pT.
Definition at line 355 of file TrackSegmentFinder.cc.
Makes bit pattern using input bit pattern for the inner FE.
Definition at line 923 of file FrontEnd.cc.
Makes bit pattern using input bit pattern for the outer FE.
Definition at line 1104 of file FrontEnd.cc.
TRGSignalVector * packerOuterTracker | ( | vector< TRGSignalVector * > & | hitList, |
vector< int > & | cList, | ||
const unsigned | maxHit | ||
) |
Packing output for tracker.
Definition at line 320 of file TrackSegmentFinder.cc.
|
inline |
returns pattern ID which activates specified cell.
Definition at line 221 of file HoughPlaneBoolean.h.
|
inline |
returns pattern ID in a layer which activates specified cell.
Definition at line 238 of file HoughPlaneMulti2.h.
void perfectFinder | ( | std::vector< TRGCDCTrack * > & | trackList, |
unsigned | j, | ||
std::vector< const TRGCDCSegmentHit * > & | mcTSList | ||
) |
Perfect 3D finder for a track.
Definition at line 492 of file Hough3DFinder.cc.
std::vector< HepGeom::Point3D< double > > perfectPosition | ( | void | ) | const |
returns perfect position from GEANT.
Definition at line 259 of file TRGCDCTrack.cc.
double phase | ( | double | timing | ) | const |
returns phase of given timing in degree (0 to 360).
Definition at line 154 of file Clock.cc.
double phi | ( | double | r, |
int | dir = 0 |
||
) | const |
|
inline |
|
inline |
const HepGeom::Point3D< double > & pivot | ( | const HepGeom::Point3D< double > & | newPivot | ) |
sets pivot position.
Definition at line 324 of file Helix.cc.
|
inline |
|
inline |
int position | ( | double | timing | ) | const |
|
inline |
returns position in Hough plain for a cell (x, y)..
Definition at line 363 of file HoughPlaneBase.h.
Point3D position | ( | unsigned | lr | ) | const |
returns left position. z is always zero.
Definition at line 102 of file CellHit.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
overridevirtual |
returns true if Y diverges in given region.
Implements TRGCDCHoughTransformation.
Definition at line 83 of file HoughTransformationCircle.cc.
|
inline |
allocate memory for patterns.
Definition at line 246 of file HoughPlaneMulti2.h.
void preparePatterns | ( | unsigned | nPatterns | ) |
allocate memory for patterns.
Definition at line 255 of file HoughPlaneBoolean.cc.
void print3DInformation | ( | int | iTrack | ) |
Print's information for debugging 3D.
Definition at line 1474 of file Fitter3D.cc.
void printFirm | ( | void | ) |
Print info in firmware level.
Definition at line 209 of file EventTime.cc.
void printTCThreshold | ( | ) |
Print TC energy Threshold.
Definition at line 320 of file TrgEclDatabaseImporter.cc.
void printToFile | ( | ) |
Utilities Function to print VHDL code.
Definition at line 106 of file JSignalData.cc.
void printVhdl | ( | const std::string & | vhdlCode | ) | const |
Prints vhdl code.
Definition at line 2159 of file JSignal.cc.
const TRGCDCWire & priority | ( | void | ) | const |
returns priority wire.
Definition at line 525 of file Segment.cc.
int priorityPosition | ( | int | clk0, |
int | clk1 | ||
) | const |
return priority cell position in TSHit for given time window.
Definition at line 499 of file Segment.cc.
int priorityPosition | ( | void | ) | const |
return priority cell position in TSHit. 0: no hit, 3: 1st priority, 1: 2nd right, 2: 2nd left
Definition at line 473 of file Segment.cc.
float priorityTime | ( | void | ) | const |
return priority time in TSHit.
Definition at line 463 of file Segment.cc.
|
private |
Make TRGSignals for the priority timing bits.
Definition at line 1174 of file TrackSegmentFinder.cc.
double prob | ( | ) | const |
const member function prob
|
inline |
|
inlinevirtual |
returns Pt.
Reimplemented in TRGCDCCircle, and TRGCDCTrack.
Definition at line 220 of file TrackBase.h.
|
inlineoverridevirtual |
returns Pt.
Reimplemented from TRGCDCTrackBase.
Definition at line 98 of file Circle.h.
|
inlineoverridevirtual |
|
inline |
|
inline |
sets pull.
|
inline |
float purity | ( | unsigned | i = 0 | ) | const |
returns i'th purity.
Definition at line 90 of file Relation.cc.
float purity3D | ( | unsigned | trkID | ) | const |
returns purity for 3D for trkID particle which should be from 2D.
Definition at line 111 of file Relation.cc.
void push_back | ( | const TRGCDCFrontEnd * | a | ) |
push back TRGCDCFrontEnd of this Merger
Definition at line 143 of file Merger.cc.
void push_back | ( | const TRGCDCMerger * | a | ) |
push back the Mergers of this TSF
Definition at line 865 of file TrackSegmentFinder.cc.
void push_back | ( | const TRGCDCTrackSegmentFinder * | a | ) |
push back the TRGCDCTrackSegmentFinder pointer
Definition at line 58 of file EventTimeFinder.cc.
void push_back | ( | const TRGCDCTrackSegmentFinder * | a | ) |
Appends a TSF board.
Definition at line 58 of file Tracker2D.cc.
void push_back | ( | const TRGCDCWire * | a | ) |
push back TRGCDCWire for this Front-end
Definition at line 140 of file FrontEnd.cc.
|
inlineprivate |
|
inline |
|
inline |
|
private |
Makes regions.
Definition at line 53 of file PeakFinder.cc.
|
inline |
|
overridevirtual |
Registers a pattern on a Hough plane with (r, phi=0).
Implements TRGCDCHoughPlaneBase.
Reimplemented in TRGCDCHoughPlaneMulti, and TRGCDCHoughPlaneMulti2.
Definition at line 202 of file HoughPlane.cc.
|
overridevirtual |
registers a pattern..
Implements TRGCDCHoughPlaneBase.
Definition at line 209 of file HoughPlaneBoolean.cc.
|
inlineoverridevirtual |
registers a pattern..
Reimplemented from TRGCDCHoughPlane.
Definition at line 104 of file HoughPlaneMulti.h.
|
inline |
registers a pattern..
Definition at line 231 of file HoughPlaneMulti2.h.
const TRGCDCRelation relation | ( | void | ) | const |
returns MC information.
False will be returned if no MC info. available.
Definition at line 142 of file TrackBase.cc.
const TRGCDCRelation relation2D | ( | void | ) | const |
returns MC information for only axial layers.
Definition at line 182 of file TrackBase.cc.
const TRGCDCRelation relation3D | ( | void | ) | const |
returns MC information for only stereo layers.
Definition at line 232 of file TrackBase.cc.
|
static |
removes links from list if wire is same
Definition at line 784 of file Link.cc.
|
static |
|
static |
destructs all TRGCDCCellHit objects. (Called by TRGCDC)
Definition at line 84 of file SegmentHit.cc.
|
static |
destructs all TRGCDCCellHit objects. (Called by TRGCDC)
Definition at line 78 of file WireHit.cc.
void removeImpossibleStereoSuperlayers | ( | std::vector< double > & | useStSL | ) |
Removes TSs that are not possible with track Pt.
Definition at line 1193 of file Fitter3D.cc.
|
static |
Writes final vhdl code.
Definition at line 1899 of file JSignal.cc.
TRGCDCJSignal const resize | ( | int | bitwidth | ) | const |
Resizes signal.
Definition at line 989 of file JSignal.cc.
|
inline |
|
inline |
bool rlrel | ( | vector< unsigned > | a, |
vector< unsigned > | b | ||
) |
...rlrel...
Definition at line 157 of file PeakFinder.cc.
|
inlineprivate |
|
staticprivate |
Calculate r * phi ?
Definition at line 467 of file HoughFinder.cc.
double s | ( | double | r, |
int | dir = 0 |
||
) | const |
double s | ( | double | x, |
double | y | ||
) | const |
const member functions
Definition at line 210 of file Lpar.cc.
|
static |
|
static |
|
static |
|
static |
void saveAllSignals | ( | ) |
Saves all signals for debugging.
Definition at line 934 of file Fitter3D.cc.
|
private |
Save functions for ROOT.
Definition at line 2760 of file TRGCDC.cc.
void saveIoSignals | ( | ) |
Saves all I/O signals for debugging.
Definition at line 944 of file Fitter3D.cc.
void saveNNTSInformation | ( | std::vector< TRGCDCSegment * > & | tss | ) |
Saves NNTS information. Only when ts is hit.
Definition at line 717 of file TrackSegmentFinder.cc.
|
private |
Save functions for ROOT.
Definition at line 2775 of file TRGCDC.cc.
|
private |
Save functions for ROOT.
Definition at line 2789 of file TRGCDC.cc.
void saveTSFResults | ( | std::vector< TRGCDCSegmentHit * > * | segmentHitsSL | ) |
save result of TSF
Definition at line 550 of file TrackSegmentFinder.cc.
void saveTSInformation | ( | std::vector< TRGCDCSegment * > & | tss | ) |
save the TS info
Definition at line 411 of file TrackSegmentFinder.cc.
void saveVhdlAndCoe | ( | ) |
Functions for saving.
Save VHDL and code files.
Definition at line 912 of file Fitter3D.cc.
|
inline |
const member functions
Definition at line 300 of file Lpar.h.
|
inline |
const TRGCDCSegment & segment | ( | unsigned | lyrId, |
unsigned | id | ||
) | const |
const TRGCDCSegment & segment | ( | void | ) | const |
returns a pointer to a track segment.
Definition at line 78 of file SegmentHit.cc.
|
inline |
returns a list of TRGCDCSegmentHit in a super layer N.
'simulate()' must be called before calling this function
Definition at line 1005 of file TRGCDC.h.
|
inline |
returns a list of TRGCDCSegmentHit.
'simulate()' must be called before calling this function
Definition at line 996 of file TRGCDC.h.
|
inline |
|
static |
Selects priority TSs when there are multiple candidate TSs for a superlayer.
Definition at line 1204 of file Fitter3D.cc.
|
private |
selects the best(fastest) hits in each super layer.
Definition at line 270 of file HoughFinder.cc.
|
inline |
|
static |
separates into layers.
Definition at line 818 of file Link.cc.
|
static |
separate cores and non-cores.
Definition at line 441 of file Link.cc.
|
inline |
sets sequential length in one segment : this parameter is used in TCurlFinder now.
|
inline |
returns sequential Length in one segment : this parameter is used in TCurlFinder now.
|
inline |
returns serial ID for position p.
Definition at line 349 of file HoughPlaneBase.h.
|
inline |
returns serial ID for position (x, y).
Definition at line 342 of file HoughPlaneBase.h.
void set | ( | const HepGeom::Point3D< double > & | pivot, |
const CLHEP::HepVector & | a, | ||
const CLHEP::HepSymMatrix & | Ea | ||
) |
sets helix pivot position, parameters, and error matrix.
Definition at line 396 of file Helix.cc.
const TRGSignalVector & set | ( | const TRGState & | s, |
int | clockPosition | ||
) |
sets state at given clock.
Definition at line 181 of file SignalVector.cc.
const TRGSignal & set | ( | int | t0, |
int | t1, | ||
bool | state = true |
||
) |
makes a pulse with leading edge at clock t0 and with trailing edge at clock t1.
Definition at line 409 of file Signal.cc.
|
inline |
sets state.
|
inline |
sets state.
|
inline |
|
inline |
Set 2D fit chi2.
Definition at line 180 of file TRGCDCTrack.h.
|
inline |
Set 3D fit chi2.
Definition at line 192 of file TRGCDCTrack.h.
|
static |
set to throw exception or not
|
static |
|
static |
set to print debug info or not
void setActual | ( | double | value | ) |
Sets float value of signal.
Definition at line 1308 of file JSignal.cc.
void setBitsize | ( | int | bitsize | ) |
Sets bitwidth of signal.
Definition at line 1323 of file JSignal.cc.
void setBitsize | ( | int | inputBitsize, |
int | outputBitsize | ||
) |
set input & output bitsize.
Definition at line 347 of file JLUT.cc.
void setCommonData | ( | TRGCDCJSignalData * | commonData | ) |
Sets JSignalData to signal.
Definition at line 1357 of file JSignal.cc.
|
private |
Sets constants.
Definition at line 219 of file Tracker2D.cc.
void setData | ( | int | inputBitsize, |
int | outputBitSize, | ||
const std::string & | filename, | ||
bool | twoscomplement = 0 |
||
) |
set LookUpTable(LUT) data.
Definition at line 86 of file JLUT.cc.
void setDataFile | ( | const std::string & | filename, |
int | nInputBit | ||
) |
set LUT data.
Definition at line 57 of file LUT.cc.
void setDebug | ( | bool | debug | ) |
Sets debug flag for signal.
Definition at line 1336 of file JSignal.cc.
|
inline |
Set debug value.
Definition at line 204 of file TRGCDCTrack.h.
|
inline |
|
inline |
|
inlineoverridevirtual |
Sets entry.
Implements TRGCDCHoughPlaneBase.
Reimplemented in TRGCDCHoughPlaneMulti2.
Definition at line 108 of file HoughPlane.h.
|
inlineoverridevirtual |
Sets entry.
Implements TRGCDCHoughPlaneBase.
Definition at line 137 of file HoughPlaneBoolean.h.
void setFinishClock | ( | int | finishClock | ) |
Sets finish clock of signal.
Definition at line 1331 of file JSignal.cc.
|
inline |
set fit status
Definition at line 234 of file TrackBase.h.
int setFloatFunction | ( | std::function< double(double)> | function, |
TRGCDCJSignal const & | input, | ||
TRGCDCJSignal const & | minInv, | ||
TRGCDCJSignal const & | maxInv, | ||
double | outputToReal, | ||
int | lutInputBitwidth, | ||
int | lutOutputBitwidth | ||
) |
set LUT function using JSignals.
Definition at line 200 of file JLUT.cc.
void setFunction | ( | std::function< int(int)> | function | ) |
set LUT function directly using int values.
|
inline |
void setInputBitsize | ( | int | inputBitsize | ) |
set input bitsize.
void setInt | ( | signed long long | value | ) |
Sets integer value of signal.
Definition at line 1303 of file JSignal.cc.
void setName | ( | const std::string & | name | ) |
Setters, Getters Sets name of signal.
Definition at line 1298 of file JSignal.cc.
void setOutputBitsize | ( | int | outputBitsize | ) |
set output bitsize.
void setOutputFlag | ( | int | outputFlag | ) |
void setPrintedToFile | ( | bool | printedToFile | ) |
Set to remember that file was printed.
Definition at line 55 of file JSignalData.cc.
void setPrintVhdl | ( | bool | printVhdl | ) |
Sets print flag for signal.
Definition at line 1341 of file JSignal.cc.
void setPrintVhdl | ( | bool | printVhdl | ) |
Sets if to print VHDL output.
Definition at line 50 of file JSignalData.cc.
|
inline |
Sets region.
Definition at line 408 of file HoughPlaneBase.h.
void setReturnValue | ( | EReturnValueType const & | moduleName, |
bool | flag | ||
) |
sets return value for trg cdc module.
|
inline |
sets return value for trg cdc module.
void setToReal | ( | double | value | ) |
Sets toReal factor of signal.
Definition at line 1313 of file JSignal.cc.
|
inline |
void setType | ( | int | type | ) |
void setVhdlInProcess | ( | const std::string & | vhdlInProcess | ) |
Set the VHDL code that are in a process statement.
Definition at line 60 of file JSignalData.cc.
void setVhdlOutProcess | ( | const std::string & | vhdlOutProcess | ) |
Set the VHDL code that is outside a process statement.
Definition at line 65 of file JSignalData.cc.
void setVhdlOutputFile | ( | const std::string & | vhdlOutputFile | ) |
Sets the filename for VHDL output.
Definition at line 45 of file JSignalData.cc.
void setVhdlOutputFile | ( | const std::string & | filename | ) |
Sets ouptut VHDL filename.
Definition at line 1349 of file JSignal.cc.
TRGCDCJSignal const shift | ( | int | nBits, |
int | operate = 1 |
||
) | const |
Shift signal. Shift direction is right. operate=0 to change m_toReal(unit).
Definition at line 561 of file JSignal.cc.
|
inline |
|
inline |
|
inline |
|
inline |
returns trigger output. Null will returned if no signal.
Definition at line 81 of file SegmentHit.h.
|
inline |
|
inlineoverridevirtual |
returns trigger output. Null will returned if no signal.
Implements TRGCDCCell.
|
inlineoverridevirtual |
returns an input to the trigger. This is sync'ed to 1GHz clock.
Implements TRGCDCCell.
|
inlineoverridevirtual |
returns trigger output. Null will returned if no signal.
Implements TRGCDCCell.
Definition at line 221 of file Segment.h.
|
inlineoverridevirtual |
returns an input to the trigger. This is sync'ed to 1GHz clock.
Implements TRGCDCCell.
void signalsVhdlCode | ( | ) |
Function to print definition of signal VHDL code.
Definition at line 178 of file JSignalData.cc.
const CDCSimHit * simHit | ( | void | ) | const |
Access to CDCSimHit.
Definition at line 140 of file CellHit.cc.
double similarity | ( | double | x, |
double | y | ||
) | const |
const member function similarity
void simulate | ( | bool | clockSimulation, |
bool | logicLUTFlag, | ||
const std::string & | cdcCollectionName = std::string("") , |
||
const std::string & | tsCollectionName = std::string("") |
||
) |
simulates TF hit using wire information.
Definition at line 154 of file Segment.cc.
void simulate | ( | void | ) |
Firmware simulation. yi.
Definition at line 64 of file EventTimeFinder.cc.
void simulate | ( | void | ) |
simulates firmware.
Definition at line 152 of file FrontEnd.cc.
void simulate | ( | void | ) |
simulates firmware.
Definition at line 155 of file Merger.cc.
void simulate | ( | void | ) |
simulates firmware.
Definition at line 70 of file Tracker2D.cc.
void simulate | ( | void | ) |
Firmware simulation. yi.
Definition at line 1954 of file TrackSegmentFinder.cc.
|
private |
fast trigger simulation.
Definition at line 2049 of file TRGCDC.cc.
|
private |
fast trigger simulation.
Definition at line 227 of file TRGGDL.cc.
|
private |
fast trigger simulation.
Definition at line 162 of file TRGGRL.cc.
void simulate2 | ( | void | ) |
Firmware simulation. Unified version of inner and outer : yi.
Definition at line 1992 of file TrackSegmentFinder.cc.
vector< TRGSignalVector * > simulateInner | ( | const TRGSignalVector & | in, |
unsigned | id | ||
) |
Simulate TSF response for the inner.
Definition at line 1885 of file TrackSegmentFinder.cc.
|
private |
Firmware simulation for the outers. yi.
Definition at line 1441 of file TrackSegmentFinder.cc.
vector< TRGSignalVector * > simulateOuter | ( | TRGSignalVector * | in, |
unsigned | id | ||
) |
Simulate TSF response for the inner.
output for EvtTime & Low pT tracker module
output for Tracker & N.N
Definition at line 1048 of file TrackSegmentFinder.cc.
|
private |
Firmware simulation for the outers. yi.
Definition at line 872 of file TrackSegmentFinder.cc.
vector< TRGSignalVector * > simulateTSF | ( | TRGSignalVector * | in, |
unsigned | id | ||
) |
Simulate TSF response (unified version, 2016/07/12)
output for EvtTime & Low pT tracker module
output for Tracker & N.N
Definition at line 2587 of file TrackSegmentFinder.cc.
vector< TRGSignalVector * > simulateTSF2 | ( | TRGSignalVector * | in, |
unsigned | id | ||
) |
Simulate TSF response (unified version, state machine)
Definition at line 2811 of file TrackSegmentFinder.cc.
vector< TRGSignalVector * > simulateTSFOld | ( | TRGSignalVector * | in, |
unsigned | id | ||
) |
Simulate TSF response (unified version)
output for EvtTime & Low pT tracker module
output for Tracker & N.N
Definition at line 2421 of file TrackSegmentFinder.cc.
void simulateWithClock | ( | std::string | cdcCollectionName, |
std::string | tsCollectionName | ||
) |
simulates TF hit time-dependently
Definition at line 291 of file Segment.cc.
void simulateWithoutClock | ( | bool | logicLUTFlag | ) |
simulates time-indegrated TF hit
Definition at line 176 of file Segment.cc.
|
inline |
|
inline |
returns size of stream in unit of bit.
Definition at line 150 of file BitStream.h.
|
inline |
|
inline |
returns size in char's.
Definition at line 177 of file BitStream.h.
|
static |
Change slv to signed.
Definition at line 1076 of file JSignal.cc.
|
static |
Change slv to signed with target clock.
Definition at line 1040 of file JSignal.cc.
|
static |
Change slv to unsigned with target clock.
Definition at line 1116 of file JSignal.cc.
|
static |
Change slv to unsigned with target clock.
Definition at line 1081 of file JSignal.cc.
|
private |
private member function solve_lambda
Definition at line 282 of file Lpav.cc.
|
private |
private member function solve_lambda3
Definition at line 319 of file Lpav.cc.
|
private |
Sort operation.
|
static |
Sort function.
Definition at line 122 of file CellHit.cc.
|
static |
|
static |
Sorting funnction.
Definition at line 59 of file SegmentHit.cc.
returns true if a is older than b.
Definition at line 107 of file Time.cc.
|
static |
Sort function. This will be removed.
Definition at line 66 of file WireHit.cc.
|
static |
|
inline |
returns true if signal is active in given clock position.
TRGState state | ( | int | clockPosition | ) | const |
returns state at given clock position.
Definition at line 246 of file SignalBundle.cc.
TRGState state | ( | int | clockPosition | ) | const |
returns state at given clock position.
Definition at line 158 of file SignalVector.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
std::vector< int > stateChanges | ( | void | ) | const |
std::vector< int > stateChanges | ( | void | ) | const |
returns a list of clock position of state change.
Definition at line 211 of file SignalBundle.cc.
std::vector< int > stateChanges | ( | void | ) | const |
returns a list of clock position of state change.
Definition at line 130 of file SignalVector.cc.
|
inline |
|
inline |
|
inline |
returns true if this wire is in a stereo layer.
|
inline |
|
static |
vector< const TCWHit * > stereoHits | ( | void | ) | const |
returns a list of stereo hits.
'update()' must be called before calling this function.
Definition at line 1692 of file TRGCDC.cc.
|
inline |
|
inline |
returns a list of TRGCDCSegmentHit in a stereo super layer N.
'simulate()' must be called before calling this function
Definition at line 1023 of file TRGCDC.h.
|
inline |
returns "A" or "U" or "V" depending on stereo type.
Definition at line 238 of file Layer.h.
|
inline |
returns a pointer to a CDCTriggerSegmentHit.
|
private |
Save results of fast simulation to data store (segment hits & tracks).
collection2Dfinder | name of the StoreArray for the 2D finder tracks |
collection2Dfitter | name of the StoreArray for the 2D fitter tracks |
collection3Dfitter | name of the StoreArray for the 3D fitter tracks |
Definition at line 2248 of file TRGCDC.cc.
|
static |
Dumps bit stream in string.
Definition at line 136 of file Utilities.cc.
|
static |
Dumps bit stream in string.
Definition at line 125 of file Utilities.cc.
|
private |
private member functions
private member function sub
Definition at line 641 of file Lpav.cc.
TRGState subset | ( | unsigned | i, |
unsigned | n | ||
) | const |
|
static |
|
static |
returns super layer pattern.
Definition at line 654 of file Link.cc.
|
inline |
returns a pointer to a super-layer.
0 will be returned if 'id' is invalid.
unsigned superLayerId | ( | unsigned | wireId | ) | const |
returns super layer ID. This function is expensive.
Definition at line 1820 of file TRGCDC.cc.
|
inline |
returns super layer id.
|
inline |
returns super layer id.
|
inline |
|
inline |
void swap | ( | TRGCDCJSignal & | first, |
TRGCDCJSignal & | second | ||
) | const |
Swaps the TRGCDCJSignals.
Definition at line 1241 of file JSignal.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
static |
|
inline |
|
inline |
void terminate | ( | void | ) |
Termination.
Definition at line 1530 of file Fitter3D.cc.
void terminate | ( | void | ) |
termination.
Definition at line 395 of file HoughFinder.cc.
void terminate | ( | void | ) |
terminate function
Definition at line 249 of file EventTime.cc.
void terminate | ( | void | ) |
Termination method.
Definition at line 210 of file Hough3DFinder.cc.
void terminate | ( | void | ) |
terminate
Definition at line 125 of file TrackSegmentFinder.cc.
|
private |
terminates when run is finished
Definition at line 739 of file TRGCDC.cc.
|
private |
|
private |
|
inline |
|
inline |
|
static |
Makes timing decision.
Definition at line 870 of file TRGGDL.cc.
void toSignedVhdlCode | ( | ) |
Changes signal type to signed type in VHDL.
Definition at line 1750 of file JSignal.cc.
|
static |
Change singal to std_logic_vector.
Definition at line 1152 of file JSignal.cc.
|
static |
Change signal to std_logic_vector using vector<bool>. (Will be deprecated.)
Definition at line 1121 of file JSignal.cc.
|
inlinestatic |
Coverts from bool array to unsigned.
Definition at line 334 of file State.h.
void toUnsignedVhdlCode | ( | ) |
Changes signal type to unsigned type in VHDL.
Definition at line 1768 of file JSignal.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
returns a 2D tracker board.
|
inline |
returns MC track list which contributes to CDC hits.
Definition at line 86 of file PerfectFinder.h.
|
inline |
returns Hough transformation object.
Definition at line 522 of file HoughPlaneBase.h.
TRGArea2D | ( | const TRGPoint2D & | leftBottom, |
const TRGPoint2D & | rightUpper | ||
) |
TRGBitStream | ( | ) |
TRGBitStream | ( | const char * const | c, |
unsigned | sizeInBit | ||
) |
Constructor with char stream.
Definition at line 47 of file BitStream.cc.
TRGBitStream | ( | const TRGBitStream & | a | ) |
|
explicit |
|
static |
Make trigger signals from bit stream.
Definition at line 127 of file BitStream.cc.
TRGBoard | ( | const std::string & | name, |
const TRGClock & | systemClock, | ||
const TRGClock & | dataClock, | ||
const TRGClock & | userClockInput, | ||
const TRGClock & | userClockOutput | ||
) |
Constructor.
Definition at line 22 of file Board.cc.
|
private |
Constructor.
Definition at line 217 of file TRGCDC.cc.
TRGCDCCell | ( | unsigned | id, |
unsigned | localId, | ||
const TRGCDCLayer & | layer, | ||
const HepGeom::Point3D< double > & | forwardPosition, | ||
const HepGeom::Point3D< double > & | backwardPosition | ||
) |
Constructor.
Definition at line 30 of file Cell.cc.
|
explicit |
Constructor.
Definition at line 34 of file CellHit.cc.
|
explicit |
Constructor with links.
Definition at line 34 of file Circle.cc.
TRGCDCCircle | ( | double | r, |
double | phi, | ||
double | charge, | ||
const TRGCDCHoughPlane & | plane | ||
) |
|
explicit |
TRGCDCEventTime | ( | const TRGCDC & | TRGCDC, |
bool | makeRootFile | ||
) |
constructor of TRGCDCEventTime class
Definition at line 43 of file EventTime.cc.
TRGCDCEventTimeFinder | ( | const std::string & | name, |
const TRGClock & | systemClock, | ||
const TRGClock & | dataClock, | ||
const TRGClock & | userClockInput, | ||
const TRGClock & | userClockOutput | ||
) |
Constructor.
Definition at line 41 of file EventTimeFinder.cc.
TRGCDCFitter | ( | const std::string & | name | ) |
TRGCDCFitter3D | ( | const std::string & | name, |
const std::string & | rootFitter3DFile, | ||
const TRGCDC & | TRGCDC, | ||
const std::map< std::string, bool > & | flags | ||
) |
Constructor.
Definition at line 62 of file Fitter3D.cc.
TRGCDCFrontEnd | ( | const std::string & | name, |
boardType | type, | ||
const TRGClock & | systemClock, | ||
const TRGClock & | dataClock, | ||
const TRGClock & | userClock | ||
) |
Constructor.
Definition at line 31 of file FrontEnd.cc.
TRGCDCHelix | ( | const HepGeom::Point3D< double > & | pivot, |
const CLHEP::HepVector & | a | ||
) |
TRGCDCHelix | ( | const HepGeom::Point3D< double > & | pivot, |
const CLHEP::HepVector & | a, | ||
const CLHEP::HepSymMatrix & | Ea | ||
) |
Constructor with pivot, helix parameter a, and its error matrix.
Definition at line 70 of file Helix.cc.
TRGCDCHelix | ( | const HepGeom::Point3D< double > & | position, |
const CLHEP::Hep3Vector & | momentum, | ||
double | charge | ||
) |
Constructor with position, momentum, and charge.
TRGCDCHough3DFinder | ( | const TRGCDC & | TRGCDC, |
bool | makeRootFile, | ||
int | finderMode | ||
) |
Contructor.
Definition at line 51 of file Hough3DFinder.cc.
TRGCDCHoughFinder | ( | const std::string & | name, |
const TRGCDC & | TRGCDC, | ||
unsigned | peakMin, | ||
const std::string & | mappingFilePlus, | ||
const std::string & | mappingFileMinus, | ||
unsigned | doit | ||
) |
Contructor.
Definition at line 79 of file HoughFinder.cc.
TRGCDCHoughPlane | ( | const std::string & | name, |
const TRGCDCHoughTransformation & | transformation, | ||
unsigned | nX, | ||
float | xMin, | ||
float | xMax, | ||
unsigned | nY, | ||
float | yMin, | ||
float | yMax | ||
) |
Contructor.
Definition at line 23 of file HoughPlane.cc.
TRGCDCHoughPlaneBase | ( | const std::string & | name, |
const TRGCDCHoughTransformation & | transformation, | ||
unsigned | nX, | ||
float | xMin, | ||
float | xMax, | ||
unsigned | nY, | ||
float | yMin, | ||
float | yMax | ||
) |
Contructor.
Definition at line 23 of file HoughPlaneBase.cc.
TRGCDCHoughPlaneBoolean | ( | const std::string & | name, |
const TRGCDCHoughTransformation & | transformation, | ||
unsigned | nX, | ||
float | xMin, | ||
float | xMax, | ||
unsigned | nY, | ||
float | yMin, | ||
float | yMax | ||
) |
TRGCDCHoughPlaneMulti | ( | const std::string & | name, |
const TRGCDCHoughTransformation & | transformation, | ||
unsigned | nX, | ||
float | xMin, | ||
float | xMax, | ||
unsigned | nY, | ||
float | yMin, | ||
float | yMax, | ||
unsigned | nLayers | ||
) |
Contructor.
Definition at line 23 of file HoughPlaneMulti.cc.
TRGCDCHoughPlaneMulti2 | ( | const std::string & | name, |
const TRGCDCHoughTransformation & | transformation, | ||
unsigned | nX, | ||
float | xMin, | ||
float | xMax, | ||
unsigned | nY, | ||
float | yMin, | ||
float | yMax, | ||
unsigned | nLayers | ||
) |
Contructor.
Definition at line 25 of file HoughPlaneMulti2.cc.
TRGCDCHoughTransformation | ( | const std::string & | name | ) |
|
explicit |
Contructor.
Definition at line 25 of file HoughTransformationCircle.cc.
TRGCDCJLUT | ( | const std::string & | name = "no_name" | ) |
Contructor.
Definition at line 47 of file JLUT.cc.
TRGCDCJLUT | ( | const TRGCDCJLUT & | in | ) |
Copy constructor.
Definition at line 57 of file JLUT.cc.
TRGCDCJSignal | ( | ) |
TRGCDCJSignal | ( | double const & | value, |
double const & | toReal, | ||
TRGCDCJSignalData * | commonData | ||
) |
Constant constructor.
Definition at line 132 of file JSignal.cc.
TRGCDCJSignal | ( | int const & | bitwidth, |
double const & | value, | ||
double const & | min, | ||
double const & | max, | ||
int const & | clock, | ||
TRGCDCJSignalData * | commonData | ||
) |
Actual to integer constructor with clock.
Definition at line 78 of file JSignal.cc.
TRGCDCJSignal | ( | int const & | bitwidth, |
double const & | value, | ||
double const & | min, | ||
double const & | max, | ||
TRGCDCJSignalData * | commonData | ||
) |
Actual to integer constructor with clock set to 0.
Definition at line 103 of file JSignal.cc.
TRGCDCJSignal | ( | signed long long const & | intValue, |
double const & | toReal, | ||
signed long long const & | minInt, | ||
signed long long const & | maxInt, | ||
double const & | actual, | ||
double const & | minActual, | ||
double const & | maxActual, | ||
int const & | finishClock, | ||
TRGCDCJSignalData * | commonData, | ||
bool | b_slv = 0 |
||
) |
Integer constructor.
Definition at line 109 of file JSignal.cc.
TRGCDCJSignal | ( | std::vector< bool > const & | slvValue, |
int const & | finishClock, | ||
TRGCDCJSignalData * | commonData | ||
) |
Slv constructor.
Definition at line 152 of file JSignal.cc.
|
explicit |
Copy constructor.
Definition at line 60 of file JSignal.cc.
Constructor for class.
Definition at line 34 of file JSignalData.cc.
TRGCDCLayer | ( | ) |
Empty constructor for reduced CDC.
Definition at line 83 of file Layer.cc.
TRGCDCLayer | ( | unsigned | id, |
const TRGCDCCell & | w | ||
) |
Constructor for track segments.
Definition at line 67 of file Layer.cc.
TRGCDCLayer | ( | unsigned | id, |
unsigned | superLayerId, | ||
unsigned | localLayerId, | ||
unsigned | axialStereoLayerId, | ||
unsigned | axialStereoSuperLayerId, | ||
float | offset, | ||
int | nShifts, | ||
float | cellSize, | ||
unsigned | nCells, | ||
float | innerRadius, | ||
float | outerRadius | ||
) |
Constructor.
Definition at line 41 of file Layer.cc.
TRGCDCLink | ( | const TRGCDCLink & | l | ) |
Copy constructor.
Definition at line 76 of file Link.cc.
TRGCDCLink | ( | TRGCDCTrack * | track = 0 , |
const TRGCDCCellHit * | hit = 0 , |
||
const HepGeom::Point3D< double > & | position = Point3D() |
||
) |
Constructor.
Definition at line 44 of file Link.cc.
|
inline |
|
inlineprivate |
TRGCDCLpav | ( | ) |
Constructor.
Definition at line 49 of file Lpav.cc.
|
inlineprivate |
Constructors and destructor.
Definition at line 221 of file Lpav.h.
TRGCDCLUT | ( | ) |
|
explicit |
TRGCDCPerfectFinder | ( | const std::string & | name, |
const TRGCDC & | TRGCDC | ||
) |
Contructor.
Definition at line 54 of file PerfectFinder.cc.
TRGCDCRelation | ( | const TRGCDCTrackBase & | track, |
const std::map< unsigned, unsigned > & | relation | ||
) |
Constructor.
Definition at line 27 of file Relation.cc.
TRGCDCSegment | ( | unsigned | id, |
const TRGCDCLayer & | layer, | ||
const TRGCDCWire & | w, | ||
const TRGClock & | clock, | ||
const std::string & | TSLUTFile, | ||
const std::vector< const TRGCDCWire * > & | wires | ||
) |
Constructor.
Definition at line 40 of file Segment.cc.
|
explicit |
Constructor.
Definition at line 32 of file SegmentHit.cc.
TRGCDCTrack | ( | ) |
Constructor.
Definition at line 37 of file TRGCDCTrack.cc.
|
explicit |
Constructor from a Circle.
Definition at line 43 of file TRGCDCTrack.cc.
TRGCDCTrackBase | ( | const std::string & | name, |
double | charge | ||
) |
TRGCDCTrackBase | ( | const TRGCDCTrackBase & | t | ) |
TRGCDCTracker2D | ( | const std::string & | name, |
const TRGClock & | systemClock, | ||
const TRGClock & | dataClock, | ||
const TRGClock & | userClockInput, | ||
const TRGClock & | userClockOutput | ||
) |
Constructor.
Definition at line 38 of file Tracker2D.cc.
|
private |
TRGCDCTrackSegmentFinder | ( | const TRGCDC & | TRGCDC, |
bool | makeRootFile, | ||
bool | logicLUTFlag | ||
) |
Constructor.
Definition at line 49 of file TrackSegmentFinder.cc.
TRGCDCTrackSegmentFinder | ( | const TRGCDC & | TRGCDC, |
const std::string & | name, | ||
boardType | type, | ||
const TRGClock & | systemClock, | ||
const TRGClock & | dataClock, | ||
const TRGClock & | userClockInput, | ||
const TRGClock & | userClockOutput, | ||
const std::vector< TRGCDCSegment * > & | tsSL | ||
) |
Constructor.
Definition at line 87 of file TrackSegmentFinder.cc.
TRGCDCWire | ( | unsigned | id, |
unsigned | localId, | ||
const TRGCDCLayer & | , | ||
const HepGeom::Point3D< double > & | forwardPosition, | ||
const HepGeom::Point3D< double > & | backwardPosition, | ||
const TRGClock & | clock | ||
) |
|
explicit |
Constructor.
Definition at line 30 of file WireHit.cc.
TRGCDCWireHitMC | ( | const TRGCDCWire * | w, |
const TRGCDCWireHit * | wh | ||
) |
Constructor.
Definition at line 21 of file WireHitMC.cc.
TRGChannel | ( | const std::string & | name, |
const TRGBoard & | sender, | ||
const TRGBoard & | receiver | ||
) |
Constructor.
Definition at line 21 of file Channel.cc.
TRGClock | ( | const std::string & | name, |
const TRGClock & | source, | ||
unsigned | multiplicationFactor, | ||
unsigned | divisionFactor = 1 |
||
) |
Constructor with clock source.
Definition at line 60 of file Clock.cc.
TRGClock | ( | const std::string & | name, |
double | offset, | ||
double | frequency | ||
) |
Constructor. "offset" is in unit of ns. "frequency" is in unit of MHz.
Definition at line 31 of file Clock.cc.
TrgEclDatabaseImporter Constructor.
Definition at line 38 of file TrgEclDatabaseImporter.cc.
|
private |
Constructor.
Definition at line 110 of file TRGGDL.cc.
|
private |
Constructor.
Definition at line 80 of file TRGGRL.cc.
TRGGRLMatch | ( | TRGCDCTrack * | track, |
TRGECLCluster * | cluster, | ||
int | flag | ||
) |
public member functions of TRGGRLMatch class Private variables can be called by the corresponding get function
Constructor
Definition at line 25 of file TRGGRLMatch.cc.
TRGOpticalLink | ( | const std::string & | name, |
const TRGClock & | clock | ||
) |
TRGPoint2D | ( | ) |
|
explicit |
Constructor.
Definition at line 41 of file Point2D.cc.
TRGPoint2D | ( | const HepGeom::Point3D< double > & | a | ) |
Constructor.
Definition at line 29 of file Point2D.cc.
|
explicit |
Constructor.
Definition at line 35 of file Point2D.cc.
TRGPoint2D | ( | double | x, |
double | y | ||
) |
Constructor with clock and timing(t0 leading, t1 trailing).
t0 and t1 are in absolute time.
Constructor with clock and timing(t0 leading, t1 trailing).
Copy constructor.
Definition at line 91 of file Signal.cc.
Constructor.
Definition at line 105 of file Signal.cc.
Constructor with clock and timing(t0 leading, t1 trailing).
Definition at line 30 of file Signal.cc.
TRGSignalBundle | ( | const std::string & | name, |
const TRGClock & | c | ||
) |
Constructor with name.
Definition at line 38 of file SignalBundle.cc.
TRGSignalBundle | ( | const std::string & | name, |
const TRGClock & | clock, | ||
const TRGSignalBundle & | input, | ||
const unsigned | outputBitSize, | ||
const unsigned | registerBitSize, | ||
TRGState(*)(const TRGState &in, TRGState ®isters, bool &logicStillActive) | packer | ||
) |
Constructor with a packer which can handle multiple clock states.
Definition at line 91 of file SignalBundle.cc.
TRGSignalBundle | ( | const std::string & | name, |
const TRGClock & | clock, | ||
const TRGSignalBundle & | input, | ||
const unsigned | outputBitSize, | ||
TRGState(*)(const TRGState &) | packer | ||
) |
Constructor with a packer.
Definition at line 44 of file SignalBundle.cc.
|
explicit |
Default constructor.
Definition at line 32 of file SignalBundle.cc.
TRGSignalVector | ( | const std::string & | name, |
const TRGClock & | c, | ||
unsigned | size = 0 |
||
) |
Default constructor.
Constructor with name.
Definition at line 29 of file SignalVector.cc.
|
explicit |
Constructor.
Definition at line 52 of file SignalVector.cc.
|
explicit |
Copy constructor.
Definition at line 42 of file SignalVector.cc.
TRGState | ( | const char * | inChar, |
unsigned | type | ||
) |
Constructor. type: 0-> binary, 1->hex.
Definition at line 124 of file State.cc.
TRGState | ( | std::vector< bool > | states | ) |
Constructor.
TRGState | ( | std::vector< unsigned > & | states, |
unsigned | order | ||
) |
TRGState | ( | unsigned | bitSize, |
const bool *const | states | ||
) |
TRGState | ( | unsigned | bitSize, |
unsigned | value | ||
) |
TRGState | ( | unsigned | bitSize = 0 | ) |
Constructor with clock.
For rising edge, edge must be true. Given timing is syncronized to clock.
|
inline |
returns a TSF board.
TRGCDCFrontEnd::boardType type | ( | void | ) | const |
TRGCDCMerger::unitType type | ( | void | ) | const |
TRGCDCTrackSegmentFinder::boardType type | ( | void | ) | const |
board type of TSF
Definition at line 121 of file TrackSegmentFinder.cc.
bool udrel | ( | vector< unsigned > | a, |
vector< unsigned > | b | ||
) |
...udrel...
Definition at line 183 of file PeakFinder.cc.
|
inline |
|
inline |
Unpack TSF output.
Definition at line 157 of file Tracker2D.cc.
Unpack TRGState.
Definition at line 719 of file Merger.cc.
Unpacks TRGState.
Definition at line 1273 of file FrontEnd.cc.
Unpacks TRGState.
Definition at line 1368 of file FrontEnd.cc.
Unpack TRGState.
Definition at line 905 of file Merger.cc.
Unpacks TRGState.
Definition at line 1438 of file FrontEnd.cc.
Unpacks TRGState.
Definition at line 1519 of file FrontEnd.cc.
const TRGSignal & unset | ( | int | t0, |
int | t1 | ||
) |
clear(or unset) with leading edge at clock t0 and with trailing edge at clock t1.
Definition at line 426 of file Signal.cc.
void update | ( | void | ) |
updates TRGCDC wire information. clear() is called in this function.
Definition at line 984 of file TRGCDC.cc.
void update | ( | bool | mcAnalysis = true | ) |
void update | ( | bool | mcAnalysis = true | ) |
updates TRGGRL information.
Definition at line 143 of file TRGGRL.cc.
|
inline |
|
staticprivate |
updates information.
Definition at line 29 of file TrackMC.cc.
void updateByData | ( | int | inputMode | ) |
updates TRGCDC wire information by Hardware data 0: From CDC FE ASCII file (Implementing) 1: From CDC FE-DAQ root file (Not implemented) 2: From TSIM root file (Not implemented)
Definition at line 1179 of file TRGCDC.cc.
|
private |
update Caches
Definition at line 436 of file Helix.cc.
|
virtual |
Stepping action to control a step in G4.
Definition at line 33 of file SteppingAction.cc.
|
inline |
|
static |
Values => [name, value, bitwidth, min, max, clock] Changes values to signals.
Definition at line 2208 of file JSignal.cc.
|
static |
returns version.
Definition at line 53 of file FrontEnd.cc.
|
static |
|
static |
returns version.
Definition at line 52 of file Tracker2D.cc.
string version | ( | void | ) | const |
Gets version of class.
Definition at line 1548 of file Fitter3D.cc.
string version | ( | void | ) | const |
returns version.
Definition at line 74 of file HoughFinder.cc.
std::string version | ( | void | ) | const |
std::string version | ( | void | ) | const |
string version | ( | void | ) | const |
returns version.
Definition at line 38 of file PeakFinder.cc.
string version | ( | void | ) | const |
returns version.
Definition at line 49 of file PerfectFinder.cc.
string version | ( | void | ) | const |
string version | ( | void | ) | const |
string version | ( | void | ) | const |
|
inline |
|
static |
Writes vhdl code using one signal.
Definition at line 1844 of file JSignal.cc.
|
static |
Writes vhdl code using two signals.
Definition at line 1781 of file JSignal.cc.
void vote | ( | float | phi, |
unsigned | layerId, | ||
int | weight | ||
) |
vote
Definition at line 110 of file HoughPlaneMulti.cc.
void vote | ( | float | rx, |
float | ry, | ||
float | charge, | ||
const TRGCDCHoughTransformation & | hough, | ||
unsigned | weight, | ||
unsigned | layerId | ||
) |
vote
Definition at line 61 of file HoughPlaneMulti.cc.
void vote | ( | float | rx, |
float | ry, | ||
float | charge, | ||
int | weight = 1 |
||
) |
Votes with charge decision.
Definition at line 57 of file HoughPlaneBoolean.cc.
|
virtual |
Voring.
Reimplemented in TRGCDCHoughPlaneMulti, and TRGCDCHoughPlaneMulti2.
Definition at line 158 of file HoughPlaneBase.cc.
|
inline |
Voting.
Definition at line 175 of file HoughPlaneMulti2.h.
|
inlinevirtual |
Voring.
Reimplemented in TRGCDCHoughPlaneMulti, TRGCDCHoughPlaneMulti2, and TRGCDCHoughPlaneBoolean.
Definition at line 506 of file HoughPlaneBase.h.
|
inlineoverridevirtual |
|
inline |
|
inlinevirtual |
Votes using a pattern.
Reimplemented in TRGCDCHoughPlaneMulti, and TRGCDCHoughPlaneMulti2.
Definition at line 515 of file HoughPlaneBase.h.
|
inline |
void vote | ( | unsigned | patternId, |
int | weight | ||
) |
|
virtual |
Votes using a pattern.
Definition at line 224 of file HoughPlane.cc.
void voteUsedInTrasan | ( | float | rx, |
float | ry, | ||
float | charge, | ||
int | weight = 1 |
||
) |
Votes with charge decision.
Definition at line 141 of file HoughPlaneBoolean.cc.
TRGSignal & widen | ( | unsigned | width | ) |
returns widen signals. Signals wider than "width" will be untouched.
Definition at line 321 of file Signal.cc.
|
static |
returns width(wire cell unit) of given std::vector<TRGCDCLink *>.
This function assumes that all TRGCDCLink's are in the same super layer.
Definition at line 483 of file Link.cc.
unsigned width | ( | unsigned | i = 0 | ) | const |
const TCWire * wire | ( | float | r, |
float | phi | ||
) | const |
returns a pointer to a wire.
returns a pointer to a wire.
Definition at line 915 of file TRGCDC.cc.
const TCWire * wire | ( | unsigned | layerId, |
int | localId | ||
) | const |
const TCWire * wire | ( | unsigned | wireId | ) | const |
const TRGCDCWire * wire | ( | void | ) | const |
const TRGCDCWire & wire | ( | void | ) | const |
returns a pointer to a TRGCDCWire.
Definition at line 60 of file WireHit.cc.
|
inline |
returns a pointer to a TRGCDCWire.
Definition at line 135 of file WireHitMC.h.
string wireName | ( | unsigned | wireId | ) | const |
|
inline |
HepGeom::Point3D< double > x | ( | double | dPhi, |
CLHEP::HepSymMatrix & | Ex | ||
) | const |
returns position and convariance matrix(Ex) after rotation.
Definition at line 171 of file Helix.cc.
double * x | ( | double | dPhi, |
double | p[3] | ||
) | const |
returns position after rotating angle dPhi in phi direction.
Definition at line 153 of file Helix.cc.
HepGeom::Point3D< double > x | ( | double | dPhi = 0. | ) | const |
returns position after rotating angle dPhi in phi direction.
Definition at line 135 of file Helix.cc.
|
private |
|
inline |
|
inlinevirtual |
returns position vector.
Reimplemented in TRGCDCTrack.
Definition at line 213 of file TrackBase.h.
|
inline |
|
inlineoverridevirtual |
returns position vector.
Reimplemented from TRGCDCTrackBase.
Definition at line 173 of file TRGCDCTrack.h.
|
private |
private const member functions
Definition at line 197 of file Lpar.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
returns size of x bin.
Definition at line 289 of file HoughPlaneBase.h.
|
private |
private const member functions
Definition at line 157 of file Lpar.cc.
|
inline |
middle position of a wire. z componet is 0.
|
inline |
returns middle position of a wire. z componet is 0.
|
inline |
returns position in the middle of wire. z is always zero, however.
|
inline |
returns middle position of a wire. z componet is 0.
Definition at line 616 of file Link.h.
|
private |
|
inline |
|
overridevirtual |
returns Y coordinate in a Hough parameter plane.
Implements TRGCDCHoughTransformation.
Definition at line 36 of file HoughTransformationCircle.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
returns size of y bin.
Definition at line 335 of file HoughPlaneBase.h.
|
virtual |
Destructor.
Definition at line 69 of file BitStream.cc.
|
privatevirtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
~TRGCDCHough3DFinder | ( | ) |
|
virtual |
Destructor.
Definition at line 184 of file HoughFinder.cc.
|
virtual |
Destructor.
Definition at line 40 of file HoughPlane.cc.
|
virtual |
Destructor.
Definition at line 46 of file HoughPlaneBase.cc.
|
virtual |
Destructor.
Definition at line 46 of file HoughPlaneBoolean.cc.
|
virtual |
Destructor.
Definition at line 54 of file HoughPlaneMulti.cc.
|
virtual |
Destructor.
Definition at line 58 of file HoughPlaneMulti2.cc.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Destructor.
|
privatevirtual |
|
privatevirtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Destructor.
|
virtual |
|
virtual |
|
virtual |
|
staticprivate |
|
staticprivate |
Keeps all TRGCDCSegmentHit created by new().
Definition at line 73 of file SegmentHit.h.
|
staticprivate |
Keeps all TRGCDCWireHit created by new().
|
staticprivate |
|
staticprivate |
|
static |
|
staticprivate |
|
staticprivate |
|
staticprivate |
vector of pointers to TRGCDCTrackMC
|
staticprivate |
a vector to keep all TRGCDCTrack objects.
Definition at line 105 of file TRGCDCTrack.h.
|
staticprivate |
# of TSFs in super layer i.
Definition at line 105 of file Tracker2D.h.
|
staticprivate |
# of TSFs.
Definition at line 102 of file Tracker2D.h.
|
staticprivate |
|
staticprivate |
Keeps TS hit info.
Definition at line 108 of file Tracker2D.h.
|
static |
|
static |
|
static |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
const int ntrgline = 18 |
set the total number of trigger lines and prescalefactor
Definition at line 44 of file L1TriggerMenuv0.cc.
double scalef_phase2[ntrgline] = {1, 1, 20, 1, 1, 1, 1, 1, 1, 1, 1, 10, 10, 1, 1, 1, 1, 1} |
prescale factor for phase2
Definition at line 46 of file L1TriggerMenuv0.cc.
double scalef_phase3[ntrgline] = {1, 1, 20, 2, 1, 1, 1, 1, 2, 1, 1, 20, 20, 1, 5, 1, 3, 5} |
prescale factor for phase3
Definition at line 48 of file L1TriggerMenuv0.cc.
const TRGCDCLayer* TRGCDCUndefinedLayer |