#include <SimplePlan1RechitCombiner.h>
Public Member Functions | |
void | add (const HBHERecHit &rh) override |
void | clear () override |
void | combine (HBHERecHitCollection *toFill) override |
void | setTopo (const HcalTopology *topo) override |
SimplePlan1RechitCombiner () | |
~SimplePlan1RechitCombiner () override | |
Public Member Functions inherited from AbsPlan1RechitCombiner | |
virtual | ~AbsPlan1RechitCombiner () |
Protected Member Functions | |
virtual void | combineAuxInfo (const std::vector< const HBHERecHit *> &rechits, HBHERecHit *rh) const |
virtual HBHERecHit | makeRechit (HcalDetId idToMake, const std::vector< const HBHERecHit *> &rechits) const |
virtual HcalDetId | mapRechit (HcalDetId from) const |
Protected Attributes | |
const HcalTopology * | topo_ |
Private Types | |
typedef std::pair< HcalDetId, const HBHERecHit * > | MapItem |
Private Attributes | |
std::vector< const HBHERecHit * > | ptrbuf_ |
std::vector< MapItem > | rechitMap_ |
Additional Inherited Members | |
Protected Types inherited from AbsPlan1RechitCombiner | |
typedef std::pair< float, float > | FPair |
Static Protected Member Functions inherited from AbsPlan1RechitCombiner | |
static float | energyWeightedAverage (const FPair *data, unsigned len, float valueToReturnOnFailure) |
Definition at line 7 of file SimplePlan1RechitCombiner.h.
|
private |
Definition at line 33 of file SimplePlan1RechitCombiner.h.
SimplePlan1RechitCombiner::SimplePlan1RechitCombiner | ( | ) |
Definition at line 14 of file SimplePlan1RechitCombiner.cc.
|
inlineoverride |
Definition at line 11 of file SimplePlan1RechitCombiner.h.
|
overridevirtual |
Implements AbsPlan1RechitCombiner.
Definition at line 20 of file SimplePlan1RechitCombiner.cc.
References HBHERecHit::auxPhase1(), CaloRecHitAuxSetter::getBit(), HBHERecHit::id(), mapRechit(), HBHERecHitAuxSetter::OFF_DROPPED, and rechitMap_.
Referenced by counter.Counter::register().
|
overridevirtual |
Implements AbsPlan1RechitCombiner.
Definition at line 18 of file SimplePlan1RechitCombiner.cc.
References rechitMap_.
|
overridevirtual |
Implements AbsPlan1RechitCombiner.
Definition at line 25 of file SimplePlan1RechitCombiner.cc.
References dqmdumpme::first, mps_fire::i, HBHERecHit::id(), makeRechit(), ptrbuf_, edm::SortedCollection< T, SORT >::push_back(), DetId::rawId(), rechitMap_, edm::second(), and jetUpdater_cfi::sort.
|
protectedvirtual |
Definition at line 99 of file SimplePlan1RechitCombiner.cc.
References cms::cuda::assert(), HBHERecHit::auxPhase1(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), HLT_2024v14_cff::distance, CaloRecHit::flags(), HLT_2024v14_cff::flags, getBit(), CaloRecHitAuxSetter::getField(), HcalCaloFlagLabels::HBHEPulseFitBit, mps_fire::i, HBHERecHitAuxSetter::MASK_CAPID, HBHERecHitAuxSetter::MASK_NSAMPLES, HBHERecHitAuxSetter::MASK_SOI, HBHERecHitAuxSetter::OFF_ADC, HBHERecHitAuxSetter::OFF_CAPID, HBHERecHitAuxSetter::OFF_CAPID_ERR, HBHERecHitAuxSetter::OFF_COMBINED, HBHERecHitAuxSetter::OFF_LINK_ERR, HBHERecHitAuxSetter::OFF_NSAMPLES, HBHERecHitAuxSetter::OFF_SOI, HBHERecHitAuxSetter::OFF_TDC_TIME, CaloRecHitAuxSetter::orBit(), HI_PhotonSkim_cff::rechits, HBHERecHit::setAuxHBHE(), HBHERecHit::setAuxPhase1(), setBit(), CaloRecHitAuxSetter::setField(), CaloRecHit::setFlags(), jetUpdater_cfi::sort, and mitigatedMETSequence_cff::U.
Referenced by makeRechit().
|
protectedvirtual |
Definition at line 53 of file SimplePlan1RechitCombiner.cc.
References cms::cuda::assert(), HBHERecHit::chi2(), combineAuxInfo(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), MillePedeFileConverter_cfg::e, HBHERecHit::eaux(), hcalRecHitTable_cff::energy, CaloRecHit::energy(), AbsPlan1RechitCombiner::energyWeightedAverage(), HBHERecHit::eraw(), mps_fire::i, HcalSpecialTimes::isSpecial(), HI_PhotonSkim_cff::rechits, HBHERecHit::setAuxEnergy(), HBHERecHit::setChiSquared(), HBHERecHit::setRawEnergy(), CaloRecHit::time(), HBHERecHit::timeFalling(), mitigatedMETSequence_cff::U, and HcalSpecialTimes::UNKNOWN_T_NOTDC.
Referenced by combine().
Definition at line 51 of file SimplePlan1RechitCombiner.cc.
References HcalTopology::mergedDepthDetId(), and topo_.
Referenced by add().
|
overridevirtual |
Implements AbsPlan1RechitCombiner.
Definition at line 16 of file SimplePlan1RechitCombiner.cc.
References topo_.
|
private |
Definition at line 36 of file SimplePlan1RechitCombiner.h.
Referenced by combine().
|
private |
Definition at line 35 of file SimplePlan1RechitCombiner.h.
|
protected |
Definition at line 28 of file SimplePlan1RechitCombiner.h.
Referenced by mapRechit(), and setTopo().