#include <EcalBarrelSimHitsValidation.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 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 | energyInMatrixEB (int nCellInEta, int nCellInPhi, int centralEta, int centralPhi, int centralZ, MapType &themap) |
bool | fillEBMatrix (int nCellInEta, int nCellInPhi, int CentralEta, int CentralPhi, int CentralZ, MapType &fillmap, MapType &themap) |
std::vector< uint32_t > | getIdsAroundMax (int nCellInEta, int nCellInPhi, int centralEta, int centralPhi, 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 EcalBarrelSimHitsValidation.h.
|
private |
Definition at line 38 of file EcalBarrelSimHitsValidation.h.
EcalBarrelSimHitsValidation::EcalBarrelSimHitsValidation | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 17 of file EcalBarrelSimHitsValidation.cc.
References dbe_, EBHitsCollection, EBHitsToken, eRLength, g4InfoLabel, edm::ParameterSet::getUntrackedParameter(), trackerHits::histo, meEBcrystalEnergy2_, meEBcrystalEnergy_, meEBe16_, meEBe16oe25_, meEBe1_, meEBe1oe25_, meEBe1oe4_, meEBe1oe9_, meEBe25_, meEBe4_, meEBe4oe9_, meEBe9_, meEBe9oe16_, meEBe9oe25_, meEBhitEnergy2_, meEBhitEnergy_, meEBhitLog10Energy25Norm_, meEBhitLog10Energy_, meEBhitLog10EnergyNorm_, meEBLongitudinalShower_, meEBOccupancy_, menEBCrystals_, menEBHits_, myEntries, Utilities::operator, AlCaHLTBitMon_QueryRunRegistry::string, ValidationCollection, ValidationCollectionToken, and verbose_.
|
override |
|
overrideprotected |
Analyze.
Definition at line 159 of file EcalBarrelSimHitsValidation.cc.
References PEcalValidInfo::bX0(), PEcalValidInfo::eb1x1(), EBHitsToken, eCluster2x2(), eCluster4x4(), energyInMatrixEB(), eRLength, edm::EventID::event(), MonitorElement::Fill(), HcalObjRepresent::Fill(), fillEBMatrix(), edm::Event::getByToken(), getIdsAroundMax(), getUnitWithMaxEnergy(), mps_fire::i, edm::EventBase::id(), EBDetId::ietaAbs(), createfilelist::int, EBDetId::iphi(), edm::HandleBase::isValid(), LogDebug, genParticles_cff::map, meEBcrystalEnergy2_, meEBcrystalEnergy_, meEBe16_, meEBe16oe25_, meEBe1_, meEBe1oe25_, meEBe1oe4_, meEBe1oe9_, meEBe25_, meEBe4_, meEBe4oe9_, meEBe9_, meEBe9oe16_, meEBe9oe25_, meEBhitEnergy2_, meEBhitEnergy_, meEBhitLog10Energy25Norm_, meEBhitLog10Energy_, meEBhitLog10EnergyNorm_, meEBLongitudinalShower_, meEBOccupancy_, menEBCrystals_, menEBHits_, myEntries, MonitorElement::Reset(), edm::EventID::run(), ValidationCollectionToken, and EBDetId::zside().
|
overrideprotectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 148 of file EcalBarrelSimHitsValidation.cc.
|
private |
|
private |
|
overrideprotectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 152 of file EcalBarrelSimHitsValidation.cc.
|
privatevirtual |
Definition at line 305 of file EcalBarrelSimHitsValidation.cc.
References funct::abs(), LogDebug, and DetId::rawId().
Referenced by analyze().
|
private |
Definition at line 366 of file EcalBarrelSimHitsValidation.cc.
References funct::abs(), getUnitWithMaxEnergy(), mps_fire::i, and DetId::rawId().
Referenced by analyze().
|
private |
Definition at line 339 of file EcalBarrelSimHitsValidation.cc.
References funct::abs(), electrons_cff::ids, and DetId::rawId().
Referenced by analyze().
|
private |
Definition at line 436 of file EcalBarrelSimHitsValidation.cc.
References LogDebug, and particleFlowClusterECALTimeSelected_cfi::maxEnergy.
Referenced by analyze(), and fillEBMatrix().
|
private |
Definition at line 88 of file EcalBarrelSimHitsValidation.h.
Referenced by EcalBarrelSimHitsValidation().
|
private |
Definition at line 80 of file EcalBarrelSimHitsValidation.h.
Referenced by EcalBarrelSimHitsValidation().
|
private |
Definition at line 83 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 93 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 79 of file EcalBarrelSimHitsValidation.h.
Referenced by EcalBarrelSimHitsValidation().
|
private |
Definition at line 115 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 113 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 120 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 129 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 117 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 127 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 123 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 124 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 121 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 118 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 125 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 119 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 126 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 128 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 111 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 103 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 109 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 105 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 107 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 101 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 99 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 97 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 95 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 92 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 90 of file EcalBarrelSimHitsValidation.h.
|
private |
Definition at line 81 of file EcalBarrelSimHitsValidation.h.
Referenced by EcalBarrelSimHitsValidation().
|
private |
Definition at line 84 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 86 of file EcalBarrelSimHitsValidation.h.
Referenced by EcalBarrelSimHitsValidation().