#include <HGCalConcentratorSuperTriggerCellImpl.h>
Classes | |
class | SuperTriggerCell |
Public Member Functions | |
void | eventSetup (const edm::EventSetup &es) |
HGCalConcentratorSuperTriggerCellImpl (const edm::ParameterSet &conf) | |
void | select (const std::vector< l1t::HGCalTriggerCell > &trigCellVecInput, std::vector< l1t::HGCalTriggerCell > &trigCellVecOutput) |
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 96 of file HGCalConcentratorSuperTriggerCellImpl.cc.
References c, HGCalTriggerCellCalibration::calibrateInGeV(), calibrationEE_, calibrationHEsc_, calibrationHEsi_, calibrationNose_, coarsenTriggerCells_, coarseTCmapping_, HLTTauDQMOffline_cfi::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, p4, point, findQualityFiles::size, superTCmapping_, superTriggerCell, Calorimetry_cff::thickness, HGCalTriggerTools::thicknessIndex(), and triggerTools_.
Referenced by createAllTriggerCells().
|
private |
Definition at line 39 of file HGCalConcentratorSuperTriggerCellImpl.cc.
References assignSuperTriggerCellEnergyAndPosition(), coarsenTriggerCells_, coarseTCmapping_, energyDivisionType_, Exception, fixedDataSizePerHGCROC_, HGCalCoarseTriggerCellMapping::getCoarseTriggerCellId(), HGCalCoarseTriggerCellMapping::getConstituentTriggerCells(), HGCalCoarseTriggerCellMapping::getRepresentativeDetId(), HGCalTriggerTools::getSubDetectorType(), getTriggerCellOneBitFraction(), HGCalTriggerTools::getTriggerGeometry(), HGCalTriggerGeometryBase::isV9Geometry(), kHighDensityThickness_, oneBitFraction, alignCSCRings::s, l1t::HGCalTriggerCell::setDetId(), superTCmapping_, superTriggerCell, Calorimetry_cff::thickness, HGCalTriggerTools::thicknessIndex(), triggerTools_, and HGCalTriggerGeometryBase::validTriggerCell().
Referenced by select().
|
inline |
Definition at line 19 of file HGCalConcentratorSuperTriggerCellImpl.h.
References calibrationEE_, calibrationHEsc_, calibrationHEsi_, calibrationNose_, coarseTCmapping_, HGCalTriggerCellCalibration::eventSetup(), HGCalCoarseTriggerCellMapping::eventSetup(), HGCalTriggerTools::eventSetup(), superTCmapping_, and triggerTools_.
|
private |
Definition at line 32 of file HGCalConcentratorSuperTriggerCellImpl.cc.
References HGCalVFECompressionImpl::compressSingle(), HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::getSumHwPt(), and vfeCompression_.
Referenced by assignSuperTriggerCellEnergyAndPosition().
|
private |
Definition at line 166 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 178 of file HGCalConcentratorSuperTriggerCellImpl.cc.
References createAllTriggerCells(), HGCalCoarseTriggerCellMapping::getCoarseTriggerCellId(), and superTCmapping_.
|
private |
Definition at line 54 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), and eventSetup().
|
private |
Definition at line 56 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), and eventSetup().
|
private |
Definition at line 55 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), and eventSetup().
|
private |
Definition at line 57 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), and eventSetup().
|
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 eventSetup().
|
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().
|
staticconstexprprivate |
Definition at line 37 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), and createAllTriggerCells().
|
staticconstexprprivate |
Definition at line 38 of file HGCalConcentratorSuperTriggerCellImpl.h.
|
staticconstexprprivate |
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(), eventSetup(), and select().
|
private |
Definition at line 40 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), createAllTriggerCells(), and eventSetup().
|
private |
Definition at line 58 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by getCompressedSTCEnergy().