FairRoot/PandaRoot
|
#include <PndSttTrackFinderIdeal.h>
Public Member Functions | |
void | GetTrackletCircular (Double_t firstX, Double_t firstY, Double_t firstR, Double_t secondX, Double_t secondY, Double_t secondR, Double_t thirdX, Double_t thirdY, Double_t thirdR, Double_t *circleRadii, Double_t *circleCentersX, Double_t *circleCentersY) const |
void | GetTrack (Double_t &dSeed, Double_t &phiSeed, Double_t &rSeed, Double_t &zSeed, Double_t &tanLamSeed, Int_t mcTrackNo) |
PndSttTrackFinderIdeal () | |
PndSttTrackFinderIdeal (Int_t verbose) | |
virtual | ~PndSttTrackFinderIdeal () |
virtual void | Init () |
virtual Int_t | DoFind (TClonesArray *trackCandArray, TClonesArray *trackArray, TClonesArray *helixHitArray) |
virtual void | AddHitCollection (TClonesArray *mHitArray, TClonesArray *mPointArray) |
void | plotAllStraws () |
Bool_t | putStraw (Double_t xpos, Double_t ypos, Double_t radius) |
void | SetTubeArray (TClonesArray *tubeArray) |
virtual Int_t | DoFind (TClonesArray *trackArray, TClonesArray *helixHitArray)=0 |
virtual void | Finish ()=0 |
void | SetVerbose (Int_t verbose) |
void | SetHelixHitProduction (Bool_t hhprod) |
virtual void | SetInputBranchName (char *string1)=0 |
Public Attributes | |
TClonesArray * | fTubeArray |
Protected Member Functions | |
ClassDef (PndSttTrackFinder, 1) | |
Protected Attributes | |
Int_t | fVerbose |
Bool_t | fHelixHitProduction |
Private Member Functions | |
PndSttHit * | GetHitFromCollections (Int_t hitCounter) |
FairMCPoint * | GetPointFromCollections (Int_t hitCounter) |
ClassDef (PndSttTrackFinderIdeal, 1) | |
Private Attributes | |
TClonesArray * | fMCTrackArray |
Bool_t | rootoutput |
TList | fHitCollectionList |
TList | fPointCollectionList |
Definition at line 32 of file PndSttTrackFinderIdeal.h.
PndSttTrackFinderIdeal::PndSttTrackFinderIdeal | ( | ) |
Default constructor
Definition at line 36 of file PndSttTrackFinderIdeal.cxx.
References PndSttTrackFinder::fHelixHitProduction, fMCTrackArray, PndSttTrackFinder::fVerbose, and rootoutput.
PndSttTrackFinderIdeal::PndSttTrackFinderIdeal | ( | Int_t | verbose | ) |
Standard constructor
Definition at line 49 of file PndSttTrackFinderIdeal.cxx.
References PndSttTrackFinder::fHelixHitProduction, fMCTrackArray, PndSttTrackFinder::fVerbose, rootoutput, and verbose.
|
virtual |
|
inlinevirtual |
Implements PndSttTrackFinder.
Definition at line 73 of file PndSttTrackFinderIdeal.h.
References fHitCollectionList, and fPointCollectionList.
|
protectedinherited |
|
private |
|
pure virtualinherited |
Abstract method DoFind. To be implemented in the concrete class. Task: Read the pixel and strip hit arrays and fill the track array, pointers to which are given as arguments Number of tracks created
Implemented in PndSttTrackFinderReal.
Referenced by PndSttFindTracks::Exec().
|
virtual |
Track finding algorithm This just reads MC truth (MCTracks and MCPoints), creates one StsTrack for each MCTrack and attaches the hits according to the MCTrack of the corresponding MCPoint
mHitArray | Array of MAPS hits |
trackArray | Array of CbmStsTrack |
Number of tracks created
Implements PndSttTrackFinder.
Definition at line 95 of file PndSttTrackFinderIdeal.cxx.
References PndTrackCand::AddHit(), CAMath::Cos(), cos(), Double_t, eloss, fabs(), PndSttTrackFinder::fHelixHitProduction, fHitCollectionList, fMCTrackArray, fParticle, fPointCollectionList, fTubeArray, PndSttTrackFinder::fVerbose, GetEntriesFast(), GetHitFromCollections(), PndTrackCandHit::GetHitId(), PndSttHit::GetIsochrone(), PndSttHit::GetIsochroneError(), PndMCTrack::GetMomentum(), PndTrackCand::GetNHits(), PndMCTrack::GetNPoints(), PndMCTrack::GetPdgCode(), GetPointFromCollections(), PndSttTube::GetPosition(), PndTrackCand::GetSortedHit(), GetTrack(), PndSttHit::GetTubeID(), PndSttPoint::GetTubeID(), kSTT, nHits, plotAllStraws(), pos, rootoutput, PndSttHelixHit::SetdEdx(), PndTrackCand::setMcTrackId(), PndTrack::SetRefIndex(), CAMath::Sin(), and sin().
|
pure virtualinherited |
Virtual method Finish. If needed, to be implemented in the concrete class. Executed at the end of the run.
Implemented in PndSttTrackFinderReal.
Referenced by PndSttFindTracks::Finish().
|
private |
Definition at line 969 of file PndSttTrackFinderIdeal.cxx.
References At, fHitCollectionList, and GetEntriesFast().
Referenced by DoFind().
|
private |
Definition at line 995 of file PndSttTrackFinderIdeal.cxx.
References At, fHitCollectionList, fPointCollectionList, and GetEntriesFast().
Referenced by DoFind().
void PndSttTrackFinderIdeal::GetTrack | ( | Double_t & | dSeed, |
Double_t & | phiSeed, | ||
Double_t & | rSeed, | ||
Double_t & | zSeed, | ||
Double_t & | tanLamSeed, | ||
Int_t | mcTrackNo | ||
) |
Definition at line 794 of file PndSttTrackFinderIdeal.cxx.
References cos(), Double_t, dPi, fMCTrackArray, PndMCTrack::GetMomentum(), PndMCTrack::GetPdgCode(), PndMCTrack::GetStartVertex(), sign(), sin(), and sqrt().
Referenced by DoFind().
void PndSttTrackFinderIdeal::GetTrackletCircular | ( | Double_t | firstX, |
Double_t | firstY, | ||
Double_t | firstR, | ||
Double_t | secondX, | ||
Double_t | secondY, | ||
Double_t | secondR, | ||
Double_t | thirdX, | ||
Double_t | thirdY, | ||
Double_t | thirdR, | ||
Double_t * | circleRadii, | ||
Double_t * | circleCentersX, | ||
Double_t * | circleCentersY | ||
) | const |
Definition at line 604 of file PndSttTrackFinderIdeal.cxx.
References a, b, C(), c, d, Double_t, f, fabs(), g, h, r, sqrt(), x, and y.
|
virtual |
Initialisation
Reimplemented from PndSttTrackFinder.
Definition at line 72 of file PndSttTrackFinderIdeal.cxx.
References fMCTrackArray.
void PndSttTrackFinderIdeal::plotAllStraws | ( | ) |
Definition at line 882 of file PndSttTrackFinderIdeal.cxx.
References Bool_t, Double_t, i, putStraw(), sqrt(), sttCenterX, sttCenterY, tubeOuterDiam, and zpos.
Referenced by DoFind().
Definition at line 854 of file PndSttTrackFinderIdeal.cxx.
References Double_t, pipeDiam, sqrt(), and tubeOuterDiam.
Referenced by plotAllStraws().
|
inlineinherited |
set the helix hit production flag true or false
Definition at line 64 of file PndSttTrackFinder.h.
References PndSttTrackFinder::fHelixHitProduction.
Referenced by PndSttFindTracks::Init().
|
pure virtualinherited |
Implemented in PndSttTrackFinderReal.
Referenced by PndSttFindTracks::AddHitCollectionName().
|
inlinevirtual |
CHECK added
Implements PndSttTrackFinder.
Definition at line 78 of file PndSttTrackFinderIdeal.h.
References fTubeArray.
|
inlineinherited |
Set verbosity
verbose | Verbosity level |
Definition at line 61 of file PndSttTrackFinder.h.
References PndSttTrackFinder::fVerbose, and verbose.
Referenced by PndSttFindTracks::Init().
|
protectedinherited |
production to file of helix hit from PR or not
Definition at line 76 of file PndSttTrackFinder.h.
Referenced by DoFind(), PndSttTrackFinderReal::Init(), PndSttTrackFinderIdeal(), and PndSttTrackFinder::SetHelixHitProduction().
|
private |
Definition at line 88 of file PndSttTrackFinderIdeal.h.
Referenced by AddHitCollection(), DoFind(), GetHitFromCollections(), and GetPointFromCollections().
|
private |
Arrays of MC information
Definition at line 78 of file PndSttTrackFinderIdeal.h.
Referenced by DoFind(), GetTrack(), Init(), and PndSttTrackFinderIdeal().
|
private |
Definition at line 89 of file PndSttTrackFinderIdeal.h.
Referenced by AddHitCollection(), DoFind(), and GetPointFromCollections().
TClonesArray* PndSttTrackFinderIdeal::fTubeArray |
Definition at line 77 of file PndSttTrackFinderIdeal.h.
Referenced by DoFind(), and SetTubeArray().
|
protectedinherited |
Definition at line 74 of file PndSttTrackFinder.h.
Referenced by DoFind(), PndSttTrackFinderIdeal(), and PndSttTrackFinder::SetVerbose().
|
private |
Definition at line 86 of file PndSttTrackFinderIdeal.h.
Referenced by DoFind(), and PndSttTrackFinderIdeal().