FairRoot/PandaRoot
|
#include <PndStraightLineTrackFinderTask.h>
Public Member Functions | |
PndStraightLineTrackFinderTask (Int_t inFinderMode=0, TString hitBranch="LMDHitsStrip", TString clusterBranch="LMDStripClusterCand", TString digiBranch="LMDStripDigis", Int_t innSensPP=8) | |
virtual | ~PndStraightLineTrackFinderTask () |
virtual void | SetParContainers () |
virtual InitStatus | Init () |
virtual InitStatus | ReInit () |
virtual void | Exec (Option_t *opt) |
void | SetVerbose (Int_t verbose) |
void | SetInaccuracy (Double_t accu) |
void | SetSensStripFlag (bool fS) |
void | SetSensPixelFlag (bool fS) |
Private Member Functions | |
Double_t | GetTrackDip (PndMCTrack *myTrack) |
Double_t | GetTrackCurvature (PndMCTrack *myTrack) |
void | Register () |
void | Reset () |
void | ProduceHits () |
bool | SortHitsByZ (std::vector< std::vector< std::pair< Int_t, bool > > > &hitsd, Int_t nStripHits) |
bool | SortHitsByDet (std::vector< std::vector< std::pair< Int_t, bool > > > &hitsd, Int_t nStripHits) |
bool | SortHitsByDet2 (std::vector< std::vector< std::pair< Int_t, bool > > > &hitsd, Int_t nStripHits) |
void | FindHitsI (std::vector< PndTrackCand > &tofill, std::vector< std::vector< std::pair< Int_t, bool > > > &hitsd, Int_t nStripHits) |
void | FindHitsII (std::vector< PndTrackCand > &tofill, std::vector< std::vector< std::pair< Int_t, bool > > > &hitsd, Int_t nStripHits) |
void | FindHitsIII (std::vector< PndTrackCand > &tofill, std::vector< std::vector< std::pair< Int_t, bool > > > &hitsd, Int_t nStripHits) |
ClassDef (PndStraightLineTrackFinderTask, 2) | |
Private Attributes | |
bool | flagStipSens |
bool | flagPixelSens |
Double_t | dXY |
Int_t | fFinderMode |
Int_t | nSensPP |
TString | fHitBranchStrip |
TString | fClusterBranchStrip |
TString | fDigiBranchStrip |
TClonesArray * | fStripHitArray |
TClonesArray * | fStripClusterArray |
TClonesArray * | fStripDigiArray |
TClonesArray * | fTrackCandArray |
Definition at line 24 of file PndStraightLineTrackFinderTask.h.
PndStraightLineTrackFinderTask::PndStraightLineTrackFinderTask | ( | Int_t | inFinderMode = 0 , |
TString | hitBranch = "LMDHitsStrip" , |
||
TString | clusterBranch = "LMDStripClusterCand" , |
||
TString | digiBranch = "LMDStripDigis" , |
||
Int_t | innSensPP = 8 |
||
) |
Default constructor
Definition at line 22 of file PndStraightLineTrackFinderTask.cxx.
References dXY, fClusterBranchStrip, fDigiBranchStrip, fFinderMode, fHitBranchStrip, flagPixelSens, and flagStipSens.
|
virtual |
|
private |
|
virtual |
Virtual method Exec
strip sensors
pixel sensors
Definition at line 682 of file PndStraightLineTrackFinderTask.cxx.
References Double_t, fFinderMode, FindHitsI(), FindHitsII(), FindHitsIII(), flagPixelSens, flagStipSens, fStripHitArray, fTrackCandArray, fVerbose, hit(), i, SortHitsByDet(), SortHitsByDet2(), and t.
|
private |
Add seed information to track---------—
Definition at line 524 of file PndStraightLineTrackFinderTask.cxx.
References PndTrackCand::AddHit(), Bool_t, Double_t, dXY, fHitBranchStrip, fStripHitArray, fVerbose, PndSdsHit::GetPosition(), hit(), i, sqrt(), and vec.
Referenced by Exec().
|
private |
Definition at line 388 of file PndStraightLineTrackFinderTask.cxx.
References PndTrackCand::AddHit(), Bool_t, Double_t, dXY, fStripClusterArray, fStripDigiArray, fStripHitArray, fVerbose, PndSdsHit::GetClusterIndex(), PndSdsDigi::GetDetID(), PndSdsCluster::GetDigiIndex(), PndSdsHit::GetPosition(), hit(), i, sqrt(), and vec.
Referenced by Exec().
|
private |
Definition at line 252 of file PndStraightLineTrackFinderTask.cxx.
References PndTrackCand::AddHit(), Bool_t, Double_t, dXY, fStripClusterArray, fStripDigiArray, fStripHitArray, fVerbose, PndSdsHit::GetClusterIndex(), PndSdsDigi::GetDetID(), PndSdsCluster::GetDigiIndex(), PndSdsHit::GetPosition(), hit(), i, sqrt(), and vec.
Referenced by Exec().
|
private |
Definition at line 776 of file PndStraightLineTrackFinderTask.cxx.
References PndMCTrack::GetMomentum(), p, and CAMath::Sqrt().
|
private |
Definition at line 783 of file PndStraightLineTrackFinderTask.cxx.
References PndMCTrack::GetMomentum(), p, and CAMath::Sqrt().
|
virtual |
Definition at line 72 of file PndStraightLineTrackFinderTask.cxx.
References fClusterBranchStrip, fDigiBranchStrip, fHitBranchStrip, fStripClusterArray, fStripDigiArray, fStripHitArray, and fTrackCandArray.
|
private |
|
private |
|
virtual |
Definition at line 56 of file PndStraightLineTrackFinderTask.cxx.
|
private |
|
inline |
|
virtual |
Virtual method Init
Definition at line 46 of file PndStraightLineTrackFinderTask.cxx.
|
inline |
Definition at line 45 of file PndStraightLineTrackFinderTask.h.
References flagPixelSens.
|
inline |
Definition at line 44 of file PndStraightLineTrackFinderTask.h.
References flagStipSens.
|
inline |
|
private |
Definition at line 119 of file PndStraightLineTrackFinderTask.cxx.
References fStripHitArray, fVerbose, PndSdsHit::GetSensorID(), and nSensPP.
Referenced by Exec().
|
private |
Definition at line 150 of file PndStraightLineTrackFinderTask.cxx.
References fStripHitArray, fVerbose, and PndSdsHit::GetSensorID().
Referenced by Exec().
|
private |
Definition at line 185 of file PndStraightLineTrackFinderTask.cxx.
References Double_t, fabs(), fStripHitArray, fVerbose, i, pos, and z.
|
private |
Definition at line 51 of file PndStraightLineTrackFinderTask.h.
Referenced by FindHitsI(), FindHitsII(), FindHitsIII(), PndStraightLineTrackFinderTask(), and SetInaccuracy().
|
private |
Definition at line 59 of file PndStraightLineTrackFinderTask.h.
Referenced by Init(), and PndStraightLineTrackFinderTask().
|
private |
Definition at line 60 of file PndStraightLineTrackFinderTask.h.
Referenced by Init(), and PndStraightLineTrackFinderTask().
|
private |
Definition at line 52 of file PndStraightLineTrackFinderTask.h.
Referenced by Exec(), and PndStraightLineTrackFinderTask().
|
private |
Definition at line 58 of file PndStraightLineTrackFinderTask.h.
Referenced by FindHitsI(), Init(), and PndStraightLineTrackFinderTask().
|
private |
Definition at line 50 of file PndStraightLineTrackFinderTask.h.
Referenced by Exec(), PndStraightLineTrackFinderTask(), and SetSensPixelFlag().
|
private |
Definition at line 45 of file PndStraightLineTrackFinderTask.h.
Referenced by Exec(), PndStraightLineTrackFinderTask(), and SetSensStripFlag().
|
private |
Definition at line 66 of file PndStraightLineTrackFinderTask.h.
Referenced by FindHitsII(), FindHitsIII(), and Init().
|
private |
Definition at line 67 of file PndStraightLineTrackFinderTask.h.
Referenced by FindHitsII(), FindHitsIII(), and Init().
|
private |
Input array of PndSdsDigis
Definition at line 65 of file PndStraightLineTrackFinderTask.h.
Referenced by Exec(), FindHitsI(), FindHitsII(), FindHitsIII(), Init(), SortHitsByDet(), SortHitsByDet2(), and SortHitsByZ().
|
private |
Output array of PndSdsHits
Definition at line 70 of file PndStraightLineTrackFinderTask.h.
|
private |
Definition at line 53 of file PndStraightLineTrackFinderTask.h.
Referenced by SortHitsByDet().