#include <EcalEndcapSimHitsValidation.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
Analyze. More... | |
void | beginJob () override |
void | endJob (void) override |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Private Types | |
typedef std::map< uint32_t, float, std::less< uint32_t > > | MapType |
Private Member Functions | |
float | eCluster2x2 (MapType &themap) |
float | eCluster4x4 (float e33, MapType &themap) |
virtual float | energyInMatrixEE (int nCellInX, int nCellInY, int centralX, int centralY, int centralZ, MapType &themap) |
bool | fillEEMatrix (int nCellInX, int nCellInY, int CentralX, int CentralY, int CentralZ, MapType &fillmap, MapType &themap) |
std::vector< uint32_t > | getIdsAroundMax (int nCellInX, int nCellInY, int centralX, int centralY, int centralZ, MapType &themap) |
uint32_t | getUnitWithMaxEnergy (MapType &themap) |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Definition at line 36 of file EcalEndcapSimHitsValidation.h.
|
private |
Definition at line 37 of file EcalEndcapSimHitsValidation.h.
EcalEndcapSimHitsValidation::EcalEndcapSimHitsValidation | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 17 of file EcalEndcapSimHitsValidation.cc.
References dbe_, EEHitsCollection, EEHitsToken, eRLength, g4InfoLabel, edm::ParameterSet::getUntrackedParameter(), trackerHits::histo, meEEcrystalEnergy2_, meEEcrystalEnergy_, meEEe16_, meEEe16oe25_, meEEe1_, meEEe1oe25_, meEEe1oe4_, meEEe1oe9_, meEEe25_, meEEe4_, meEEe4oe9_, meEEe9_, meEEe9oe16_, meEEe9oe25_, meEEHitEnergy2_, meEEHitEnergy_, meEEhitLog10Energy25Norm_, meEEhitLog10Energy_, meEEhitLog10EnergyNorm_, meEELongitudinalShower_, meEEzmCrystals_, meEEzmHits_, meEEzmOccupancy_, meEEzpCrystals_, meEEzpHits_, meEEzpOccupancy_, myEntries, Utilities::operator, AlCaHLTBitMon_QueryRunRegistry::string, ValidationCollection, ValidationCollectionToken, and verbose_.
|
override |
|
overrideprotected |
Analyze.
Definition at line 174 of file EcalEndcapSimHitsValidation.cc.
References eCluster2x2(), eCluster4x4(), PEcalValidInfo::ee1x1(), EEHitsToken, energyInMatrixEE(), eRLength, edm::EventID::event(), PEcalValidInfo::eX0(), MonitorElement::Fill(), fillEEMatrix(), edm::Event::getByToken(), getIdsAroundMax(), getUnitWithMaxEnergy(), mps_fire::i, edm::EventBase::id(), createfilelist::int, edm::HandleBase::isValid(), EEDetId::ix(), EEDetId::iy(), LogDebug, genParticles_cff::map, meEEcrystalEnergy2_, meEEcrystalEnergy_, meEEe16_, meEEe16oe25_, meEEe1_, meEEe1oe25_, meEEe1oe4_, meEEe1oe9_, meEEe25_, meEEe4_, meEEe4oe9_, meEEe9_, meEEe9oe16_, meEEe9oe25_, meEEHitEnergy2_, meEEHitEnergy_, meEEhitLog10Energy25Norm_, meEEhitLog10Energy_, meEEhitLog10EnergyNorm_, meEELongitudinalShower_, meEEzmCrystals_, meEEzmHits_, meEEzmOccupancy_, meEEzpCrystals_, meEEzpHits_, meEEzpOccupancy_, myEntries, MonitorElement::Reset(), edm::EventID::run(), ValidationCollectionToken, and EEDetId::zside().
|
overrideprotectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 165 of file EcalEndcapSimHitsValidation.cc.
|
private |
|
private |
Definition at line 466 of file EcalEndcapSimHitsValidation.cc.
Referenced by analyze().
|
overrideprotectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 167 of file EcalEndcapSimHitsValidation.cc.
|
privatevirtual |
Definition at line 359 of file EcalEndcapSimHitsValidation.cc.
References LogDebug, DetId::rawId(), and EEDetId::validDetId().
Referenced by analyze().
|
private |
Definition at line 417 of file EcalEndcapSimHitsValidation.cc.
References getUnitWithMaxEnergy(), mps_fire::i, DetId::rawId(), and EEDetId::validDetId().
Referenced by analyze().
|
private |
Definition at line 389 of file EcalEndcapSimHitsValidation.cc.
References photons_cff::ids, DetId::rawId(), and EEDetId::validDetId().
Referenced by analyze().
|
private |
Definition at line 486 of file EcalEndcapSimHitsValidation.cc.
References LogDebug, and particleFlowClusterECALTimeSelected_cfi::maxEnergy.
Referenced by analyze(), and fillEEMatrix().
|
private |
Definition at line 79 of file EcalEndcapSimHitsValidation.h.
Referenced by EcalEndcapSimHitsValidation().
|
private |
Definition at line 71 of file EcalEndcapSimHitsValidation.h.
Referenced by EcalEndcapSimHitsValidation().
|
private |
Definition at line 74 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 84 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 70 of file EcalEndcapSimHitsValidation.h.
Referenced by EcalEndcapSimHitsValidation().
|
private |
Definition at line 108 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 107 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 113 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 122 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 110 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 120 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 116 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 117 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 114 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 111 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 118 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 112 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 119 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 121 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 105 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 97 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 103 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 99 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 101 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 95 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 90 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 87 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 93 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 89 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 86 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 92 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 83 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 81 of file EcalEndcapSimHitsValidation.h.
|
private |
Definition at line 72 of file EcalEndcapSimHitsValidation.h.
Referenced by EcalEndcapSimHitsValidation().
|
private |
Definition at line 75 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 77 of file EcalEndcapSimHitsValidation.h.
Referenced by EcalEndcapSimHitsValidation().