PandaRoot
PndSttCellTrackFinderData Class Reference

#include <PndSttCellTrackFinderData.h>

Public Member Functions

 PndSttCellTrackFinderData (TClonesArray *fTubeArray)
 
virtual ~PndSttCellTrackFinderData ()
 
void AddHits (TClonesArray *hits, TString branchName)
 
void GenerateNeighborhoodData ()
 
void clear ()
 
void PrintInfo ()
 
void SetAllowDoubleHits (Bool_t value)
 
Bool_t GetAllowDoubleHits ()
 
std::vector< FairHit * > GetHits () const
 
std::multimap< int, PndSttSkewedHit * > GetCombinedSkewedHits () const
 
PndSttStrawMapGetStrawMap () const
 
PndSttGeometryMapGetGeometryMap () const
 
std::map< int, FairLink > GetMapHitToFairLink () const
 
std::map< int, int > GetMapTubeIdToHit () const
 
std::map< int, TVector3 > GetMapTubeIdToPos () const
 
std::map< int, std::vector< int > > GetHitNeighbors () const
 
std::map< int, std::vector< int > > GetSeparations () const
 
std::map< int, std::vector< int > > GetHitNeighborsWithoutEdges () const
 
std::map< int, std::vector< int > > GetSeparationsWithoutEdges () const
 
std::map< int, std::vector< int > > GetHitNeighborsWithoutSkewed () const
 
std::map< int, std::vector< int > > GetSeparationsWithoutSkewed () const
 
int GetNumHits ()
 
int GetNumHitsWithoutDouble ()
 
void SetRunTimeBased (Bool_t val)
 
void SetClusterTime (double val)
 

Detailed Description

Definition at line 22 of file PndSttCellTrackFinderData.h.

Constructor & Destructor Documentation

◆ PndSttCellTrackFinderData()

PndSttCellTrackFinderData::PndSttCellTrackFinderData ( TClonesArray *  fTubeArray)

◆ ~PndSttCellTrackFinderData()

virtual PndSttCellTrackFinderData::~PndSttCellTrackFinderData ( )
inlinevirtual

Definition at line 27 of file PndSttCellTrackFinderData.h.

References AddHits(), GenerateNeighborhoodData(), and i.

28  {
29  delete fStrawMap;
30  delete fGeometryMap;
31  for (size_t i = 0; i < fHits.size(); ++i)
32  delete fHits.at(i);
33  for (size_t i = 0; i < fHitsOrig.size(); ++i)
34  delete fHitsOrig.at(i);
35  }
unsigned int i
Definition: P4_F32vec4.h:21

Member Function Documentation

◆ AddHits()

void PndSttCellTrackFinderData::AddHits ( TClonesArray *  hits,
TString  branchName 
)

◆ clear()

void PndSttCellTrackFinderData::clear ( void  )
inline

Definition at line 42 of file PndSttCellTrackFinderData.h.

References PrintInfo().

Referenced by PndSttCellTrackFinder::Reset().

43  {
44  fHits.clear();
45  fHitsOrig.clear();
46  fMapHitToFairLink.clear();
47  fMapTubeIdToHit.clear();
48  fHitNeighbors.clear();
49  fSeparations.clear();
50  fCombinedSkewedHits.clear();
51  fHitNeighborsWithoutEdges.clear();
52  fSeparationsWithoutEdges.clear();
53  fHitNeighborsWithoutSkewed.clear();
54  fSeparationsWithoutSkewed.clear();
55  }

◆ GenerateNeighborhoodData()

void PndSttCellTrackFinderData::GenerateNeighborhoodData ( )

◆ GetAllowDoubleHits()

Bool_t PndSttCellTrackFinderData::GetAllowDoubleHits ( )
inline

Definition at line 61 of file PndSttCellTrackFinderData.h.

61 { return fAllowDoubleHits; }

◆ GetCombinedSkewedHits()

std::multimap<int, PndSttSkewedHit *> PndSttCellTrackFinderData::GetCombinedSkewedHits ( ) const
inline

Definition at line 65 of file PndSttCellTrackFinderData.h.

65 { return fCombinedSkewedHits; }

◆ GetGeometryMap()

PndSttGeometryMap* PndSttCellTrackFinderData::GetGeometryMap ( ) const
inline

Definition at line 69 of file PndSttCellTrackFinderData.h.

69 { return fGeometryMap; }

◆ GetHitNeighbors()

