PandaRoot
PndSttCATrackletGenerator Class Reference

#include <PndSttCATrackletGenerator.h>

Public Member Functions

 PndSttCATrackletGenerator (const PndSttCAData *data)
 
virtual ~PndSttCATrackletGenerator ()
 
void SetDevTubeNeighboringsPointer (int *dev_pointer)
 
void SetUseGPU (Bool_t val)
 
void FindTracks ()
 
void RefitTracks ()
 
void PrintInfo ()
 
int GetNumPrimaryTracklets ()
 
std::vector< PndTrackCandGetFirstTrackCands ()
 
void SetBz (Double_t val)
 
std::vector< Double_t > GetTimeStamps ()
 
map< int, int > GetStates () const
 
map< int, std::set< int > > GetMultiStates () const
 
void GenerateTracklets ()
 
void GenerateClusters ()
 

Detailed Description

Definition at line 65 of file PndSttCATrackletGenerator.h.

Constructor & Destructor Documentation

◆ PndSttCATrackletGenerator()

PndSttCATrackletGenerator::PndSttCATrackletGenerator ( const PndSttCAData data)
inline

Definition at line 67 of file PndSttCATrackletGenerator.h.

68  : fTimeStamps(20), fBz(2.), fTUBE_RADIUS(0.5005), fDev_tubeNeighborings(nullptr), fHits(data->GetHits()), fCombinedSkewedHits(data->GetCombinedSkewedHits()),
69  fStrawMap(data->GetStrawMap()), fMapTubeIdToHit(data->GetMapTubeIdToHit()), fMapTubeIdToPos(data->GetMapTubeIdToPos()), fMapHitToFairLink(data->GetMapHitToFairLink()),
70  fHitNeighbors(data->GetHitNeighbors()), fSeparations(data->GetSeparations()), fUseGPU(false)
71  {
72  }
std::map< int, int > GetMapTubeIdToHit() const
Definition: PndSttCAData.h:71
PndSttStrawMap * GetStrawMap() const
Definition: PndSttCAData.h:65
std::map< int, FairLink > GetMapHitToFairLink() const
Definition: PndSttCAData.h:69
std::map< int, TVector3 > GetMapTubeIdToPos() const
Definition: PndSttCAData.h:73
std::map< int, std::vector< int > > GetSeparations() const
Definition: PndSttCAData.h:77
std::map< int, std::vector< int > > GetHitNeighbors() const
Definition: PndSttCAData.h:75
std::vector< FairHit * > GetHits() const
Definition: PndSttCAData.h:61
std::multimap< int, PndSttSkewedHit * > GetCombinedSkewedHits() const
Definition: PndSttCAData.h:63

◆ ~PndSttCATrackletGenerator()

virtual PndSttCATrackletGenerator::~PndSttCATrackletGenerator ( )
inlinevirtual

Definition at line 74 of file PndSttCATrackletGenerator.h.

74 {}

Member Function Documentation

◆ FindTracks()

void PndSttCATrackletGenerator::FindTracks ( )

Referenced by SetUseGPU().

◆ GenerateClusters()

void PndSttCATrackletGenerator::GenerateClusters ( )

Referenced by GetMultiStates().

◆ GenerateTracklets()

void PndSttCATrackletGenerator::GenerateTracklets ( )

Referenced by GetMultiStates().

◆ GetFirstTrackCands()

std::vector<PndTrackCand> PndSttCATrackletGenerator::GetFirstTrackCands ( )
inline

Definition at line 90 of file PndSttCATrackletGenerator.h.

Referenced by PndSttCA::StoreTrackData().

90 { return fFirstTrackCand; };

◆ GetMultiStates()

map<int, std::set<int> > PndSttCATrackletGenerator::GetMultiStates ( ) const
inline

Definition at line 97 of file PndSttCATrackletGenerator.h.

References GenerateClusters(), and GenerateTracklets().

97 { return fMultiStates; }

◆ GetNumPrimaryTracklets()

int PndSttCATrackletGenerator::GetNumPrimaryTracklets ( )
inline

Definition at line 87 of file PndSttCATrackletGenerator.h.

Referenced by PndSttCA::GetNumPrimaryTracklets().

87 { return fStartTracklets.size(); }

◆ GetStates()

map<int, int> PndSttCATrackletGenerator::GetStates ( ) const
inline

Definition at line 96 of file PndSttCATrackletGenerator.h.

96 { return fStates; }

◆ GetTimeStamps()

std::vector<Double_t> PndSttCATrackletGenerator::GetTimeStamps ( )
inline

Definition at line 94 of file PndSttCATrackletGenerator.h.

94 { return fTimeStamps; };

◆ PrintInfo()

void PndSttCATrackletGenerator::PrintInfo ( )

Referenced by SetUseGPU().

◆ RefitTracks()

void PndSttCATrackletGenerator::RefitTracks ( )

Referenced by SetUseGPU().

◆ SetBz()

void PndSttCATrackletGenerator::SetBz ( Double_t  val)
inline

Definition at line 92 of file PndSttCATrackletGenerator.h.

92 { fBz = val; };

◆ SetDevTubeNeighboringsPointer()

void PndSttCATrackletGenerator::SetDevTubeNeighboringsPointer ( int *  dev_pointer)
inline

Definition at line 76 of file PndSttCATrackletGenerator.h.

76 { fDev_tubeNeighborings = dev_pointer; }

◆ SetUseGPU()

void PndSttCATrackletGenerator::SetUseGPU ( Bool_t  val)
inline

Definition at line 78 of file PndSttCATrackletGenerator.h.

References FindTracks(), PrintInfo(), and RefitTracks().

78 { fUseGPU = val; }

The documentation for this class was generated from the following file: