#include <PFEcalBarrelRecHitCreator.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 |
PFEcalBarrelRecHitCreator (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 EBDetId &detid) |
EcalTrigTowerDetId | readOutUnitOf (const EBDetId &detid) const |
Protected Member Functions inherited from PFRecHitCreatorBase | |
void | beginEvent (const edm::Event &event, const edm::EventSetup &setup) |
Protected Attributes | |
edm::EDGetTokenT< EcalRecHitCollection > | recHitToken_ |
edm::Handle< EBSrFlagCollection > | srFlagHandle_ |
edm::EDGetTokenT< EBSrFlagCollection > | srFlagToken_ |
const EcalTrigTowerConstituentsMap * | triggerTowerMap_ |
Protected Attributes inherited from PFRecHitCreatorBase | |
std::vector< std::unique_ptr< PFRecHitQTestBase > > | qualityTests_ |
Definition at line 28 of file PFEcalBarrelRecHitCreator.h.
|
inline |
Definition at line 31 of file PFEcalBarrelRecHitCreator.h.
References edm::ConsumesCollector::consumes(), edm::ParameterSet::getParameter(), recHitToken_, srFlagToken_, and triggerTowerMap_.
|
inlineoverridevirtual |
Implements PFRecHitCreatorBase.
Definition at line 41 of file PFEcalBarrelRecHitCreator.h.
References PFRecHitCreatorBase::beginEvent(), DetId::Ecal, PFLayer::ECAL_BARREL, EcalBarrel, 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 103 of file PFEcalBarrelRecHitCreator.h.
References edm::EventSetup::get(), edm::ESHandle< T >::product(), and triggerTowerMap_.
|
inlineprotected |
Definition at line 114 of file PFEcalBarrelRecHitCreator.h.
References readOutUnitOf(), mps_fire::result, EcalSrFlag::SRF_FULL, and srFlagHandle_.
Referenced by importRecHits().
|
inlineprotected |
Definition at line 122 of file PFEcalBarrelRecHitCreator.h.
References EcalTrigTowerConstituentsMap::towerOf(), and triggerTowerMap_.
Referenced by isHighInterest().
|
protected |
Definition at line 126 of file PFEcalBarrelRecHitCreator.h.
Referenced by importRecHits(), and PFEcalBarrelRecHitCreator().
|
protected |
Definition at line 132 of file PFEcalBarrelRecHitCreator.h.
Referenced by importRecHits(), and isHighInterest().
|
protected |
Definition at line 127 of file PFEcalBarrelRecHitCreator.h.
Referenced by importRecHits(), and PFEcalBarrelRecHitCreator().
|
protected |
Definition at line 130 of file PFEcalBarrelRecHitCreator.h.
Referenced by init(), PFEcalBarrelRecHitCreator(), and readOutUnitOf().