#include <HGCalConcentratorSuperTriggerCellImpl.h>
Classes | |
class | SuperTriggerCell |
Public Member Functions | |
HGCalConcentratorSuperTriggerCellImpl (const edm::ParameterSet &conf) | |
void | select (const std::vector< l1t::HGCalTriggerCell > &trigCellVecInput, std::vector< l1t::HGCalTriggerCell > &trigCellVecOutput) |
void | setGeometry (const HGCalTriggerGeometryBase *const geom) |
Private Types | |
enum | EnergyDivisionType { superTriggerCell, oneBitFraction, equalShare } |
Private Member Functions | |
void | assignSuperTriggerCellEnergyAndPosition (l1t::HGCalTriggerCell &c, const SuperTriggerCell &stc) const |
void | createAllTriggerCells (std::unordered_map< unsigned, SuperTriggerCell > &STCs, std::vector< l1t::HGCalTriggerCell > &trigCellVecOutput) const |
uint32_t | getCompressedSTCEnergy (const SuperTriggerCell &stc) const |
float | getTriggerCellOneBitFraction (float tcPt, float sumPt) const |
Static Private Attributes | |
static constexpr int | kHighDensityThickness_ = 0 |
static constexpr int | kOddNumberMask_ = 1 |
static constexpr int | kTriggerCellsForDivision_ = 4 |
Definition at line 13 of file HGCalConcentratorSuperTriggerCellImpl.h.
Enumerator | |
---|---|
superTriggerCell | |
oneBitFraction | |
equalShare |
Definition at line 30 of file HGCalConcentratorSuperTriggerCellImpl.h.
HGCalConcentratorSuperTriggerCellImpl::HGCalConcentratorSuperTriggerCellImpl | ( | const edm::ParameterSet & | conf | ) |
Definition at line 3 of file HGCalConcentratorSuperTriggerCellImpl.cc.
References energyDivisionType_, equalShare, edm::ParameterSet::getParameter(), oneBitFraction, oneBitFractionHighValue_, oneBitFractionLowValue_, oneBitFractionThreshold_, AlCaHLTBitMon_QueryRunRegistry::string, and superTriggerCell.
|
private |
Definition at line 92 of file HGCalConcentratorSuperTriggerCellImpl.cc.
References HltBtagPostValidation_cff::c, HGCalTriggerCellCalibration::calibrateInGeV(), calibrationEE_, calibrationHEsc_, calibrationHEsi_, calibrationNose_, coarsenTriggerCells_, coarseTCmapping_, bTagMiniDQMDeepCSV::denominator, energyDivisionType_, equalShare, Exception, fixedDataSizePerHGCROC_, DivergingColor::frac, HGCalCoarseTriggerCellMapping::getCoarseTriggerCellId(), HGCalCoarseTriggerCellMapping::getCoarseTriggerCellPosition(), getCompressedSTCEnergy(), HGCalCoarseTriggerCellMapping::getConstituentTriggerCells(), HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::getFractionSum(), HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::getMaxId(), HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::getSTCId(), HGCalTriggerTools::getSubDetectorType(), HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::getSumPt(), HGCalTriggerTools::getTCPosition(), HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::getTCpt(), getTriggerCellOneBitFraction(), HGCalTriggerTools::isEm(), HGCalTriggerTools::isNose(), HGCalTriggerTools::isSilicon(), kHighDensityThickness_, kTriggerCellsForDivision_, oneBitFraction, point, findQualityFiles::size, superTCmapping_, superTriggerCell, Calorimetry_cff::thickness, HGCalTriggerTools::thicknessIndex(), and triggerTools_.
Referenced by createAllTriggerCells().
|
private |
Definition at line 43 of file HGCalConcentratorSuperTriggerCellImpl.cc.
References assignSuperTriggerCellEnergyAndPosition(), coarsenTriggerCells_, coarseTCmapping_, energyDivisionType_, Exception, fixedDataSizePerHGCROC_, HGCalCoarseTriggerCellMapping::getCoarseTriggerCellId(), HGCalCoarseTriggerCellMapping::getConstituentTriggerCells(), HGCalCoarseTriggerCellMapping::getRepresentativeDetId(), HGCalTriggerTools::getSubDetectorType(), getTriggerCellOneBitFraction(), HGCalTriggerTools::getTriggerGeometry(), kHighDensityThickness_, oneBitFraction, alignCSCRings::s, l1t::HGCalTriggerCell::setDetId(), superTCmapping_, superTriggerCell, Calorimetry_cff::thickness, HGCalTriggerTools::thicknessIndex(), triggerTools_, and HGCalTriggerGeometryBase::validTriggerCell().
Referenced by select().
|
private |
Definition at line 32 of file HGCalConcentratorSuperTriggerCellImpl.cc.
References HGCalVFECompressionImpl::compressSingle(), HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::getSumHwPt(), SiStripPI::max, and vfeCompression_.
Referenced by assignSuperTriggerCellEnergyAndPosition().
|
private |
Definition at line 162 of file HGCalConcentratorSuperTriggerCellImpl.cc.
References f, DivergingColor::frac, oneBitFractionHighValue_, oneBitFractionLowValue_, oneBitFractionThreshold_, and TtFullHadEvtBuilder_cfi::sumPt.
Referenced by assignSuperTriggerCellEnergyAndPosition(), and createAllTriggerCells().
void HGCalConcentratorSuperTriggerCellImpl::select | ( | const std::vector< l1t::HGCalTriggerCell > & | trigCellVecInput, |
std::vector< l1t::HGCalTriggerCell > & | trigCellVecOutput | ||
) |
Definition at line 174 of file HGCalConcentratorSuperTriggerCellImpl.cc.
References createAllTriggerCells(), HGCalCoarseTriggerCellMapping::getCoarseTriggerCellId(), and superTCmapping_.
|
inline |
Definition at line 19 of file HGCalConcentratorSuperTriggerCellImpl.h.
References calibrationEE_, calibrationHEsc_, calibrationHEsi_, calibrationNose_, coarseTCmapping_, relativeConstraints::geom, HGCalTriggerCellCalibration::setGeometry(), HGCalCoarseTriggerCellMapping::setGeometry(), HGCalTriggerTools::setGeometry(), superTCmapping_, and triggerTools_.
|
private |
Definition at line 54 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), and setGeometry().
|
private |
Definition at line 56 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), and setGeometry().
|
private |
Definition at line 55 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), and setGeometry().
|
private |
Definition at line 57 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), and setGeometry().
|
private |
Definition at line 42 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), and createAllTriggerCells().
|
private |
Definition at line 43 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), createAllTriggerCells(), and setGeometry().
|
private |
Definition at line 36 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), createAllTriggerCells(), and HGCalConcentratorSuperTriggerCellImpl().
|
private |
Definition at line 41 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), and createAllTriggerCells().
|
staticprivate |
Definition at line 37 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), and createAllTriggerCells().
|
staticprivate |
Definition at line 38 of file HGCalConcentratorSuperTriggerCellImpl.h.
|
staticprivate |
Definition at line 52 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition().
|
private |
Definition at line 49 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by getTriggerCellOneBitFraction(), and HGCalConcentratorSuperTriggerCellImpl().
|
private |
Definition at line 48 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by getTriggerCellOneBitFraction(), and HGCalConcentratorSuperTriggerCellImpl().
|
private |
Definition at line 47 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by getTriggerCellOneBitFraction(), and HGCalConcentratorSuperTriggerCellImpl().
|
private |
Definition at line 44 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), createAllTriggerCells(), select(), and setGeometry().
|
private |
Definition at line 40 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), createAllTriggerCells(), and setGeometry().
|
private |
Definition at line 58 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by getCompressedSTCEnergy().