#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 &cc) | |
Public Member Functions inherited from PFRecHitCreatorBase | |
PFRecHitCreatorBase () | |
PFRecHitCreatorBase (const edm::ParameterSet &iConfig, edm::ConsumesCollector &cc) | |
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_ |
Private Attributes | |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | geomToken_ |
edm::ESGetToken< EcalElectronicsMapping, EcalMappingRcd > | mappingToken_ |
Definition at line 30 of file PFEcalEndcapRecHitCreator.h.
|
inline |
Definition at line 32 of file PFEcalEndcapRecHitCreator.h.
References edm::ConsumesCollector::consumes(), edm::ParameterSet::getParameter(), and srFlagToken_.
|
inlineoverridevirtual |
Implements PFRecHitCreatorBase.
Definition at line 43 of file PFEcalEndcapRecHitCreator.h.
References PFRecHitCreatorBase::beginEvent(), DetId::Ecal, PFLayer::ECAL_ENDCAP, EcalEndcap, HCALHighEnergyHPDFilter_cfi::energy, Exception, geomToken_, CaloSubdetectorGeometry::getGeometry(), edm::EventSetup::getHandle(), CaloGeometry::getSubdetectorGeometry(), iEvent, isHighInterest(), runTheMatrix::keep, eostools::move(), MillePedeFileConverter_cfg::out, PFRecHitCreatorBase::qualityTests_, DetId::rawId(), recHitToken_, srFlagHandle_, srFlagToken_, and protons_cff::time.
|
inlineoverridevirtual |
Reimplemented from PFRecHitCreatorBase.
Definition at line 104 of file PFEcalEndcapRecHitCreator.h.
References elecMap_, edm::EventSetup::getData(), and mappingToken_.
|
inlineprotected |
Definition at line 107 of file PFEcalEndcapRecHitCreator.h.
References readOutUnitOf(), mps_fire::result, EcalSrFlag::SRF_FULL, and srFlagHandle_.
Referenced by importRecHits().
|
inlineprotected |
Definition at line 117 of file PFEcalEndcapRecHitCreator.h.
References EcalElectronicsId::dccId(), elecMap_, EcalElectronicsMapping::getEcalScDetId(), EcalElectronicsMapping::getElectronicsId(), and EcalElectronicsId::towerId().
Referenced by isHighInterest().
|
protected |
Definition at line 132 of file PFEcalEndcapRecHitCreator.h.
Referenced by init(), and readOutUnitOf().
|
protected |
Definition at line 129 of file PFEcalEndcapRecHitCreator.h.
|
private |
Definition at line 137 of file PFEcalEndcapRecHitCreator.h.
Referenced by importRecHits().
|
private |
Definition at line 138 of file PFEcalEndcapRecHitCreator.h.
Referenced by init().
|
protected |
Definition at line 126 of file PFEcalEndcapRecHitCreator.h.
Referenced by importRecHits().
|
protected |
Definition at line 134 of file PFEcalEndcapRecHitCreator.h.
Referenced by importRecHits(), and isHighInterest().
|
protected |
Definition at line 127 of file PFEcalEndcapRecHitCreator.h.
Referenced by importRecHits(), and PFEcalEndcapRecHitCreator().