12 #ifndef DT_SECT_COLL_H
13 #define DT_SECT_COLL_H
126 unsigned nCandPh(
int ifs)
const;
virtual void reconstruct()
Load Trigger Units triggers and run Sector Collector algorithm.
int sizePh()
Return Phi cache size.
int nTracksPh() const
Return the number of output Phi tracks.
DTSectCollThCand * getDTSectCollThCand(unsigned n) const
Get a Candidate for Sector Collector.
std::vector< DTSectCollPhSegm >::const_iterator endPh()
Return iterator to the end of Phi cache.
DTSectCollThCand * getTrackTh(int n) const
Return the requested Theta track.
DTSectCollId SectCollId()
Return the Sector Collector Id.
std::vector< DTSectCollThCand * > _incand_th
std::vector< DTSectCollThCand * > _outcand_th
int sizeTh()
Return Theta cache size.
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.
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]
unsigned nCandPh(int ifs) const
Return the number of Phi input tracks (first/second)
void loadSectColl()
Load a Sector Collector.
std::vector< DTSectCollThSegm > DTSectCollThVector
int nSegmPh(int step)
Return number of DTSectCollPhi segments (SC step)
void addTSTheta(int step, const DTChambThSegm *tsmsegm, int istat)
Add a TS Theta candidate (step is TSTheta step not sc one)
DTCache< DTSectCollPhSegm, DTSectCollPhVector > DTSCPhCache
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.
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< DTSectCollThSegm >::const_iterator beginTh()
Return iterator to the begni of Theta cache.
std::vector< DTSectCollPhSegm > DTSectCollPhVector
const DTSectCollThSegm * SectCollThSegment(int step)
Return requested Sector Collector Theta Segment.
DTCache< DTSectCollThSegm, DTSectCollThVector > DTSCThCache
std::vector< DTSectCollThSegm >::const_iterator endTh()
Return iterator to the end of Theta cache.
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]
void setConfig(const DTConfigManager *conf)
Set configuration.
std::vector< DTSectCollPhSegm >::const_iterator beginPh()
Return iterator to the beghin of Phi cache.
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.