#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 27 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 93 of file HGCalConcentratorSuperTriggerCellImpl.cc.
References HltBtagPostValidation_cff::c, HGCalTriggerCellCalibration::calibrateInGeV(), calibration_, coarsenTriggerCells_, coarseTCmapping_, HLTTauDQMOffline_cfi::denominator, energyDivisionType_, equalShare, Exception, fixedDataSizePerHGCROC_, cropTnPTrees::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(), kHighDensityThickness_, kTriggerCellsForDivision_, oneBitFraction, p4, point, findQualityFiles::size, superTCmapping_, superTriggerCell, Calorimetry_cff::thickness, HGCalTriggerTools::thicknessIndex(), and triggerTools_.
Referenced by createAllTriggerCells().
|
private |
Definition at line 36 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 calibration_, coarseTCmapping_, HGCalCoarseTriggerCellMapping::eventSetup(), HGCalTriggerCellCalibration::eventSetup(), HGCalTriggerTools::eventSetup(), superTCmapping_, and triggerTools_.
|
private |
Definition at line 29 of file HGCalConcentratorSuperTriggerCellImpl.cc.
References HGCalVFECompressionImpl::compressSingle(), HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::getSumHwPt(), and vfeCompression_.
Referenced by assignSuperTriggerCellEnergyAndPosition().
|
private |
Definition at line 150 of file HGCalConcentratorSuperTriggerCellImpl.cc.
References f, cropTnPTrees::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 162 of file HGCalConcentratorSuperTriggerCellImpl.cc.
References createAllTriggerCells(), HGCalCoarseTriggerCellMapping::getCoarseTriggerCellId(), and superTCmapping_.
|
private |
Definition at line 51 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), and eventSetup().
|
private |
Definition at line 39 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), and createAllTriggerCells().
|
private |
Definition at line 40 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), createAllTriggerCells(), and eventSetup().
|
private |
Definition at line 33 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), createAllTriggerCells(), and HGCalConcentratorSuperTriggerCellImpl().
|
private |
Definition at line 38 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), and createAllTriggerCells().
|
staticconstexprprivate |
Definition at line 34 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), and createAllTriggerCells().
|
staticconstexprprivate |
Definition at line 35 of file HGCalConcentratorSuperTriggerCellImpl.h.
|
staticconstexprprivate |
Definition at line 49 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition().
|
private |
Definition at line 46 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by getTriggerCellOneBitFraction(), and HGCalConcentratorSuperTriggerCellImpl().
|
private |
Definition at line 45 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by getTriggerCellOneBitFraction(), and HGCalConcentratorSuperTriggerCellImpl().
|
private |
Definition at line 44 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by getTriggerCellOneBitFraction(), and HGCalConcentratorSuperTriggerCellImpl().
|
private |
Definition at line 41 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), createAllTriggerCells(), eventSetup(), and select().
|
private |
Definition at line 37 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by assignSuperTriggerCellEnergyAndPosition(), createAllTriggerCells(), and eventSetup().
|
private |
Definition at line 52 of file HGCalConcentratorSuperTriggerCellImpl.h.
Referenced by getCompressedSTCEnergy().