Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes

TSTSHiterizer Class Reference

#include <TSTSHiterizer.h>

Collaboration diagram for TSTSHiterizer:
Collaboration graph
[legend]

Public Member Functions

 TSTSHiterizer (Int_t det=0)
 ~TSTSHiterizer ()
void FeedCluster (const TSTSCluster &cluster, TSTSTopology::ESTSSide side)
Bool_t FetchHit (Bool_t noTrigger, TSTSHit &hit)
Long64_t GetTimeTolerance () const
void SetTimeTolerance (Long64_t timeTolerance)
void SetTimeWindow (Long64_t timeWindow)
Long64_t GetTimeWindow () const
void Clear ()
 TSTSHiterizer (Int_t det=0)
 ~TSTSHiterizer ()
void FeedCluster (TSTSCluster *cluster, TSTSTopology::ESTSSide side)
TSTSHitFetchHit (Bool_t noTrigger)
Long64_t GetTimeTolerance () const
void SetTimeTolerance (Long64_t timeTolerance)
void Clear ()

Private Member Functions

Bool_t IsClusterBuffersFilled (Bool_t noTrigger) const
TSTSTopology::ESTSSide GetOldesetClusterSide () const
Bool_t IsClusterBuffersContainSufficientTimeInterval () const
Bool_t Match (const TSTSCluster &clust1, const TSTSCluster &clust2) const
void CreateHit (const TSTSCluster &clust1, TSTSTopology::ESTSSide side1, const TSTSCluster &clust2, TSTSTopology::ESTSSide side2)
void ClearClustBuffers ()
void ReconstructHits (Bool_t noTrigger)
void CheckTimeWindowSufficient (Long64_t newClustTime)
void InsertClusterSorted (TSTSTopology::ESTSSide side, const TSTSCluster &cluster)
void PrintBuffers () const
void ReconstructHits (Bool_t noTrigger)

Private Attributes

Long64_t fTimeTolerance
Long64_t fTimeWindow
Int_t fDetector
std::deque< TSTSClusterfClusters [TSTSTopology::kNSides]
std::deque< TSTSHitfHits
Long64_t fLatestClusterTime
std::deque< TSTSCluster * > fClusters [TSTSTopology::kNSides]
std::deque< TSTSHit * > fHits

Static Private Attributes

static const Long64_t kDefTimeTolerance = 50
static const Long64_t kDefTimeWindow = 5000
static Long64_t const kDefTimeTolerance = 50

Detailed Description

Definition at line 15 of file TSTSHiterizer.h.


Constructor & Destructor Documentation

TSTSHiterizer::TSTSHiterizer ( Int_t  det = 0  ) 
TSTSHiterizer::~TSTSHiterizer (  ) 

Definition at line 19 of file TSTSHiterizer.cxx.

TSTSHiterizer::TSTSHiterizer ( Int_t  det = 0  ) 
TSTSHiterizer::~TSTSHiterizer (  ) 

Member Function Documentation

void TSTSHiterizer::CheckTimeWindowSufficient ( Long64_t  newClustTime  )  [private]

Definition at line 75 of file TSTSHiterizer.cxx.

References fLatestClusterTime, fTimeTolerance, and fTimeWindow.

Referenced by FeedCluster().

void TSTSHiterizer::Clear (  ) 

Definition at line 192 of file TSTSHiterizer.cxx.

References ClearClustBuffers(), and fHits.

void TSTSHiterizer::Clear (  ) 
void TSTSHiterizer::ClearClustBuffers (  )  [private]

Definition at line 24 of file TSTSHiterizer.cxx.

References fClusters.

Referenced by Clear(), and ReconstructHits().

void TSTSHiterizer::CreateHit ( const TSTSCluster clust1,
TSTSTopology::ESTSSide  side1,
const TSTSCluster clust2,
TSTSTopology::ESTSSide  side2 
) [private]

Definition at line 114 of file TSTSHiterizer.cxx.

References fHits, and TSTSTopology::kPSide.

Referenced by ReconstructHits().

void TSTSHiterizer::FeedCluster ( TSTSCluster cluster,
TSTSTopology::ESTSSide  side 
) [inline]

Definition at line 27 of file TSTSHiterizer.h.

References fClusters.

void TSTSHiterizer::FeedCluster ( const TSTSCluster cluster,
TSTSTopology::ESTSSide  side 
)
TSTSHit * TSTSHiterizer::FetchHit ( Bool_t  noTrigger  ) 

