12 #ifndef DT_SECT_COLL_H 13 #define DT_SECT_COLL_H 124 unsigned nCandPh(
int ifs)
const;
void reconstruct() override
Load Trigger Units triggers and run Sector Collector algorithm.
DTCache< DTSectCollPhSegm, DTSectCollPhVector > DTSCPhCache
DTSectCollId SectCollId()
Return the Sector Collector Id.
std::vector< DTSectCollThCand * > _incand_th
DTSC * _tsc[DTConfigSectColl::NSTEPL - DTConfigSectColl::NSTEPF+1][DTConfigSectColl::NDTSC]
~DTSectColl() override
Destructor.
std::vector< DTSectCollThCand * > _outcand_th
int nSegmTh(int step)
Return number of DTSectCollTheta segments (SC step)
const DTConfigSectColl * config() const
Configuration.
int nTracksTh() const
Return the number of output Theta tracks.
DTSC * getDTSC(int step, int istat) const
Get a Sector Collector (step is TS one)
std::vector< DTSectCollPhCand * > _outcand_ph
DTSectCollPhCand * getDTSectCollPhCand(int ifs, unsigned n) const
Get a Phi Candidate for Sector Collector.
int sizeTh() const
Return Theta cache size.
void addTSPhi(int step, const DTChambPhSegm *tsmsegm, int ifs, int istat)
Add a TSM candidate (step is TSM step not SC one)
int sizePh() const
Return Phi cache size.
DTTSTheta * _tstheta[DTConfigSectColl::NTSTSC]
DTCache< DTSectCollThSegm, DTSectCollThVector > DTSCThCache
std::vector< DTSectCollPhSegm >::const_iterator endPh() const
Return iterator to the end of Phi cache.
void loadSectColl()
Load a Sector Collector.
std::vector< DTSectCollThSegm > DTSectCollThVector
int nSegmPh(int step)
Return number of DTSectCollPhi segments (SC step)
DTSectCollThCand * getTrackTh(int n) const
Return the requested Theta track.
int nTracksPh() const
Return the number of output Phi tracks.
std::vector< DTSectCollThSegm >::const_iterator beginTh() const
Return iterator to the begni of Theta cache.
unsigned nCandPh(int ifs) const
Return the number of Phi input tracks (first/second)
std::vector< DTSectCollThSegm >::const_iterator endTh() const
Return iterator to the end of Theta cache.
unsigned nCandTh() const
Return the number of Theta input tracks.
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.
DTSectCollThCand * getDTSectCollThCand(unsigned n) const
Get a Candidate for Sector Collector.
static const int NDTSC
Constant: maximum number of Sector Collector sorting Chip in input to Sector Collector.
DTTSPhi * getTSPhi(int istat) const
Return TSPhi.
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.
DTSectCollPhCand * getTrackPh(int n) const
Return the requested Phi track.
const DTConfigSectColl * _config
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]
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.
DTTSTheta * getTSTheta(int istat) const
Return TSTheta.
void clearCache()
Clear cache vector.
static const int NTSTSC
Constants: number of TSTheta/TSPhi in input to Sector Collector.
std::vector< DTSectCollPhSegm >::const_iterator beginPh() const
Return iterator to the beghin of Phi cache.