![]() |
![]() |
#include <CSCCathodeLCTProcessor.h>
Public Types | |
enum | CLCT_INDICES { CLCT_PATTERN, CLCT_BEND, CLCT_STRIP, CLCT_BX, CLCT_STRIP_TYPE, CLCT_QUALITY, CLCT_CFEB, CLCT_NUM_QUANTITIES = 7 } |
Public Member Functions | |
void | clear () |
CSCCathodeLCTProcessor (unsigned endcap, unsigned station, unsigned sector, unsigned subsector, unsigned chamber, const edm::ParameterSet &conf, const edm::ParameterSet &comm, const edm::ParameterSet &ctmb) | |
CSCCathodeLCTProcessor () | |
std::vector< CSCCLCTDigi > | getCLCTs () |
bool | getDigis (const CSCComparatorDigiCollection *compdc) |
void | getDigis (const CSCComparatorDigiCollection *compdc, const CSCDetId &id) |
std::vector< int > | preTriggerBXs () const |
std::vector< CSCCLCTDigi > | readoutCLCTs () |
std::vector< CSCCLCTDigi > | run (const CSCComparatorDigiCollection *compdc) |
void | run (const std::vector< int > halfstrip[CSCConstants::NUM_LAYERS][CSCConstants::NUM_HALF_STRIPS_7CFEBS], const std::vector< int > distrip[CSCConstants::NUM_LAYERS][CSCConstants::NUM_HALF_STRIPS_7CFEBS]) |
void | setConfigParameters (const CSCDBL1TPParameters *conf) |
void | setCSCGeometry (const CSCGeometry *g) |
void | setRing (unsigned r) |
Static Public Member Functions | |
static void | distripStagger (int stag_triad[CSCConstants::MAX_NUM_STRIPS_7CFEBS], int stag_time[CSCConstants::MAX_NUM_STRIPS_7CFEBS], int stag_digi[CSCConstants::MAX_NUM_STRIPS_7CFEBS], int i_distrip, bool debug=false) |
Public Attributes | |
CSCCLCTDigi | bestCLCT [CSCConstants::MAX_CLCT_TBINS] |
CSCCLCTDigi | secondCLCT [CSCConstants::MAX_CLCT_TBINS] |
Static Public Attributes | |
static const int | pattern [CSCConstants::NUM_CLCT_PATTERNS_PRE_TMB07][CSCConstants::MAX_STRIPS_IN_PATTERN+1] |
static const int | pattern2007 [CSCConstants::NUM_CLCT_PATTERNS][CSCConstants::MAX_HALFSTRIPS_IN_PATTERN+2] |
static const int | pattern2007_offset [CSCConstants::MAX_HALFSTRIPS_IN_PATTERN] |
static const int | pre_hit_pattern [2][CSCConstants::MAX_STRIPS_IN_PATTERN] |
Static Private Attributes | |
static const int | cfeb_strips [2] |
static const unsigned int | def_drift_delay = 2 |
static const unsigned int | def_fifo_pretrig = 7 |
static const unsigned int | def_fifo_tbins = 12 |
static const unsigned int | def_hit_persist = 6 |
static const unsigned int | def_min_separation = 10 |
static const unsigned int | def_nplanes_hit_pattern = 4 |
static const unsigned int | def_nplanes_hit_pretrig = 2 |
static const unsigned int | def_pid_thresh_pretrig = 2 |
static const unsigned int | def_tmb_l1a_window_size = 7 |
This class simulates the functionality of the cathode LCT card. It is run by the MotherBoard and returns up to two CathodeLCTs. It can be run either in a test mode, where it is passed arrays of halfstrip and distrip times, or in normal mode where it determines the time and comparator information from the comparator digis.
The CathodeLCTs come in distrip and halfstrip flavors; they are sorted (from best to worst) as follows: 6/6H, 5/6H, 6/6D, 4/6H, 5/6D, 4/6D.
Updates for high pileup running by Vadim Khotilovich (TAMU), December 2012
Updates for integrated local trigger with GEMs and RPCs by Sven Dildick (TAMU) and Tao Huang (TAMU), April 2015
Removing usage of outdated class CSCTriggerGeometry by Sven Dildick (TAMU)
Definition at line 44 of file CSCCathodeLCTProcessor.h.
Enumerator | |
---|---|
CLCT_PATTERN | |
CLCT_BEND | |
CLCT_STRIP | |
CLCT_BX | |
CLCT_STRIP_TYPE | |
CLCT_QUALITY | |
CLCT_CFEB | |
CLCT_NUM_QUANTITIES |
Definition at line 111 of file CSCCathodeLCTProcessor.h.
CSCCathodeLCTProcessor::CSCCathodeLCTProcessor | ( | unsigned | endcap, |
unsigned | station, | ||
unsigned | sector, | ||
unsigned | subsector, | ||
unsigned | chamber, | ||
const edm::ParameterSet & | conf, | ||
const edm::ParameterSet & | comm, | ||
const edm::ParameterSet & | ctmb | ||
) |
Normal constructor.
Definition at line 240 of file CSCCathodeLCTProcessor.cc.
References CSCTriggerNumbering::chamberFromTriggerLabels(), checkConfigParameters(), CSCConstants::CLCT_EMUL_TIME_OFFSET, clct_state_machine_zone, disableME1a, drift_delay, dumpConfigParams(), dynamic_state_machine_zone, early_tbins, edm::ParameterSet::existsAs(), fifo_pretrig, fifo_tbins, gangedME1a, edm::ParameterSet::getParameter(), hit_persist, infoV, isME11, isMTCC, isSLHC, isTMB07, min_separation, nplanes_hit_pattern, nplanes_hit_pretrig, CSCConstants::NUM_LAYERS, numStrips, pid_thresh_pretrig, pretrig_trig_zone, readout_earliest_2, CSCTriggerNumbering::ringFromTriggerLabels(), smartME1aME1b, stagger, start_bx_shift, theChamber, theRing, theSector, theStation, theSubsector, theTrigChamber, tmb_l1a_window_size, use_corrected_bx, and use_dead_time_zoning.
CSCCathodeLCTProcessor::CSCCathodeLCTProcessor | ( | ) |
Default constructor. Used for testing.
Definition at line 357 of file CSCCathodeLCTProcessor.cc.
References checkConfigParameters(), clct_state_machine_zone, disableME1a, dumpConfigParams(), early_tbins, gangedME1a, infoV, isME11, isMTCC, isTMB07, CSCConstants::MAX_NUM_STRIPS, CSCConstants::NUM_LAYERS, numStrips, CSCTriggerNumbering::ringFromTriggerLabels(), setDefaultConfigParameters(), smartME1aME1b, stagger, start_bx_shift, theRing, theStation, theTrigChamber, and use_dead_time_zoning.
|
private |
Make sure that the parameter values are within the allowed range.
Definition at line 445 of file CSCCathodeLCTProcessor.cc.
References def_drift_delay, def_fifo_pretrig, def_fifo_tbins, def_hit_persist, def_min_separation, def_nplanes_hit_pattern, def_nplanes_hit_pretrig, def_pid_thresh_pretrig, def_tmb_l1a_window_size, drift_delay, fifo_pretrig, fifo_tbins, hit_persist, infoV, isTMB07, min_separation, nplanes_hit_pattern, nplanes_hit_pretrig, CSCConstants::NUM_HALF_STRIPS_7CFEBS, pid_thresh_pretrig, and tmb_l1a_window_size.
Referenced by CSCCathodeLCTProcessor(), and setConfigParameters().
void CSCCathodeLCTProcessor::clear | ( | void | ) |
Clears the LCT containers.
Definition at line 538 of file CSCCathodeLCTProcessor.cc.
References bestCLCT, CSCCLCTDigi::clear(), CSCConstants::MAX_CLCT_TBINS, secondCLCT, and thePreTriggerBXs.
|
static |
Definition at line 1082 of file CSCCathodeLCTProcessor.cc.
References LogDebug, and CSCConstants::MAX_NUM_STRIPS.
Referenced by preTriggerBXs(), readComparatorDigis(), and testDistripStagger().
|
private |
Dump CLCT configuration parameters.
Definition at line 2766 of file CSCCathodeLCTProcessor.cc.
References drift_delay, fifo_pretrig, fifo_tbins, hit_persist, isTMB07, LogDebug, min_separation, nplanes_hit_pattern, nplanes_hit_pretrig, and pid_thresh_pretrig.
Referenced by CSCCathodeLCTProcessor(), run(), and setConfigParameters().
|
private |
Dump digis on half-strips and di-strips.
Definition at line 2796 of file CSCCathodeLCTProcessor.cc.
References cfeb_strips, TauDecayModes::dec, relativeConstraints::empty, LogDebug, LogTrace, CSCConstants::NUM_LAYERS, digi_MixPreMix_cfi::strip, theChamber, theEndcap, theRing, and theStation.
Referenced by findLCTs(), and findLCTsSLHC().
|
private |
Definition at line 1165 of file CSCCathodeLCTProcessor.cc.
References funct::abs(), CLCT_BEND, CLCT_BX, CLCT_CFEB, CLCT_NUM_QUANTITIES, CLCT_PATTERN, CLCT_QUALITY, CLCT_STRIP, CLCT_STRIP_TYPE, dumpDigis(), getKeyStripData(), infoV, LogTrace, CSCConstants::MAX_CLCTS_PER_PROCESSOR, nplanes_hit_pattern, CSCConstants::NUM_HALF_STRIPS_7CFEBS, CSCConstants::NUM_HALF_STRIPS_PER_CFEB, numStrips, preTrigger(), and digi_MixPreMix_cfi::strip.
Referenced by run(), and testPatterns().
|
private |
Definition at line 1459 of file CSCCathodeLCTProcessor.cc.
References CLCT_BEND, CLCT_BX, CLCT_CFEB, CLCT_NUM_QUANTITIES, CLCT_PATTERN, CLCT_QUALITY, CLCT_STRIP, CLCT_STRIP_TYPE, drift_delay, dumpDigis(), getKeyStripData(), infoV, latchLCTs(), LogTrace, CSCConstants::MAX_CFEBS, CSCConstants::MAX_CLCTS_PER_PROCESSOR, CSCConstants::NUM_DI_STRIPS, CSCConstants::NUM_HALF_STRIPS, CSCConstants::NUM_HALF_STRIPS_7CFEBS, CSCConstants::NUM_HALF_STRIPS_PER_CFEB, CSCConstants::NUM_LAYERS, numStrips, preTrigger(), and priorityEncode().
|
private |
Definition at line 2068 of file CSCCathodeLCTProcessor.cc.
References best_pid, cfeb_strips, CLCT_BEND, CLCT_BX, CLCT_CFEB, CLCT_NUM_QUANTITIES, CLCT_PATTERN, CLCT_QUALITY, CLCT_STRIP, CLCT_STRIP_TYPE, drift_delay, dumpDigis(), fifo_tbins, infoV, CSCConstants::KEY_CLCT_LAYER, LogTrace, markBusyKeys(), CSCConstants::MAX_CLCTS_PER_PROCESSOR, CSCConstants::MAX_HALFSTRIPS_IN_PATTERN, nhits, nplanes_hit_pattern, CSCConstants::NUM_HALF_STRIPS_7CFEBS, CSCConstants::NUM_LAYERS, numStrips, pattern2007, preTrigger(), ptnFinding(), pulseExtension(), jets_cff::quality, stagger, start_bx_shift, and thePreTriggerBXs.
|
private |
Definition at line 2504 of file CSCCathodeLCTProcessor.cc.
References best_pid, cfeb_strips, CLCT_BEND, CLCT_BX, CLCT_CFEB, CLCT_NUM_QUANTITIES, CLCT_PATTERN, CLCT_QUALITY, clct_state_machine_zone, CLCT_STRIP, CLCT_STRIP_TYPE, drift_delay, dumpDigis(), dynamic_state_machine_zone, fifo_tbins, first_bx_corrected, mps_fire::i, infoV, ispretrig, CSCConstants::KEY_CLCT_LAYER, LogTrace, markBusyKeys(), CSCConstants::MAX_CLCT_TBINS, CSCConstants::MAX_CLCTS_PER_PROCESSOR, CSCConstants::MAX_HALFSTRIPS_IN_PATTERN, nhits, nplanes_hit_pattern, CSCConstants::NUM_HALF_STRIPS_7CFEBS, CSCConstants::NUM_LAYERS, numStrips, pattern2007, pretrig_trig_zone, preTrigger(), ptnFinding(), pulseExtension(), jets_cff::quality, CSCCLCTDigi::setFullBX(), stagger, start_bx_shift, and use_corrected_bx.
Referenced by run().
|
private |
Definition at line 3159 of file CSCCathodeLCTProcessor.cc.
References relativeConstraints::empty, and CSCConstants::NUM_LAYERS.
Referenced by testPatterns().
std::vector< CSCCLCTDigi > CSCCathodeLCTProcessor::getCLCTs | ( | ) |
Returns vector of all found CLCTs, if any.
Definition at line 2914 of file CSCCathodeLCTProcessor.cc.
References bestCLCT, CSCConstants::MAX_CLCT_TBINS, and secondCLCT.
Referenced by readoutCLCTs(), and run().
bool CSCCathodeLCTProcessor::getDigis | ( | const CSCComparatorDigiCollection * | compdc | ) |
Access routines to comparator digis.
Definition at line 758 of file CSCCathodeLCTProcessor.cc.
References digiV, disableME1a, relativeConstraints::empty, infoV, LogTrace, CSCConstants::NUM_LAYERS, smartME1aME1b, theChamber, theEndcap, theRing, theSector, theStation, theSubsector, and theTrigChamber.
Referenced by run(), and setCSCGeometry().
void CSCCathodeLCTProcessor::getDigis | ( | const CSCComparatorDigiCollection * | compdc, |
const CSCDetId & | id | ||
) |
Definition at line 798 of file CSCCathodeLCTProcessor.cc.
References digiV, disableME1a, gangedME1a, relativeConstraints::ring, smartME1aME1b, theRing, and theStation.
|
private |
Referenced by findLCTs(), preTrigger(), and priorityEncode().
|
private |
|
private |
Definition at line 1403 of file CSCCathodeLCTProcessor.cc.
References hitIsGood(), CSCConstants::MAX_STRIPS_IN_PATTERN, CSCConstants::NUM_LAYERS, and pattern.
Referenced by preTrigger(), priorityEncode(), and testPatterns().
|
private |
Definition at line 2022 of file CSCCathodeLCTProcessor.cc.
References CSCConstants::MAX_STRIPS_IN_PATTERN, CSCConstants::NUM_LAYERS, and pattern.
|
private |
Definition at line 1439 of file CSCCathodeLCTProcessor.cc.
References dt, and hit_persist.
Referenced by getPattern().
|
private |
Definition at line 1678 of file CSCCathodeLCTProcessor.cc.
References cfeb_strips, infoV, LogTrace, CSCConstants::MAX_CFEBS, CSCConstants::MAX_STRIPS_IN_PATTERN, CSCConstants::NUM_LAYERS, and pre_hit_pattern.
Referenced by findLCTs().
|
private |
Definition at line 2480 of file CSCCathodeLCTProcessor.cc.
References min_separation, and jets_cff::quality.
Referenced by findLCTs(), and findLCTsSLHC().
|
private |
Definition at line 1264 of file CSCCathodeLCTProcessor.cc.
References CLCT_BEND, CLCT_BX, CLCT_NUM_QUANTITIES, CLCT_PATTERN, CLCT_QUALITY, CLCT_STRIP, drift_delay, fifo_tbins, getKeyStripData(), getPattern(), hfClusterShapes_cfi::hits, mps_fire::i, infoV, LogTrace, CSCConstants::MAX_STRIPS_IN_PATTERN, nplanes_hit_pretrig, CSCConstants::NUM_CLCT_PATTERNS_PRE_TMB07, CSCConstants::NUM_HALF_STRIPS_7CFEBS, CSCConstants::NUM_LAYERS, pre_hit_pattern, pulseExtension(), jets_cff::quality, and digi_MixPreMix_cfi::strip.
Referenced by findLCTs(), and findLCTsSLHC().
|
private |
Definition at line 1583 of file CSCCathodeLCTProcessor.cc.
References fifo_tbins, infoV, LogTrace, preTrigLookUp(), pulseExtension(), and digi_MixPreMix_cfi::strip.
|
private |
Definition at line 2305 of file CSCCathodeLCTProcessor.cc.
References best_pid, fifo_tbins, infoV, ispretrig, CSCConstants::KEY_CLCT_LAYER, LogTrace, nhits, nplanes_hit_pretrig, numStrips, pid_thresh_pretrig, ptnFinding(), and stagger.
|
inline |
Definition at line 90 of file CSCCathodeLCTProcessor.h.
References debug, distripStagger(), CSCConstants::MAX_NUM_STRIPS_7CFEBS, and thePreTriggerBXs.
|
private |
Definition at line 1619 of file CSCCathodeLCTProcessor.cc.
References cfeb_strips, infoV, LogTrace, CSCConstants::MAX_CFEBS, CSCConstants::MAX_STRIPS_IN_PATTERN, nplanes_hit_pretrig, CSCConstants::NUM_LAYERS, and pre_hit_pattern.
Referenced by preTrigger().
|
private |
Definition at line 3021 of file CSCCathodeLCTProcessor.cc.
References gather_cfg::cout, isTMB07, CSCConstants::KEY_CLCT_LAYER, CSCConstants::KEY_CLCT_LAYER_PRE_TMB07, CSCConstants::MAX_STRIPS_IN_PATTERN, CSCConstants::NUM_CLCT_PATTERNS_PRE_TMB07, CSCConstants::NUM_LAYERS, pattern, and digi_MixPreMix_cfi::strip.
|
private |
Definition at line 1743 of file CSCCathodeLCTProcessor.cc.
References cfeb_strips, CLCT_BEND, CLCT_BX, CLCT_CFEB, CLCT_NUM_QUANTITIES, CLCT_PATTERN, CLCT_QUALITY, CLCT_STRIP, CLCT_STRIP_TYPE, drift_delay, getKeyStripData(), getPattern(), infoV, crabWrapper::key, LogTrace, CSCConstants::MAX_CFEBS, CSCConstants::MAX_CLCTS_PER_PROCESSOR, CSCConstants::MAX_STRIPS_IN_PATTERN, nplanes_hit_pattern, nplanes_hit_pretrig, CSCConstants::NUM_CLCT_PATTERNS_PRE_TMB07, CSCConstants::NUM_DI_STRIPS, CSCConstants::NUM_HALF_STRIPS, CSCConstants::NUM_HALF_STRIPS_7CFEBS, CSCConstants::NUM_LAYERS, pre_hit_pattern, and jets_cff::quality.
Referenced by findLCTs().
|
private |
Definition at line 2358 of file CSCCathodeLCTProcessor.cc.
References best_pid, fifo_tbins, first_bx_corrected, hit_persist, infoV, CSCConstants::KEY_CLCT_LAYER, LogTrace, CSCConstants::MAX_HALFSTRIPS_IN_PATTERN, nhits, nplanes_hit_pretrig, CSCConstants::NUM_CLCT_PATTERNS, CSCConstants::NUM_LAYERS, pattern2007, pattern2007_offset, sysUtil::pid, pid_thresh_pretrig, and stagger.
Referenced by findLCTs(), findLCTsSLHC(), and preTrigger().
|
private |
Definition at line 2257 of file CSCCathodeLCTProcessor.cc.
References relativeConstraints::empty, hit_persist, mps_fire::i, infoV, CSCConstants::NUM_LAYERS, start_bx_shift, and ntuplemaker::time.
Referenced by findLCTs(), findLCTsSLHC(), and preTrigger().
|
private |
Definition at line 936 of file CSCCathodeLCTProcessor.cc.
References AlCaHLTBitMon_QueryRunRegistry::comp, digiV, distripStagger(), fifo_tbins, CSCComparatorDigi::getComparator(), CSCComparatorDigi::getStrip(), CSCComparatorDigi::getTimeBin(), mps_fire::i, infoV, isTMB07, LogTrace, CSCConstants::MAX_NUM_STRIPS, CSCConstants::MAX_NUM_STRIPS_7CFEBS, CSCConstants::NUM_LAYERS, numStrips, stagger, testDistripStagger(), and ntuplemaker::time.
Referenced by run().
|
private |
Definition at line 838 of file CSCCathodeLCTProcessor.cc.
References begin, digiV, fifo_tbins, hit_persist, mps_fire::i, infoV, LogTrace, CSCConstants::NUM_LAYERS, numStrips, and stagger.
std::vector< CSCCLCTDigi > CSCCathodeLCTProcessor::readoutCLCTs | ( | ) |
Returns vector of CLCTs in the read-out time window, if any.
Definition at line 2836 of file CSCCathodeLCTProcessor.cc.
References early_tbins, getCLCTs(), infoV, LogDebug, CSCConstants::MAX_CLCT_TBINS, readout_earliest_2, and tmb_l1a_window_size.
std::vector< CSCCLCTDigi > CSCCathodeLCTProcessor::run | ( | const CSCComparatorDigiCollection * | compdc | ) |
Runs the LCT processor code. Called in normal running – gets info from a collection of comparator digis.
Definition at line 547 of file CSCCathodeLCTProcessor.cc.
References relativeConstraints::chamber, CSCGeometry::chamber(), CSCTriggerNumbering::chamberFromTriggerLabels(), csc_g, disableME1a, dumpConfigParams(), relativeConstraints::empty, gangedME1a, getCLCTs(), getDigis(), infoV, isME11, isSLHC, isTMB07, CSCConstants::MAX_NUM_STRIPS_7CFEBS, nplanes_hit_pretrig, CSCConstants::NUM_HALF_STRIPS_7CFEBS, CSCConstants::NUM_LAYERS, numStrips, readComparatorDigis(), relativeConstraints::ring, CSCTriggerNumbering::ringFromTriggerLabels(), smartME1aME1b, stagger, theChamber, theEndcap, theRing, theSector, theStation, theSubsector, and theTrigChamber.
Referenced by setCSCGeometry().
void CSCCathodeLCTProcessor::run | ( | const std::vector< int > | halfstrip[CSCConstants::NUM_LAYERS][CSCConstants::NUM_HALF_STRIPS_7CFEBS], |
const std::vector< int > | distrip[CSCConstants::NUM_LAYERS][CSCConstants::NUM_HALF_STRIPS_7CFEBS] | ||
) |
Called in test mode and by the run(compdc) function; does the actual LCT finding.
Definition at line 681 of file CSCCathodeLCTProcessor.cc.
References bestCLCT, findLCTs(), findLCTsSLHC(), mps_fire::i, infoV, isME11, isMTCC, isSLHC, isTMB07, LogDebug, CSCConstants::MAX_CLCT_TBINS, secondCLCT, CSCCLCTDigi::setTrknmb(), smartME1aME1b, theChamber, theEndcap, theRing, theSector, theStation, theSubsector, theTrigChamber, and use_dead_time_zoning.
void CSCCathodeLCTProcessor::setConfigParameters | ( | const CSCDBL1TPParameters * | conf | ) |
Sets configuration parameters obtained via EventSetup mechanism.
Definition at line 420 of file CSCCathodeLCTProcessor.cc.
References checkConfigParameters(), CSCDBL1TPParameters::clctDriftDelay(), CSCDBL1TPParameters::clctFifoPretrig(), CSCDBL1TPParameters::clctFifoTbins(), CSCDBL1TPParameters::clctHitPersist(), CSCDBL1TPParameters::clctMinSeparation(), CSCDBL1TPParameters::clctNplanesHitPattern(), CSCDBL1TPParameters::clctNplanesHitPretrig(), CSCDBL1TPParameters::clctPidThreshPretrig(), drift_delay, dumpConfigParams(), fifo_pretrig, fifo_tbins, hit_persist, isTMB07, min_separation, nplanes_hit_pattern, nplanes_hit_pretrig, and pid_thresh_pretrig.
|
inline |
Definition at line 63 of file CSCCathodeLCTProcessor.h.
References csc_g, g, getDigis(), CSCConstants::NUM_HALF_STRIPS_7CFEBS, CSCConstants::NUM_LAYERS, and run().
|
private |
Set default values for configuration parameters.
Definition at line 398 of file CSCCathodeLCTProcessor.cc.
References def_drift_delay, def_fifo_pretrig, def_fifo_tbins, def_hit_persist, def_min_separation, def_nplanes_hit_pattern, def_nplanes_hit_pretrig, def_pid_thresh_pretrig, def_tmb_l1a_window_size, drift_delay, fifo_pretrig, fifo_tbins, hit_persist, isMTCC, isTMB07, min_separation, nplanes_hit_pattern, nplanes_hit_pretrig, pid_thresh_pretrig, and tmb_l1a_window_size.
Referenced by CSCCathodeLCTProcessor().
|
inline |
Set ring number Has to be done for upgrade ME1a!
Definition at line 100 of file CSCCathodeLCTProcessor.h.
References alignCSCRings::r, and theRing.
|
private |
Definition at line 2927 of file CSCCathodeLCTProcessor.cc.
References gather_cfg::cout, debug, distripStagger(), mps_fire::i, and CSCConstants::NUM_DI_STRIPS.
Referenced by readComparatorDigis().
|
private |
Definition at line 2976 of file CSCCathodeLCTProcessor.cc.
References CSCCLCTDigi::getBend(), CSCCLCTDigi::getBX(), CSCCLCTDigi::getCFEB(), CSCCLCTDigi::getKeyStrip(), CSCCLCTDigi::getPattern(), CSCCLCTDigi::getQuality(), CSCCLCTDigi::getStripType(), LogTrace, CSCConstants::MAX_CFEBS, CSCConstants::NUM_HALF_STRIPS_PER_CFEB, and jets_cff::quality.
|
private |
Definition at line 3062 of file CSCCathodeLCTProcessor.cc.
References gather_cfg::cout, relativeConstraints::empty, findLCTs(), findNumLayersHit(), getPattern(), isTMB07, CSCConstants::KEY_CLCT_LAYER, CSCConstants::KEY_CLCT_LAYER_PRE_TMB07, CSCConstants::NUM_HALF_STRIPS_7CFEBS, CSCConstants::NUM_LAYERS, convertSQLitetoXML_cfg::output, pattern, mps_update::results, and digi_MixPreMix_cfi::strip.
|
private |
Definition at line 266 of file CSCCathodeLCTProcessor.h.
Referenced by findLCTs(), findLCTsSLHC(), preTrigger(), and ptnFinding().
CSCCLCTDigi CSCCathodeLCTProcessor::bestCLCT[CSCConstants::MAX_CLCT_TBINS] |
Best LCT in this chamber, as found by the processor.
Definition at line 79 of file CSCCathodeLCTProcessor.h.
Referenced by clear(), getCLCTs(), and run().
|
staticprivate |
Number of di-strips/half-strips per CFEB.
Definition at line 201 of file CSCCathodeLCTProcessor.h.
Referenced by dumpDigis(), findLCTs(), findLCTsSLHC(), latchLCTs(), preTrigLookUp(), and priorityEncode().
|
private |
Definition at line 174 of file CSCCathodeLCTProcessor.h.
Referenced by CSCCathodeLCTProcessor(), and findLCTsSLHC().
|
private |
Definition at line 134 of file CSCCathodeLCTProcessor.h.
Referenced by run(), and setCSCGeometry().
|
staticprivate |
Definition at line 188 of file CSCCathodeLCTProcessor.h.
Referenced by checkConfigParameters(), and setDefaultConfigParameters().
|
staticprivate |
Definition at line 187 of file CSCCathodeLCTProcessor.h.
Referenced by checkConfigParameters(), and setDefaultConfigParameters().
|
staticprivate |
Default values of configuration parameters.
Definition at line 187 of file CSCCathodeLCTProcessor.h.
Referenced by checkConfigParameters(), and setDefaultConfigParameters().
|
staticprivate |
Definition at line 188 of file CSCCathodeLCTProcessor.h.
Referenced by checkConfigParameters(), and setDefaultConfigParameters().
|
staticprivate |
Definition at line 191 of file CSCCathodeLCTProcessor.h.
Referenced by checkConfigParameters(), and setDefaultConfigParameters().
|
staticprivate |
Definition at line 190 of file CSCCathodeLCTProcessor.h.
Referenced by checkConfigParameters(), and setDefaultConfigParameters().
|
staticprivate |
Definition at line 189 of file CSCCathodeLCTProcessor.h.
Referenced by checkConfigParameters(), and setDefaultConfigParameters().
|
staticprivate |
Definition at line 191 of file CSCCathodeLCTProcessor.h.
Referenced by checkConfigParameters(), and setDefaultConfigParameters().
|
staticprivate |
Definition at line 192 of file CSCCathodeLCTProcessor.h.
Referenced by checkConfigParameters(), and setDefaultConfigParameters().
|
private |
Definition at line 144 of file CSCCathodeLCTProcessor.h.
Referenced by getDigis(), and readComparatorDigis().
|
private |
Definition at line 167 of file CSCCathodeLCTProcessor.h.
Referenced by CSCCathodeLCTProcessor(), getDigis(), and run().
|
private |
Definition at line 158 of file CSCCathodeLCTProcessor.h.
Referenced by checkConfigParameters(), CSCCathodeLCTProcessor(), dumpConfigParams(), findLCTs(), findLCTsSLHC(), preTrigger(), priorityEncode(), setConfigParameters(), and setDefaultConfigParameters().
|
private |
Definition at line 175 of file CSCCathodeLCTProcessor.h.
Referenced by CSCCathodeLCTProcessor(), and findLCTsSLHC().
|
private |
VK: separate handle for early time bins
Definition at line 170 of file CSCCathodeLCTProcessor.h.
Referenced by CSCCathodeLCTProcessor(), and readoutCLCTs().
|
private |
Definition at line 157 of file CSCCathodeLCTProcessor.h.
Referenced by checkConfigParameters(), CSCCathodeLCTProcessor(), dumpConfigParams(), setConfigParameters(), and setDefaultConfigParameters().
|
private |
Configuration parameters.
Definition at line 157 of file CSCCathodeLCTProcessor.h.
Referenced by checkConfigParameters(), CSCCathodeLCTProcessor(), dumpConfigParams(), findLCTs(), findLCTsSLHC(), preTrigger(), ptnFinding(), readComparatorDigis(), setConfigParameters(), and setDefaultConfigParameters().
|
private |
Definition at line 268 of file CSCCathodeLCTProcessor.h.
Referenced by findLCTsSLHC(), and ptnFinding().
|
private |
Definition at line 167 of file CSCCathodeLCTProcessor.h.
Referenced by CSCCathodeLCTProcessor(), getDigis(), and run().
|
private |
Definition at line 158 of file CSCCathodeLCTProcessor.h.
Referenced by checkConfigParameters(), CSCCathodeLCTProcessor(), dumpConfigParams(), hitIsGood(), ptnFinding(), pulseExtension(), readComparatorDigis(), setConfigParameters(), and setDefaultConfigParameters().
|
private |
Verbosity level: 0: no print (default). 1: print only CLCTs found. 2: info at every step of the algorithm. 3: add special-purpose prints.
Definition at line 125 of file CSCCathodeLCTProcessor.h.
Referenced by checkConfigParameters(), CSCCathodeLCTProcessor(), findLCTs(), findLCTsSLHC(), getDigis(), latchLCTs(), preTrigger(), preTrigLookUp(), priorityEncode(), ptnFinding(), pulseExtension(), readComparatorDigis(), readoutCLCTs(), and run().
|
private |
Definition at line 139 of file CSCCathodeLCTProcessor.h.
Referenced by CSCCathodeLCTProcessor(), and run().
|
private |
Flag for "real" - not idealized - version of the algorithm.
Definition at line 148 of file CSCCathodeLCTProcessor.h.
Referenced by CSCCathodeLCTProcessor(), run(), and setDefaultConfigParameters().
|
private |
Definition at line 275 of file CSCCathodeLCTProcessor.h.
Referenced by findLCTsSLHC(), and preTrigger().
|
private |
Flag for SLHC studies.
Definition at line 154 of file CSCCathodeLCTProcessor.h.
Referenced by CSCCathodeLCTProcessor(), and run().
|
private |
Flag for 2007 firmware version.
Definition at line 151 of file CSCCathodeLCTProcessor.h.
Referenced by checkConfigParameters(), CSCCathodeLCTProcessor(), dumpConfigParams(), printPatterns(), readComparatorDigis(), run(), setConfigParameters(), setDefaultConfigParameters(), and testPatterns().
|
private |
Definition at line 160 of file CSCCathodeLCTProcessor.h.
Referenced by checkConfigParameters(), CSCCathodeLCTProcessor(), dumpConfigParams(), markBusyKeys(), setConfigParameters(), and setDefaultConfigParameters().
|
private |
Definition at line 267 of file CSCCathodeLCTProcessor.h.
Referenced by findLCTs(), findLCTsSLHC(), preTrigger(), and ptnFinding().
|
private |
Definition at line 159 of file CSCCathodeLCTProcessor.h.
Referenced by checkConfigParameters(), CSCCathodeLCTProcessor(), dumpConfigParams(), findLCTs(), findLCTsSLHC(), priorityEncode(), setConfigParameters(), and setDefaultConfigParameters().
|
private |
Definition at line 159 of file CSCCathodeLCTProcessor.h.
Referenced by checkConfigParameters(), CSCCathodeLCTProcessor(), dumpConfigParams(), preTrigger(), preTrigLookUp(), priorityEncode(), ptnFinding(), run(), setConfigParameters(), and setDefaultConfigParameters().
|
private |
Definition at line 141 of file CSCCathodeLCTProcessor.h.
Referenced by CSCCathodeLCTProcessor(), findLCTs(), findLCTsSLHC(), preTrigger(), readComparatorDigis(), and run().
|
static |
Definition at line 104 of file CSCCathodeLCTProcessor.h.
Referenced by getPattern(), dataset.BaseDataset::printFiles(), printPatterns(), and testPatterns().
|
static |
Definition at line 107 of file CSCCathodeLCTProcessor.h.
Referenced by findLCTs(), findLCTsSLHC(), and ptnFinding().
|
static |
Definition at line 106 of file CSCCathodeLCTProcessor.h.
Referenced by ptnFinding().
|
private |
Definition at line 160 of file CSCCathodeLCTProcessor.h.
Referenced by checkConfigParameters(), CSCCathodeLCTProcessor(), dumpConfigParams(), preTrigger(), ptnFinding(), setConfigParameters(), and setDefaultConfigParameters().
|
static |
Pre-defined patterns.
Definition at line 103 of file CSCCathodeLCTProcessor.h.
Referenced by latchLCTs(), preTrigger(), preTrigLookUp(), and priorityEncode().
|
private |
VK: allow triggers only in +-pretrig_trig_zone around pretriggers
Definition at line 178 of file CSCCathodeLCTProcessor.h.
Referenced by CSCCathodeLCTProcessor(), and findLCTsSLHC().
|
private |
VK: whether to readout only the earliest two LCTs in readout window
Definition at line 184 of file CSCCathodeLCTProcessor.h.
Referenced by CSCCathodeLCTProcessor(), and readoutCLCTs().
CSCCLCTDigi CSCCathodeLCTProcessor::secondCLCT[CSCConstants::MAX_CLCT_TBINS] |
Second best LCT in this chamber, as found by the processor.
Definition at line 82 of file CSCCathodeLCTProcessor.h.
Referenced by clear(), getCLCTs(), and run().
|
private |
VK: special configuration parameters for ME1a treatment
Definition at line 167 of file CSCCathodeLCTProcessor.h.
Referenced by CSCCathodeLCTProcessor(), getDigis(), and run().
|
private |
Definition at line 142 of file CSCCathodeLCTProcessor.h.
Referenced by CSCCathodeLCTProcessor(), findLCTs(), findLCTsSLHC(), preTrigger(), ptnFinding(), readComparatorDigis(), and run().
|
private |
VK: some quick and dirty fix to reduce CLCT deadtime
Definition at line 164 of file CSCCathodeLCTProcessor.h.
Referenced by CSCCathodeLCTProcessor(), findLCTs(), findLCTsSLHC(), and pulseExtension().
|
private |
Definition at line 138 of file CSCCathodeLCTProcessor.h.
Referenced by CSCCathodeLCTProcessor(), dumpDigis(), getDigis(), and run().
|
private |
Chamber id (trigger-type labels).
Definition at line 128 of file CSCCathodeLCTProcessor.h.
Referenced by dumpDigis(), getDigis(), and run().
|
private |
Definition at line 145 of file CSCCathodeLCTProcessor.h.
Referenced by clear(), findLCTs(), and preTriggerBXs().
|
private |
Definition at line 137 of file CSCCathodeLCTProcessor.h.
Referenced by CSCCathodeLCTProcessor(), dumpDigis(), getDigis(), run(), and setRing().
|
private |
Definition at line 130 of file CSCCathodeLCTProcessor.h.
Referenced by CSCCathodeLCTProcessor(), getDigis(), and run().
|
private |
Definition at line 129 of file CSCCathodeLCTProcessor.h.
Referenced by CSCCathodeLCTProcessor(), dumpDigis(), getDigis(), and run().
|
private |
Definition at line 131 of file CSCCathodeLCTProcessor.h.
Referenced by CSCCathodeLCTProcessor(), getDigis(), and run().
|
private |
Definition at line 132 of file CSCCathodeLCTProcessor.h.
Referenced by CSCCathodeLCTProcessor(), getDigis(), and run().
|
private |
Definition at line 161 of file CSCCathodeLCTProcessor.h.
Referenced by checkConfigParameters(), CSCCathodeLCTProcessor(), readoutCLCTs(), and setDefaultConfigParameters().
|
private |
VK: whether to use corrected_bx instead of pretrigger BX
Definition at line 181 of file CSCCathodeLCTProcessor.h.
Referenced by CSCCathodeLCTProcessor(), and findLCTsSLHC().
|
private |
VK: use of localized dead-time zones
Definition at line 173 of file CSCCathodeLCTProcessor.h.
Referenced by CSCCathodeLCTProcessor(), and run().