Definition at line 52 of file TSTSHiterizer.cxx.

References fHits, and ReconstructHits().

Bool_t TSTSHiterizer::FetchHit ( Bool_t  noTrigger,
TSTSHit hit 
)

Definition at line 177 of file TSTSHiterizer.cxx.

References fHits, and ReconstructHits().

TSTSTopology::ESTSSide TSTSHiterizer::GetOldesetClusterSide (  )  const [private]
Long64_t TSTSHiterizer::GetTimeTolerance (  )  const [inline]

Definition at line 29 of file TSTSHiterizer.h.

References fTimeTolerance.

Long64_t TSTSHiterizer::GetTimeTolerance (  )  const [inline]

Definition at line 41 of file TSTSHiterizer.h.

References fTimeTolerance.

Long64_t TSTSHiterizer::GetTimeWindow (  )  const [inline]

Definition at line 44 of file TSTSHiterizer.h.

References fTimeWindow.

void TSTSHiterizer::InsertClusterSorted ( TSTSTopology::ESTSSide  side,
const TSTSCluster cluster 
) [private]

Definition at line 88 of file TSTSHiterizer.cxx.

References fClusters, and TSTSCluster::GetTime().

Referenced by FeedCluster().

Bool_t TSTSHiterizer::IsClusterBuffersContainSufficientTimeInterval (  )  const [private]
Bool_t TSTSHiterizer::IsClusterBuffersFilled ( Bool_t  noTrigger  )  const [private]
Bool_t TSTSHiterizer::Match ( const TSTSCluster clust1,
const TSTSCluster clust2 
) const [private]

Definition at line 32 of file TSTSHiterizer.cxx.

References fTimeTolerance, and TSTSCluster::GetTime().

Referenced by ReconstructHits().

void TSTSHiterizer::PrintBuffers (  )  const [private]

Definition at line 149 of file TSTSHiterizer.cxx.

References fClusters, TSTSTopology::kNSide, and TSTSTopology::kPSide.

void TSTSHiterizer::ReconstructHits ( Bool_t  noTrigger  )  [private]
void TSTSHiterizer::ReconstructHits ( Bool_t  noTrigger  )  [private]
void TSTSHiterizer::SetTimeTolerance ( Long64_t  timeTolerance  )  [inline]

Definition at line 42 of file TSTSHiterizer.h.

References fTimeTolerance.

void TSTSHiterizer::SetTimeTolerance ( Long64_t  timeTolerance  )  [inline]

Definition at line 30 of file TSTSHiterizer.h.

References fTimeTolerance.

void TSTSHiterizer::SetTimeWindow ( Long64_t  timeWindow  )  [inline]

Definition at line 43 of file TSTSHiterizer.h.

References fTimeWindow.


Field Documentation

std::deque<TSTSCluster> TSTSHiterizer::fClusters[TSTSTopology::kNSides] [private]
std::deque< TSTSCluster * > TSTSHiterizer::fClusters[TSTSTopology::kNSides] [private]

Definition at line 20 of file TSTSHiterizer.h.

Int_t TSTSHiterizer::fDetector [private]

Definition at line 21 of file TSTSHiterizer.h.

Referenced by TSTSHiterizer().

std::deque< TSTSHit * > TSTSHiterizer::fHits [private]

Definition at line 21 of file TSTSHiterizer.h.

std::deque<TSTSHit> TSTSHiterizer::fHits [private]

Definition at line 23 of file TSTSHiterizer.h.

Referenced by Clear(), CreateHit(), and FetchHit().

Definition at line 24 of file TSTSHiterizer.h.

Referenced by CheckTimeWindowSufficient(), and TSTSHiterizer().

Long64_t TSTSHiterizer::fTimeTolerance [private]
Long64_t TSTSHiterizer::fTimeWindow [private]
const Long64_t TSTSHiterizer::kDefTimeTolerance = 50 [static, private]

Definition at line 19 of file TSTSHiterizer.h.

Referenced by TSTSHiterizer().

Long64_t const TSTSHiterizer::kDefTimeTolerance = 50 [static, private]

Definition at line 18 of file TSTSHiterizer.h.

const Long64_t TSTSHiterizer::kDefTimeWindow = 5000 [static, private]

Definition at line 20 of file TSTSHiterizer.h.

Referenced by TSTSHiterizer().


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