|
| GFTrackCand () |
|
| ~GFTrackCand () |
|
| GFTrackCand (double curv, double dip, double inv, std::vector< unsigned int > detIDs, std::vector< unsigned int > hitIDs) |
| Initializing constructor. More...
|
|
| GFTrackCand (double curv, double dip, double inv, std::vector< unsigned int > detIDs, std::vector< unsigned int > hitIDs, std::vector< double > rhos) |
|
void | getHit (unsigned int i, unsigned int &detId, unsigned int &hitId) const |
| Get detector ID and cluster index (hitId) for hit number i. More...
|
|
void | getHit (unsigned int i, unsigned int &detId, unsigned int &hitId, double &rho) const |
| Get detector ID and cluster index (hitId) for hit number i with ordering parameter rho. More...
|
|
void | getHitWithPlane (unsigned int i, unsigned int &detId, unsigned int &hitId, unsigned int &planeId) const |
| Get detector ID and cluster index (hitId) for hit number i with plane id. More...
|
|
unsigned int | getNHits () const |
|
double | getCurv () const |
|
double | getDip () const |
|
bool | inverted () const |
|
std::vector< unsigned int > | GetHitIDs (int detId=-1) |
|
std::vector< unsigned int > | GetDetIDs () const |
|
std::vector< double > | GetRhos () const |
|
std::set< unsigned int > | GetUniqueDetIDs () const |
|
int | getMcTrackId () const |
| get the MCT track id, for MC simulations - def. value -1 More...
|
|
TVector3 | getPosSeed () const |
| get the seed value for track: pos More...
|
|
TVector3 | getDirSeed () const |
| get the seed value for track: direction More...
|
|
double | getQoverPseed () const |
| get the seed value for track: qoverp More...
|
|
TVector3 | getPosError () const |
| get the seed value for track: error on pos (standard deviation) More...
|
|
TVector3 | getDirError () const |
| get the seed value for track: error on direction (standard deviation) More...
|
|
int | getPdgCode () const |
| get the PDG code More...
|
|
void | addHit (unsigned int detId, unsigned int hitId, double rho=0., unsigned int planeId=0) |
|
void | setCurv (double c) |
|
void | setDip (double d) |
|
void | setInverted (bool f=true) |
|
void | setMcTrackId (int i) |
| set the MCT track id, for MC simulations More...
|
|
bool | HitInTrack (unsigned int detId, unsigned int hitId) |
| Test if hit already is part of this track candidate. More...
|
|
void | setTrackSeed (const TVector3 &pos, const TVector3 &direction, const double qop) |
| set the seed values for track: pos, direction, q/p More...
|
|
void | setComplTrackSeed (const TVector3 &pos, const TVector3 &mom, const int pdgCode, TVector3 posError=TVector3(1.0, 1.0, 1.0), TVector3 dirError=TVector3(1.0, 1.0, 1.0)) |
| set the seed values for track: pos, momentum, pdgCode, pos error, momentum error (errors are optional and will be set to 1,1,1 if not given) More...
|
|
void | setPdgCode (int pdgCode) |
| set a particle hypothesis in form of a PDG code More...
|
|
void | append (const GFTrackCand &) |
|
void | reset () |
|
void | Print () const |
|
Track candidate – a list of cluster indices.
- Author
- Christian Höppner (Technische Universität München, original author)
-
Sebastian Neubert (Technische Universität München, original author)
The main task of the GFTrackCand object is to store a list of indices to cluster objects. Each cluster in the Track is identified by it's detector ID and it's index in the corresponding TClonesArray. Also there is a ordering parameter rho, to order hits. Optionally, plane indices for the hits can be stored (most importantly for fitting with the GFDaf). This information is used by the RecoHitFactory to automatically load RecoHits into a Track. Through this it is possible to define Tracks over an arbitrary number of different detectors.
In addition GFTrackCand offers members to store starting values for the fit. However this information is not autmatically used in genfit!!! But a pointer to a GFTrackCand can be passed to the RKTrackRep to make use of this information.
- See also
- RecoHitFactory
Definition at line 55 of file GFTrackCand.h.
void GFTrackCand::setComplTrackSeed |
( |
const TVector3 & |
pos, |
|
|
const TVector3 & |
mom, |
|
|
const int |
pdgCode, |
|
|
TVector3 |
posError = TVector3(1.0, 1.0, 1.0) , |
|
|
TVector3 |
dirError = TVector3(1.0, 1.0, 1.0) |
|
) |
| |
set the seed values for track: pos, momentum, pdgCode, pos error, momentum error (errors are optional and will be set to 1,1,1 if not given)
Referenced by setTrackSeed().