![]() |
![]() |
#include <DTSectColl.h>
Classes | |
class | h |
Public Member Functions | |
void | addTSPhi (int step, const DTChambPhSegm *tsmsegm, int ifs, int istat) |
Add a TSM candidate (step is TSM step not SC one) More... | |
void | addTSTheta (int step, const DTChambThSegm *tsmsegm, int istat) |
Add a TS Theta candidate (step is TSTheta step not sc one) More... | |
void | addTU (DTSCTrigUnit *tru) |
Add a Trigger Unit to the Sector Collector. More... | |
std::vector< DTSectCollPhSegm > ::const_iterator | beginPh () |
Return iterator to the beghin of Phi cache. More... | |
std::vector< DTSectCollThSegm > ::const_iterator | beginTh () |
Return iterator to the begni of Theta cache. More... | |
void | clearCache () |
Local position in chamber of a trigger-data object. More... | |
const DTConfigSectColl * | config () const |
Configuration. More... | |
DTSectColl (DTSectCollId id) | |
Constructor. More... | |
std::vector< DTSectCollPhSegm > ::const_iterator | endPh () |
Return iterator to the end of Phi cache. More... | |
std::vector< DTSectCollThSegm > ::const_iterator | endTh () |
Return iterator to the end of Theta cache. More... | |
DTSC * | getDTSC (int step, int istat) const |
Get a Sector Collector (step is TS one) More... | |
DTSectCollPhCand * | getDTSectCollPhCand (int ifs, unsigned n) const |
Get a Phi Candidate for Sector Collector. More... | |
DTSectCollThCand * | getDTSectCollThCand (unsigned n) const |
Get a Candidate for Sector Collector. More... | |
DTSectCollPhCand * | getTrackPh (int n) const |
Return the requested Phi track. More... | |
DTSectCollThCand * | getTrackTh (int n) const |
Return the requested Theta track. More... | |
DTTSPhi * | getTSPhi (int istat) const |
Return TSPhi. More... | |
DTTSTheta * | getTSTheta (int istat) const |
Return TSTheta. More... | |
void | loadSectColl () |
Load a Sector Collector. More... | |
void | localClear () |
Local Clear. More... | |
unsigned | nCandPh (int ifs) const |
Return the number of Phi input tracks (first/second) More... | |
unsigned | nCandTh () const |
Return the number of Theta input tracks. More... | |
int | nSegmPh (int step) |
Return number of DTSectCollPhi segments (SC step) More... | |
int | nSegmTh (int step) |
Return number of DTSectCollTheta segments (SC step) More... | |
int | nTracksPh () const |
Return the number of output Phi tracks. More... | |
int | nTracksTh () const |
Return the number of output Theta tracks. More... | |
virtual void | reconstruct () |
Load Trigger Units triggers and run Sector Collector algorithm. More... | |
void | runSectColl () |
Run Sector Collector. More... | |
DTSectCollId | SectCollId () |
Return the Sector Collector Id. More... | |
const DTSectCollPhSegm * | SectCollPhSegment (int step, unsigned n) |
Return requested Sector Collector Phi Segment 1st/2nd. More... | |
const DTSectCollThSegm * | SectCollThSegment (int step) |
Return requested Sector Collector Theta Segment. More... | |
void | setConfig (const DTConfigManager *conf) |
Set configuration. More... | |
int | sizePh () |
Return Phi cache size. More... | |
int | sizeTh () |
Return Theta cache size. More... | |
~DTSectColl () | |
Destructor. More... | |
![]() | |
const_iterator | begin () const |
Get first cache element. More... | |
void | clearCache () |
Clear cache vector. More... | |
DTCache () | |
Constructor. More... | |
const_iterator | end () const |
Get last cache element. More... | |
int | size () const |
Get cache vector's size. More... | |
virtual | ~DTCache () |
Destructor. More... | |
Private Attributes | |
const DTConfigSectColl * | _config |
std::vector< DTSectCollPhCand * > | _incand_ph [2] |
std::vector< DTSectCollThCand * > | _incand_th |
std::vector< DTSectCollPhCand * > | _outcand_ph |
std::vector< DTSectCollThCand * > | _outcand_th |
DTSectCollId | _sectcollid |
DTSC * | _tsc [DTConfigSectColl::NSTEPL-DTConfigSectColl::NSTEPF+1][DTConfigSectColl::NDTSC] |
DTTSPhi * | _tsphi [DTConfigSectColl::NTSPSC] |
DTTSTheta * | _tstheta [DTConfigSectColl::NTSTSC] |
Additional Inherited Members | |
![]() | |
typedef my_collection::const_iterator | const_iterator |
typedef my_collection::iterator | iterator |
typedef Coll | my_collection |
typedef T | my_type |
![]() | |
my_collection | _cache |
Definition at line 56 of file DTSectColl.h.
DTSectColl::DTSectColl | ( | DTSectCollId | id | ) |
Constructor.
Definition at line 48 of file DTSectColl.cc.
DTSectColl::~DTSectColl | ( | ) |
Destructor.
Definition at line 66 of file DTSectColl.cc.
void DTSectColl::addTSPhi | ( | int | step, |
const DTChambPhSegm * | tsmsegm, | ||
int | ifs, | ||
int | istat | ||
) |
Add a TSM candidate (step is TSM step not SC one)
Definition at line 230 of file DTSectColl.cc.
void DTSectColl::addTSTheta | ( | int | step, |
const DTChambThSegm * | tsmsegm, | ||
int | istat | ||
) |
Add a TS Theta candidate (step is TSTheta step not sc one)
Definition at line 274 of file DTSectColl.cc.
void DTSectColl::addTU | ( | DTSCTrigUnit * | tru | ) |
Add a Trigger Unit to the Sector Collector.
Definition at line 128 of file DTSectColl.cc.
|
inline |
Return iterator to the beghin of Phi cache.
Definition at line 150 of file DTSectColl.h.
|
inline |
Return iterator to the begni of Theta cache.
Definition at line 159 of file DTSectColl.h.
|
inline |
Local position in chamber of a trigger-data object.
Local direction in chamber of a trigger-data object Clear both (Phi and Theta) caches
Definition at line 174 of file DTSectColl.h.
|
inline |
Configuration.
Definition at line 77 of file DTSectColl.h.
|
inline |
Return iterator to the end of Phi cache.
Definition at line 156 of file DTSectColl.h.
|
inline |
Return iterator to the end of Theta cache.
Definition at line 165 of file DTSectColl.h.
DTSC * DTSectColl::getDTSC | ( | int | step, |
int | istat | ||
) | const |
Get a Sector Collector (step is TS one)
Definition at line 319 of file DTSectColl.cc.
DTSectCollPhCand * DTSectColl::getDTSectCollPhCand | ( | int | ifs, |
unsigned | n | ||
) | const |
Get a Phi Candidate for Sector Collector.
Definition at line 400 of file DTSectColl.cc.
DTSectCollThCand * DTSectColl::getDTSectCollThCand | ( | unsigned | n | ) | const |
Get a Candidate for Sector Collector.
Definition at line 419 of file DTSectColl.cc.
DTSectCollPhCand * DTSectColl::getTrackPh | ( | int | n | ) | const |
Return the requested Phi track.
Definition at line 434 of file DTSectColl.cc.
DTSectCollThCand * DTSectColl::getTrackTh | ( | int | n | ) | const |
Return the requested Theta track.
Definition at line 448 of file DTSectColl.cc.
|
inline |
Return TSPhi.
Definition at line 71 of file DTSectColl.h.
|
inline |
Return TSTheta.
Definition at line 74 of file DTSectColl.h.
void DTSectColl::loadSectColl | ( | ) |
Load a Sector Collector.
Definition at line 188 of file DTSectColl.cc.
void DTSectColl::localClear | ( | ) |
Local Clear.
Definition at line 84 of file DTSectColl.cc.
unsigned DTSectColl::nCandPh | ( | int | ifs | ) | const |
Return the number of Phi input tracks (first/second)
Definition at line 463 of file DTSectColl.cc.
unsigned DTSectColl::nCandTh | ( | ) | const |
Return the number of Theta input tracks.
Definition at line 476 of file DTSectColl.cc.
int DTSectColl::nSegmPh | ( | int | step | ) |
Return number of DTSectCollPhi segments (SC step)
Definition at line 483 of file DTSectColl.cc.
int DTSectColl::nSegmTh | ( | int | step | ) |
Return number of DTSectCollTheta segments (SC step)
Definition at line 497 of file DTSectColl.cc.
|
inline |
Return the number of output Phi tracks.
Definition at line 138 of file DTSectColl.h.
|
inline |
Return the number of output Theta tracks.
Definition at line 141 of file DTSectColl.h.
|
inlinevirtual |
Load Trigger Units triggers and run Sector Collector algorithm.
Reimplemented from DTCache< T, Coll >.
Definition at line 177 of file DTSectColl.h.
void DTSectColl::runSectColl | ( | ) |
Run Sector Collector.
Definition at line 339 of file DTSectColl.cc.
|
inline |
Return the Sector Collector Id.
Definition at line 180 of file DTSectColl.h.
const DTSectCollPhSegm * DTSectColl::SectCollPhSegment | ( | int | step, |
unsigned | n | ||
) |
Return requested Sector Collector Phi Segment 1st/2nd.
Definition at line 512 of file DTSectColl.cc.
const DTSectCollThSegm * DTSectColl::SectCollThSegment | ( | int | step | ) |
Return requested Sector Collector Theta Segment.
Definition at line 526 of file DTSectColl.cc.
void DTSectColl::setConfig | ( | const DTConfigManager * | conf | ) |
Set configuration.
Definition at line 114 of file DTSectColl.cc.
|
inline |
Return Phi cache size.
Definition at line 153 of file DTSectColl.h.
|
inline |
Return Theta cache size.
Definition at line 162 of file DTSectColl.h.
|
private |
Definition at line 185 of file DTSectColl.h.
|
private |
Definition at line 197 of file DTSectColl.h.
|
private |
Definition at line 203 of file DTSectColl.h.
|
private |
Definition at line 200 of file DTSectColl.h.
|
private |
Definition at line 206 of file DTSectColl.h.
|
private |
Definition at line 188 of file DTSectColl.h.
|
private |
Definition at line 194 of file DTSectColl.h.
|
private |
Definition at line 190 of file DTSectColl.h.
|
private |
Definition at line 191 of file DTSectColl.h.