Go to the documentation of this file. 1 #ifndef L1Trigger_CSCTriggerPrimitives_CSCCathodeLCTProcessor_h
2 #define L1Trigger_CSCTriggerPrimitives_CSCCathodeLCTProcessor_h
116 virtual std::vector<CSCCLCTDigi>
findLCTs(
125 const unsigned int bx_time,
126 std::map<
int, std::map<int, CSCCLCTDigi::ComparatorContainer> >& hits_in_patterns);
std::vector< std::vector< std::vector< int > > > CLCTPatterns
void markBusyKeys(const int best_hstrip, const int best_patid, int quality[CSCConstants::NUM_HALF_STRIPS_7CFEBS])
int stagger[CSCConstants::NUM_LAYERS]
CSCCLCTDigi getSecondCLCT(int bx) const
void dumpConfigParams() const
void dumpDigis(const std::vector< int > strip[CSCConstants::NUM_LAYERS][CSCConstants::NUM_HALF_STRIPS_7CFEBS], const int nStrips) const
double pulse(double x, double y, double z, double t)
void readComparatorDigis(std::vector< int > halfstrip[CSCConstants::NUM_LAYERS][CSCConstants::NUM_HALF_STRIPS_7CFEBS])
bool use_comparator_codes_
std::vector< CSCCLCTDigi > readoutCLCTs(int nMaxCLCTs=CSCConstants::MAX_CLCTS_READOUT) const
bool getDigis(const CSCComparatorDigiCollection *compdc)
static const unsigned int def_nplanes_hit_pattern
static const unsigned int def_drift_delay
void setConfigParameters(const CSCDBL1TPParameters *conf)
static const unsigned int def_fifo_tbins
std::vector< CSCCLCTPreTriggerDigi > thePreTriggerDigis
void checkValid(const CSCCLCTDigi &lct, unsigned max_stubs=CSCConstants::MAX_CLCTS_PER_PROCESSOR) const
CSCCLCTDigi getBestCLCT(int bx) const
void pulseExtension(const std::vector< int > time[CSCConstants::NUM_LAYERS][CSCConstants::NUM_HALF_STRIPS_7CFEBS], const int nStrips, PulseArray pulse)
bool ispretrig[CSCConstants::NUM_HALF_STRIPS_7CFEBS]
CSCCLCTDigi bestCLCT[CSCConstants::MAX_CLCT_TBINS]
virtual std::vector< CSCCLCTDigi > findLCTs(const std::vector< int > halfstrip[CSCConstants::NUM_LAYERS][CSCConstants::NUM_HALF_STRIPS_7CFEBS])
int first_bx_corrected[CSCConstants::NUM_HALF_STRIPS_7CFEBS]
std::vector< int > thePreTriggerBXs
static const unsigned int def_fifo_pretrig
static const unsigned int def_hit_persist
virtual bool preTrigger(const PulseArray pulse, const int start_bx, int &first_bx)
unsigned int nhits[CSCConstants::NUM_HALF_STRIPS_7CFEBS]
static const unsigned int def_min_separation
std::vector< CSCCLCTDigi > run(const CSCComparatorDigiCollection *compdc)
std::vector< std::vector< uint16_t > > ComparatorContainer
std::vector< CSCCLCTPreTriggerDigi > preTriggerDigis() const
std::vector< int > preTriggerBXs() const
CSCCLCTDigi secondCLCT[CSCConstants::MAX_CLCT_TBINS]
std::vector< CSCComparatorDigi > digiV[CSCConstants::NUM_LAYERS]
static const unsigned int def_pid_thresh_pretrig
unsigned int tmb_l1a_window_size
std::vector< CSCCLCTDigi > readoutCLCTsME1a(int nMaxCLCTs=CSCConstants::MAX_CLCTS_READOUT) const
static const unsigned int def_nplanes_hit_pretrig
unsigned int pid_thresh_pretrig
unsigned int PulseArray[CSCConstants::NUM_LAYERS][CSCConstants::NUM_HALF_STRIPS_7CFEBS]
std::vector< CSCCLCTDigi > readoutCLCTsME1b(int nMaxCLCTs=CSCConstants::MAX_CLCTS_READOUT) const
void setDefaultConfigParameters()
nStrips
1.2 is to make the matching window safely the two nearest strips 0.35 is the size of an ME0 chamber i...
std::vector< CSCCLCTPreTriggerDigi > preTriggerDigisME1b() const
static const unsigned int def_tmb_l1a_window_size
unsigned int fifo_pretrig
unsigned int best_pid[CSCConstants::NUM_HALF_STRIPS_7CFEBS]
std::vector< CSCCLCTPreTriggerDigi > preTriggerDigisME1a() const
CSCPatternBank::CLCTPatterns clct_pattern_
bool patternFinding(const PulseArray pulse, const int nStrips, const unsigned int bx_time, std::map< int, std::map< int, CSCCLCTDigi::ComparatorContainer > > &hits_in_patterns)
unsigned int nplanes_hit_pretrig
unsigned int min_separation
std::vector< CSCCLCTDigi > getCLCTs(unsigned nMaxCLCTs=CSCConstants::MAX_CLCTS_PER_PROCESSOR) const
void checkConfigParameters()
unsigned int nplanes_hit_pattern
void cleanComparatorContainer(CSCCLCTDigi::ComparatorContainer &compHits) const