12 #ifndef DT_SECT_COLL_H
13 #define DT_SECT_COLL_H
124 unsigned nCandPh(
int ifs)
const;
int nTracksPh() const
Return the number of output Phi tracks.
void reconstruct() override
Load Trigger Units triggers and run Sector Collector algorithm.
DTSectCollThCand * getDTSectCollThCand(unsigned n) const
Get a Candidate for Sector Collector.
DTCache< DTSectCollPhSegm, DTSectCollPhVector > DTSCPhCache
DTSectCollThCand * getTrackTh(int n) const
Return the requested Theta track.
DTSectCollId SectCollId()
Return the Sector Collector Id.
std::vector< DTSectCollThCand * > _incand_th
~DTSectColl() override
Destructor.
std::vector< DTSectCollThCand * > _outcand_th
int nSegmTh(int step)
Return number of DTSectCollTheta segments (SC step)
std::vector< DTSectCollPhCand * > _outcand_ph
unsigned nCandTh() const
Return the number of Theta input tracks.
std::vector< DTSectCollThSegm >::const_iterator endTh() const
Return iterator to the end of Theta cache.
void addTSPhi(int step, const DTChambPhSegm *tsmsegm, int ifs, int istat)
Add a TSM candidate (step is TSM step not SC one)
DTSC * _tsc[DTConfigSectColl::NSTEPL-DTConfigSectColl::NSTEPF+1][DTConfigSectColl::NDTSC]
DTTSTheta * _tstheta[DTConfigSectColl::NTSTSC]
DTCache< DTSectCollThSegm, DTSectCollThVector > DTSCThCache
unsigned nCandPh(int ifs) const
Return the number of Phi input tracks (first/second)
std::vector< DTSectCollThSegm >::const_iterator beginTh() const
Return iterator to the begni of Theta cache.
void loadSectColl()
Load a Sector Collector.
std::vector< DTSectCollThSegm > DTSectCollThVector
int nSegmPh(int step)
Return number of DTSectCollPhi segments (SC step)
int sizeTh() const
Return Theta cache size.
void addTSTheta(int step, const DTChambThSegm *tsmsegm, int istat)
Add a TS Theta candidate (step is TSTheta step not sc one)
DTTSPhi * _tsphi[DTConfigSectColl::NTSPSC]
static const int NSTEPL
Constants: first and last step to start trigger finding.
int nTracksTh() const
Return the number of output Theta tracks.
int sizePh() const
Return Phi cache size.
std::vector< DTSectCollPhSegm >::const_iterator beginPh() const
Return iterator to the beghin of Phi cache.
static const int NDTSC
Constant: maximum number of Sector Collector sorting Chip in input to Sector Collector.
DTSectCollPhCand * getTrackPh(int n) const
Return the requested Phi track.
void addTU(DTSCTrigUnit *tru)
Add a Trigger Unit to the Sector Collector.
std::vector< DTSectCollPhSegm > DTSectCollPhVector
const DTSectCollThSegm * SectCollThSegment(int step)
Return requested Sector Collector Theta Segment.
DTSC * getDTSC(int step, int istat) const
Get a Sector Collector (step is TS one)
const DTConfigSectColl * _config
const DTConfigSectColl * config() const
Configuration.
void clearCache()
Local position in chamber of a trigger-data object.
void runSectColl()
Run Sector Collector.
DTSectColl(DTSectCollId id)
Constructor.
std::vector< DTSectCollPhCand * > _incand_ph[2]
std::vector< DTSectCollPhSegm >::const_iterator endPh() const
Return iterator to the end of Phi cache.
void setConfig(const DTConfigManager *conf)
Set configuration.
const DTSectCollPhSegm * SectCollPhSegment(int step, unsigned n)
Return requested Sector Collector Phi Segment 1st/2nd.
void localClear()
Local Clear.
DTSectCollPhCand * getDTSectCollPhCand(int ifs, unsigned n) const
Get a Phi Candidate for Sector Collector.
void clearCache()
Clear cache vector.
DTTSPhi * getTSPhi(int istat) const
Return TSPhi.
static const int NTSTSC
Constants: number of TSTheta/TSPhi in input to Sector Collector.
DTTSTheta * getTSTheta(int istat) const
Return TSTheta.