#include <SimplePlan1RechitCombiner.h>
Public Member Functions | |
virtual void | add (const HBHERecHit &rh) override |
virtual void | clear () override |
virtual void | combine (HBHERecHitCollection *toFill) override |
virtual void | setTopo (const HcalTopology *topo) override |
SimplePlan1RechitCombiner () | |
virtual | ~SimplePlan1RechitCombiner () |
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 36 of file SimplePlan1RechitCombiner.h.
SimplePlan1RechitCombiner::SimplePlan1RechitCombiner | ( | ) |
Definition at line 14 of file SimplePlan1RechitCombiner.cc.
|
inlinevirtual |
Definition at line 12 of file SimplePlan1RechitCombiner.h.
References add(), clear(), combine(), combineAuxInfo(), makeRechit(), mapRechit(), TrackInfoProducer_cfi::rechits, and setTopo().
|
overridevirtual |
Implements AbsPlan1RechitCombiner.
Definition at line 29 of file SimplePlan1RechitCombiner.cc.
References HBHERecHit::auxPhase1(), CaloRecHitAuxSetter::getBit(), HBHERecHit::id(), mapRechit(), HBHERecHitAuxSetter::OFF_DROPPED, and rechitMap_.
Referenced by counter.Counter::register(), and ~SimplePlan1RechitCombiner().
|
overridevirtual |
Implements AbsPlan1RechitCombiner.
Definition at line 24 of file SimplePlan1RechitCombiner.cc.
References rechitMap_.
Referenced by ~SimplePlan1RechitCombiner().
|
overridevirtual |
Implements AbsPlan1RechitCombiner.
Definition at line 35 of file SimplePlan1RechitCombiner.cc.
References plotBeamSpotDB::first, mps_fire::i, HBHERecHit::id(), makeRechit(), ptrbuf_, edm::SortedCollection< T, SORT >::push_back(), DetId::rawId(), rechitMap_, and edm::second().
Referenced by ~SimplePlan1RechitCombiner().
|
protectedvirtual |
Definition at line 119 of file SimplePlan1RechitCombiner.cc.
References HBHERecHit::auxPhase1(), constexpr, SoftLeptonByDistance_cfi::distance, CaloRecHit::flags(), 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(), HBHERecHit::setAuxHBHE(), HBHERecHit::setAuxPhase1(), setBit(), CaloRecHitAuxSetter::setField(), CaloRecHit::setFlags(), and mitigatedMETSequence_cff::U.
Referenced by makeRechit(), and ~SimplePlan1RechitCombiner().
|
protectedvirtual |
Definition at line 71 of file SimplePlan1RechitCombiner.cc.
References HBHERecHit::chi2(), combineAuxInfo(), constexpr, MillePedeFileConverter_cfg::e, HBHERecHit::eaux(), CaloRecHit::energy(), AbsPlan1RechitCombiner::energyWeightedAverage(), HBHERecHit::eraw(), mps_fire::i, HcalSpecialTimes::isSpecial(), HBHERecHit::setAuxEnergy(), HBHERecHit::setChiSquared(), HBHERecHit::setRawEnergy(), CaloRecHit::time(), HBHERecHit::timeFalling(), create_public_lumi_plots::times, mitigatedMETSequence_cff::U, and HcalSpecialTimes::UNKNOWN_T_NOTDC.
Referenced by combine(), and ~SimplePlan1RechitCombiner().
Definition at line 65 of file SimplePlan1RechitCombiner.cc.
References HcalTopology::mergedDepthDetId(), and topo_.
Referenced by add(), and ~SimplePlan1RechitCombiner().
|
overridevirtual |
Implements AbsPlan1RechitCombiner.
Definition at line 19 of file SimplePlan1RechitCombiner.cc.
References topo_.
Referenced by ~SimplePlan1RechitCombiner().
|
private |
Definition at line 39 of file SimplePlan1RechitCombiner.h.
Referenced by combine().
|
private |
Definition at line 38 of file SimplePlan1RechitCombiner.h.
|
protected |
Definition at line 31 of file SimplePlan1RechitCombiner.h.
Referenced by mapRechit(), and setTopo().