std::map<int, std::vector<int> > PndSttCellTrackFinderData::GetHitNeighbors ( ) const
inline

Definition at line 77 of file PndSttCellTrackFinderData.h.

77 { return fHitNeighbors; }

◆ GetHitNeighborsWithoutEdges()

std::map<int, std::vector<int> > PndSttCellTrackFinderData::GetHitNeighborsWithoutEdges ( ) const
inline

Definition at line 81 of file PndSttCellTrackFinderData.h.

81 { return fHitNeighborsWithoutEdges; }

◆ GetHitNeighborsWithoutSkewed()

std::map<int, std::vector<int> > PndSttCellTrackFinderData::GetHitNeighborsWithoutSkewed ( ) const
inline

Definition at line 85 of file PndSttCellTrackFinderData.h.

85 { return fHitNeighborsWithoutSkewed; }

◆ GetHits()

std::vector<FairHit *> PndSttCellTrackFinderData::GetHits ( ) const
inline

Definition at line 63 of file PndSttCellTrackFinderData.h.

63 { return fHits; }

◆ GetMapHitToFairLink()

std::map<int, FairLink> PndSttCellTrackFinderData::GetMapHitToFairLink ( ) const
inline

Definition at line 71 of file PndSttCellTrackFinderData.h.

71 { return fMapHitToFairLink; }

◆ GetMapTubeIdToHit()

std::map<int, int> PndSttCellTrackFinderData::GetMapTubeIdToHit ( ) const
inline

Definition at line 73 of file PndSttCellTrackFinderData.h.

73 { return fMapTubeIdToHit; }

◆ GetMapTubeIdToPos()

std::map<int, TVector3> PndSttCellTrackFinderData::GetMapTubeIdToPos ( ) const
inline

Definition at line 75 of file PndSttCellTrackFinderData.h.

75 { return fMapTubeIdToPos; }

◆ GetNumHits()

int PndSttCellTrackFinderData::GetNumHits ( )
inline

Definition at line 89 of file PndSttCellTrackFinderData.h.

Referenced by PndSttCellTrackFinder::NumHits().

89 { return fNumHits; }

◆ GetNumHitsWithoutDouble()

int PndSttCellTrackFinderData::GetNumHitsWithoutDouble ( )
inline

Definition at line 91 of file PndSttCellTrackFinderData.h.

Referenced by PndSttCellTrackFinder::NumHitsWithoutDouble().

91 { return fNumHitsWithoutDouble; }

◆ GetSeparations()

std::map<int, std::vector<int> > PndSttCellTrackFinderData::GetSeparations ( ) const
inline

Definition at line 79 of file PndSttCellTrackFinderData.h.

Referenced by PndSttCellTrackFinder::NumUnambiguousNeighbors().

79 { return fSeparations; }

◆ GetSeparationsWithoutEdges()

std::map<int, std::vector<int> > PndSttCellTrackFinderData::GetSeparationsWithoutEdges ( ) const
inline

Definition at line 83 of file PndSttCellTrackFinderData.h.

83 { return fSeparationsWithoutEdges; }

◆ GetSeparationsWithoutSkewed()

std::map<int, std::vector<int> > PndSttCellTrackFinderData::GetSeparationsWithoutSkewed ( ) const
inline

Definition at line 87 of file PndSttCellTrackFinderData.h.

87 { return fSeparationsWithoutSkewed; }

◆ GetStrawMap()

PndSttStrawMap* PndSttCellTrackFinderData::GetStrawMap ( ) const
inline

Definition at line 67 of file PndSttCellTrackFinderData.h.

67 { return fStrawMap; }

◆ PrintInfo()

void PndSttCellTrackFinderData::PrintInfo ( )

Referenced by clear().

◆ SetAllowDoubleHits()

void PndSttCellTrackFinderData::SetAllowDoubleHits ( Bool_t  value)
inline

Definition at line 59 of file PndSttCellTrackFinderData.h.

59 { fAllowDoubleHits = value; }

◆ SetClusterTime()

void PndSttCellTrackFinderData::SetClusterTime ( double  val)
inline

Definition at line 93 of file PndSttCellTrackFinderData.h.

93 { fClusterTime = val; };

◆ SetRunTimeBased()

void PndSttCellTrackFinderData::SetRunTimeBased ( Bool_t  val)
inline

Definition at line 92 of file PndSttCellTrackFinderData.h.

92 { fRunTimeBased = val; };

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