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 77 of file PndSttCATrackletGenerator.h.

Constructor & Destructor Documentation

◆ PndSttCATrackletGenerator()

PndSttCATrackletGenerator::PndSttCATrackletGenerator ( const PndSttCAData data)
inline

Definition at line 79 of file PndSttCATrackletGenerator.h.

80  : fTimeStamps(20), fBz(2.), fTUBE_RADIUS(0.5005), fDev_tubeNeighborings(nullptr), fHits(data->GetHits()), fCombinedSkewedHits(data->GetCombinedSkewedHits()),
81  fStrawMap(data->GetStrawMap()), fMapTubeIdToHit(data->GetMapTubeIdToHit()), fMapTubeIdToPos(data->GetMapTubeIdToPos()), fMapHitToFairLink(data->GetMapHitToFairLink()),
82  fHitNeighbors(data->GetHitNeighbors()), fSeparations(data->GetSeparations()), fUseGPU(false)
83  {
84  }
std::map< int, int > GetMapTubeIdToHit() const
Definition: PndSttCAData.h:83
PndSttStrawMap * GetStrawMap() const
Definition: PndSttCAData.h:77
std::map< int, FairLink > GetMapHitToFairLink() const
Definition: PndSttCAData.h:81
std::map< int, TVector3 > GetMapTubeIdToPos() const
Definition: PndSttCAData.h:85
std::map< int, std::vector< int > > GetSeparations() const
Definition: PndSttCAData.h:89
std::map< int, std::vector< int > > GetHitNeighbors() const
Definition: PndSttCAData.h:87
std::vector< FairHit * > GetHits() const
Definition: PndSttCAData.h:73
std::multimap< int, PndSttSkewedHit * > GetCombinedSkewedHits() const
Definition: PndSttCAData.h:75

◆ ~PndSttCATrackletGenerator()

virtual PndSttCATrackletGenerator::~PndSttCATrackletGenerator ( )
inlinevirtual

Definition at line 86 of file PndSttCATrackletGenerator.h.

86 {}

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 102 of file PndSttCATrackletGenerator.h.

Referenced by PndSttCA::StoreTrackData().

102 { return fFirstTrackCand; };

◆ GetMultiStates()

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

Definition at line 109 of file PndSttCATrackletGenerator.h.

References GenerateClusters(), and GenerateTracklets().

109 { return fMultiStates; }

◆ GetNumPrimaryTracklets()

int PndSttCATrackletGenerator::GetNumPrimaryTracklets ( )
inline

Definition at line 99 of file PndSttCATrackletGenerator.h.

Referenced by PndSttCA::GetNumPrimaryTracklets().

99 { return fStartTracklets.size(); }

◆ GetStates()

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

Definition at line 108 of file PndSttCATrackletGenerator.h.

108 { return fStates; }

◆ GetTimeStamps()

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

Definition at line 106 of file PndSttCATrackletGenerator.h.

106 { 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 104 of file PndSttCATrackletGenerator.h.

104 { fBz = val; };

◆ SetDevTubeNeighboringsPointer()

void PndSttCATrackletGenerator::SetDevTubeNeighboringsPointer ( int *  dev_pointer)
inline

Definition at line 88 of file PndSttCATrackletGenerator.h.

88 { fDev_tubeNeighborings = dev_pointer; }

◆ SetUseGPU()

void PndSttCATrackletGenerator::SetUseGPU ( Bool_t  val)
inline

Definition at line 90 of file PndSttCATrackletGenerator.h.

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

90 { fUseGPU = val; }

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