#include <PFEcalEndcapRecHitCreator.h>
Public Member Functions | |
void | importRecHits (std::unique_ptr< reco::PFRecHitCollection > &out, std::unique_ptr< reco::PFRecHitCollection > &cleaned, const edm::Event &iEvent, const edm::EventSetup &iSetup) override |
void | init (const edm::EventSetup &es) override |
PFEcalEndcapRecHitCreator (const edm::ParameterSet &iConfig, edm::ConsumesCollector &iC) | |
Public Member Functions inherited from PFRecHitCreatorBase | |
PFRecHitCreatorBase () | |
PFRecHitCreatorBase (const edm::ParameterSet &iConfig, edm::ConsumesCollector &iC) | |
virtual | ~PFRecHitCreatorBase ()=default |
Protected Member Functions | |
bool | isHighInterest (const EEDetId &detid) |
EcalScDetId | readOutUnitOf (const EEDetId &detid) const |
Protected Member Functions inherited from PFRecHitCreatorBase | |
void | beginEvent (const edm::Event &event, const edm::EventSetup &setup) |
Protected Attributes | |
const EcalElectronicsMapping * | elecMap_ |
const EcalTrigTowerConstituentsMap * | eTTmap_ |
edm::EDGetTokenT< EcalRecHitCollection > | recHitToken_ |
edm::Handle< EESrFlagCollection > | srFlagHandle_ |
edm::EDGetTokenT< EESrFlagCollection > | srFlagToken_ |
Protected Attributes inherited from PFRecHitCreatorBase | |
std::vector< std::unique_ptr< PFRecHitQTestBase > > | qualityTests_ |
Definition at line 30 of file PFEcalEndcapRecHitCreator.h.
|
inline |
Definition at line 33 of file PFEcalEndcapRecHitCreator.h.
References edm::ConsumesCollector::consumes(), elecMap_, edm::ParameterSet::getParameter(), recHitToken_, and srFlagToken_.
|
inlineoverridevirtual |
Implements PFRecHitCreatorBase.
Definition at line 43 of file PFEcalEndcapRecHitCreator.h.
References PFRecHitCreatorBase::beginEvent(), DetId::Ecal, PFLayer::ECAL_ENDCAP, EcalEndcap, randomXiThetaGunProducer_cfi::energy, Exception, edm::EventSetup::get(), edm::Event::getByToken(), CaloSubdetectorGeometry::getGeometry(), CaloGeometry::getSubdetectorGeometry(), isHighInterest(), keep, eostools::move(), PFRecHitCreatorBase::qualityTests_, DetId::rawId(), recHitToken_, srFlagHandle_, srFlagToken_, and ntuplemaker::time.
|
inlineoverridevirtual |
Reimplemented from PFRecHitCreatorBase.
Definition at line 106 of file PFEcalEndcapRecHitCreator.h.
References elecMap_, edm::EventSetup::get(), and edm::ESHandle< T >::product().
|
inlineprotected |
Definition at line 117 of file PFEcalEndcapRecHitCreator.h.
References readOutUnitOf(), mps_fire::result, EcalSrFlag::SRF_FULL, and srFlagHandle_.
Referenced by importRecHits().
|
inlineprotected |
Definition at line 125 of file PFEcalEndcapRecHitCreator.h.
References EcalElectronicsId::dccId(), elecMap_, EcalElectronicsMapping::getEcalScDetId(), EcalElectronicsMapping::getElectronicsId(), and EcalElectronicsId::towerId().
Referenced by isHighInterest().
|
protected |
Definition at line 141 of file PFEcalEndcapRecHitCreator.h.
Referenced by init(), PFEcalEndcapRecHitCreator(), and readOutUnitOf().
|
protected |
Definition at line 138 of file PFEcalEndcapRecHitCreator.h.
|
protected |
Definition at line 135 of file PFEcalEndcapRecHitCreator.h.
Referenced by importRecHits(), and PFEcalEndcapRecHitCreator().
|
protected |
Definition at line 143 of file PFEcalEndcapRecHitCreator.h.
Referenced by importRecHits(), and isHighInterest().
|
protected |
Definition at line 136 of file PFEcalEndcapRecHitCreator.h.
Referenced by importRecHits(), and PFEcalEndcapRecHitCreator().