#include <TSTSClusterizer.h>

Public Member Functions | |
| TSTSClusterizer (Int_t det=0, Int_t side=0) | |
| virtual | ~TSTSClusterizer () |
| void | FeedDigi (TSTSDigi const &digi) |
| Bool_t | FetchCluster (Bool_t noTriggers, TSTSCluster &cluster) |
| Int_t | GetDetector () const |
| Int_t | GetSide () const |
| void | SetDetector (Int_t det) |
| void | SetSide (Int_t side) |
| void | SetTimeTolerance (Long64_t timeTolerance) |
| void | SetSpaceTolerance (Int_t spaceTolerance) |
| void | SetTimeWindow (Long64_t timeWindow) |
| Long64_t | GetTimeWindow () const |
| UInt_t | GetBufferSize () const |
| TSTSClusterizer (Int_t det=0, Int_t side=0) | |
| virtual | ~TSTSClusterizer () |
| void | FeedDigi (TSTSDigi const &digi) |
| TSTSCluster * | FetchCluster (Bool_t noTriggers) |
| Int_t | GetDetector () const |
| Int_t | GetSide () const |
| void | SetDetector (Int_t det) |
| void | SetSide (Int_t side) |
| void | SetTimeTolerance (Int_t timeTolerance) |
| void | SetSpaceTolerance (Int_t spaceTolerance) |
| void | Clear () |
Protected Member Functions | |
| void | CheckTimeWindowSufficient (const TSTSDigi &newDigi) |
| void | CheckTimeWindowGtTimeTol () |
| Bool_t | Match (const TSTSDigi &digi1, const TSTSDigi &digi2) const |
| Bool_t | Match (const TSTSCluster &cluster, const TSTSDigi &digi) const |
| void | MoveDigiToCluster (TSTSCluster &cluster, const std::deque< TSTSDigi >::iterator &itDigi) |
| void | InsertDigiSorted (TSTSDigi const &digi) |
| Bool_t | IsDigiBufferFilled (Bool_t noTrigger) const |
| void | PrintBuffer () const |
| Bool_t | Match (const TSTSDigi digi1, const TSTSDigi digi2) |
| Bool_t | Match (const TSTSCluster *const cluster, const TSTSDigi digi) |
| void | MoveDigiToCluster (TSTSCluster *cluster, const std::deque< TSTSDigi >::iterator &itDigi) |
| Bool_t | FindDigiFitsCluster (Bool_t noTrigger, const TSTSCluster *const cluster, std::deque< TSTSDigi >::iterator &itDigi) |
Protected Attributes | |
| Long64_t | fTimeTolerance |
| Int_t | fSpaceTolerance |
| Long64_t | fTimeWindow |
| Int_t | fDetector |
| Int_t | fSide |
| std::deque< TSTSDigi > | fDigis |
| Long64_t | fLatestDigiTime |
| Int_t | fTimeTolerance |
Static Protected Attributes | |
| static const Long64_t | kDefTimeTolerance = 50 |
| static const Int_t | kDefSpaceTolerance = 1 |
| static const Long64_t | kDefTimeWindow = 5000 |
| static Int_t const | kDefTimeTolerance = 50 |
| static Int_t const | kDefSpaceTolerance = 1 |
| static Int_t const | kDefTimeWindow = 5000 |
Definition at line 10 of file TSTSClusterizer.h.
| TSTSClusterizer::TSTSClusterizer | ( | Int_t | det = 0, |
|
| Int_t | side = 0 | |||
| ) |
Definition at line 4 of file TSTSClusterizer.cxx.
References CheckTimeWindowGtTimeTol(), fLatestDigiTime, fSpaceTolerance, fTimeTolerance, fTimeWindow, kDefSpaceTolerance, kDefTimeTolerance, and kDefTimeWindow.
| TSTSClusterizer::~TSTSClusterizer | ( | ) | [virtual] |
Definition at line 17 of file TSTSClusterizer.cxx.
| TSTSClusterizer::TSTSClusterizer | ( | Int_t | det = 0, |
|
| Int_t | side = 0 | |||
| ) |
| virtual TSTSClusterizer::~TSTSClusterizer | ( | ) | [virtual] |
| void TSTSClusterizer::CheckTimeWindowGtTimeTol | ( | ) | [protected] |
Definition at line 35 of file TSTSClusterizer.cxx.
References fTimeTolerance, and fTimeWindow.
Referenced by SetTimeTolerance(), SetTimeWindow(), and TSTSClusterizer().
| void TSTSClusterizer::CheckTimeWindowSufficient | ( | const TSTSDigi & | newDigi | ) | [protected] |
Definition at line 24 of file TSTSClusterizer.cxx.
References fLatestDigiTime, fTimeTolerance, fTimeWindow, and TSTSDigi::GetTime().
Referenced by FeedDigi().
| void TSTSClusterizer::Clear | ( | void | ) | [inline] |
Definition at line 38 of file TSTSClusterizer.h.
References fDigis.
| void TSTSClusterizer::FeedDigi | ( | TSTSDigi const & | digi | ) |
Definition at line 94 of file TSTSClusterizer.cxx.
References CheckTimeWindowSufficient(), and InsertDigiSorted().
| void TSTSClusterizer::FeedDigi | ( | TSTSDigi const & | digi | ) | [inline] |
Definition at line 30 of file TSTSClusterizer.h.
References fDigis.
| Bool_t TSTSClusterizer::FetchCluster | ( | Bool_t | noTriggers, | |
| TSTSCluster & | cluster | |||
| ) |
Definition at line 121 of file TSTSClusterizer.cxx.
References fDigis, fTimeTolerance, fTimeWindow, IsDigiBufferFilled(), Match(), MoveDigiToCluster(), and TSTSCluster::Reset().
| TSTSCluster * TSTSClusterizer::FetchCluster | ( | Bool_t | noTriggers | ) |
Definition at line 69 of file TSTSClusterizer.cxx.
References fDigis, FindDigiFitsCluster(), fTimeWindow, and MoveDigiToCluster().
| Bool_t TSTSClusterizer::FindDigiFitsCluster | ( | Bool_t | noTrigger, | |
| const TSTSCluster *const | cluster, | |||
| std::deque< TSTSDigi >::iterator & | itDigi | |||
| ) | [protected] |
Definition at line 51 of file TSTSClusterizer.cxx.
References fDigis, fTimeTolerance, and Match().
Referenced by FetchCluster().
| UInt_t TSTSClusterizer::GetBufferSize | ( | ) | const [inline] |
Definition at line 45 of file TSTSClusterizer.h.
References fDigis.
| Int_t TSTSClusterizer::GetDetector | ( | ) | const [inline] |
Definition at line 37 of file TSTSClusterizer.h.
References fDetector.
| Int_t TSTSClusterizer::GetDetector | ( | ) | const [inline] |
Definition at line 32 of file TSTSClusterizer.h.
References fDetector.
| Int_t TSTSClusterizer::GetSide | ( | ) | const [inline] |
Definition at line 38 of file TSTSClusterizer.h.
References fSide.
| Int_t TSTSClusterizer::GetSide | ( | ) | const [inline] |
Definition at line 33 of file TSTSClusterizer.h.
References fSide.
| Long64_t TSTSClusterizer::GetTimeWindow | ( | ) | const [inline] |
Definition at line 44 of file TSTSClusterizer.h.
References fTimeWindow.
| void TSTSClusterizer::InsertDigiSorted | ( | TSTSDigi const & | digi | ) | [protected] |
Definition at line 74 of file TSTSClusterizer.cxx.
References fDigis, and TSTSDigi::GetTime().
Referenced by FeedDigi().
| Bool_t TSTSClusterizer::IsDigiBufferFilled | ( | Bool_t | noTrigger | ) | const [protected] |
Definition at line 103 of file TSTSClusterizer.cxx.
References fDigis, and fTimeWindow.
Referenced by FetchCluster().
Definition at line 44 of file TSTSClusterizer.cxx.
References fSpaceTolerance, fTimeTolerance, TSTSDigi::GetStrip(), and TSTSDigi::GetTime().
Referenced by FetchCluster(), FindDigiFitsCluster(), and Match().
| Bool_t TSTSClusterizer::Match | ( | const TSTSCluster & | cluster, | |
| const TSTSDigi & | digi | |||
| ) | const [protected] |
Definition at line 52 of file TSTSClusterizer.cxx.
References TSTSCluster::GetDigi(), TSTSCluster::GetNDigis(), and Match().
Definition at line 19 of file TSTSClusterizer.cxx.
References fSpaceTolerance, fTimeTolerance, TSTSDigi::GetStrip(), and TSTSDigi::GetTime().
| Bool_t TSTSClusterizer::Match | ( | const TSTSCluster *const | cluster, | |
| const TSTSDigi | digi | |||
| ) | [protected] |
Definition at line 27 of file TSTSClusterizer.cxx.
References TSTSCluster::GetDigi(), TSTSCluster::GetNDigis(), and Match().
| void TSTSClusterizer::MoveDigiToCluster | ( | TSTSCluster & | cluster, | |
| const std::deque< TSTSDigi >::iterator & | itDigi | |||
| ) | [protected] |
Definition at line 66 of file TSTSClusterizer.cxx.
References TSTSCluster::AddDigi(), and fDigis.
Referenced by FetchCluster().
| void TSTSClusterizer::MoveDigiToCluster | ( | TSTSCluster * | cluster, | |
| const std::deque< TSTSDigi >::iterator & | itDigi | |||
| ) | [protected] |
Definition at line 41 of file TSTSClusterizer.cxx.
References TSTSCluster::AddDigi(), and fDigis.
| void TSTSClusterizer::PrintBuffer | ( | ) | const [protected] |
Definition at line 84 of file TSTSClusterizer.cxx.
References fDetector, fDigis, fSide, and TSTSTopology::GetSideName().
| void TSTSClusterizer::SetDetector | ( | Int_t | det | ) | [inline] |
Definition at line 39 of file TSTSClusterizer.h.
References fDetector.
| void TSTSClusterizer::SetDetector | ( | Int_t | det | ) | [inline] |
Definition at line 34 of file TSTSClusterizer.h.
References fDetector.
| void TSTSClusterizer::SetSide | ( | Int_t | side | ) | [inline] |
Definition at line 40 of file TSTSClusterizer.h.
References fSide.
| void TSTSClusterizer::SetSide | ( | Int_t | side | ) | [inline] |
Definition at line 35 of file TSTSClusterizer.h.
References fSide.
| void TSTSClusterizer::SetSpaceTolerance | ( | Int_t | spaceTolerance | ) | [inline] |
Definition at line 37 of file TSTSClusterizer.h.
References fSpaceTolerance.
| void TSTSClusterizer::SetSpaceTolerance | ( | Int_t | spaceTolerance | ) | [inline] |
Definition at line 42 of file TSTSClusterizer.h.
References fSpaceTolerance.
| void TSTSClusterizer::SetTimeTolerance | ( | Long64_t | timeTolerance | ) |
Definition at line 159 of file TSTSClusterizer.cxx.
References CheckTimeWindowGtTimeTol(), and fTimeTolerance.
| void TSTSClusterizer::SetTimeTolerance | ( | Int_t | timeTolerance | ) | [inline] |
Definition at line 36 of file TSTSClusterizer.h.
References fTimeTolerance.
| void TSTSClusterizer::SetTimeWindow | ( | Long64_t | timeWindow | ) |
Definition at line 167 of file TSTSClusterizer.cxx.
References CheckTimeWindowGtTimeTol(), and fTimeWindow.
Int_t TSTSClusterizer::fDetector [protected] |
Definition at line 19 of file TSTSClusterizer.h.
Referenced by GetDetector(), PrintBuffer(), and SetDetector().
std::deque< TSTSDigi > TSTSClusterizer::fDigis [protected] |
Definition at line 21 of file TSTSClusterizer.h.
Referenced by Clear(), FeedDigi(), FetchCluster(), FindDigiFitsCluster(), GetBufferSize(), InsertDigiSorted(), IsDigiBufferFilled(), MoveDigiToCluster(), and PrintBuffer().
Long64_t TSTSClusterizer::fLatestDigiTime [protected] |
Definition at line 22 of file TSTSClusterizer.h.
Referenced by CheckTimeWindowSufficient(), and TSTSClusterizer().
Int_t TSTSClusterizer::fSide [protected] |
Definition at line 20 of file TSTSClusterizer.h.
Referenced by GetSide(), PrintBuffer(), and SetSide().
Int_t TSTSClusterizer::fSpaceTolerance [protected] |
Definition at line 13 of file TSTSClusterizer.h.
Referenced by Match(), SetSpaceTolerance(), and TSTSClusterizer().
Long64_t TSTSClusterizer::fTimeTolerance [protected] |
Definition at line 12 of file TSTSClusterizer.h.
Referenced by CheckTimeWindowGtTimeTol(), CheckTimeWindowSufficient(), FetchCluster(), FindDigiFitsCluster(), Match(), SetTimeTolerance(), and TSTSClusterizer().
Int_t TSTSClusterizer::fTimeTolerance [protected] |
Definition at line 12 of file TSTSClusterizer.h.
Long64_t TSTSClusterizer::fTimeWindow [protected] |
Definition at line 14 of file TSTSClusterizer.h.
Referenced by CheckTimeWindowGtTimeTol(), CheckTimeWindowSufficient(), FetchCluster(), GetTimeWindow(), IsDigiBufferFilled(), SetTimeWindow(), and TSTSClusterizer().
const Int_t TSTSClusterizer::kDefSpaceTolerance = 1 [static, protected] |
Definition at line 17 of file TSTSClusterizer.h.
Referenced by TSTSClusterizer().
Int_t const TSTSClusterizer::kDefSpaceTolerance = 1 [static, protected] |
Definition at line 17 of file TSTSClusterizer.h.
Int_t const TSTSClusterizer::kDefTimeTolerance = 50 [static, protected] |
Definition at line 16 of file TSTSClusterizer.h.
const Long64_t TSTSClusterizer::kDefTimeTolerance = 50 [static, protected] |
Definition at line 16 of file TSTSClusterizer.h.
Referenced by TSTSClusterizer().
const Long64_t TSTSClusterizer::kDefTimeWindow = 5000 [static, protected] |
Definition at line 18 of file TSTSClusterizer.h.
Referenced by TSTSClusterizer().
Int_t const TSTSClusterizer::kDefTimeWindow = 5000 [static, protected] |
Definition at line 18 of file TSTSClusterizer.h.
1.7.1