#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 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 | 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 35 of file EcalBarrelSimHitsValidation.h.
|
private |
Definition at line 36 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 162 of file EcalBarrelSimHitsValidation.cc.
References PEcalValidInfo::bX0(), PEcalValidInfo::eb1x1(), EBHitsToken, eCluster2x2(), eCluster4x4(), energyInMatrixEB(), eRLength, edm::EventID::event(), MonitorElement::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 153 of file EcalBarrelSimHitsValidation.cc.
|
private |
|
private |
Definition at line 443 of file EcalBarrelSimHitsValidation.cc.
Referenced by analyze().
|
overrideprotectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 155 of file EcalBarrelSimHitsValidation.cc.
|
privatevirtual |
Definition at line 324 of file EcalBarrelSimHitsValidation.cc.
References funct::abs(), LogDebug, and DetId::rawId().
Referenced by analyze().
|
private |
Definition at line 389 of file EcalBarrelSimHitsValidation.cc.
References funct::abs(), getUnitWithMaxEnergy(), mps_fire::i, and DetId::rawId().
Referenced by analyze().
|
private |
Definition at line 358 of file EcalBarrelSimHitsValidation.cc.
References funct::abs(), and DetId::rawId().
Referenced by analyze().
|
private |
Definition at line 463 of file EcalBarrelSimHitsValidation.cc.
References LogDebug, and particleFlowClusterECALTimeSelected_cfi::maxEnergy.
Referenced by analyze(), and fillEBMatrix().
|
private |
Definition at line 79 of file EcalBarrelSimHitsValidation.h.
Referenced by EcalBarrelSimHitsValidation().
|
private |
Definition at line 71 of file EcalBarrelSimHitsValidation.h.
Referenced by EcalBarrelSimHitsValidation().
|
private |
Definition at line 74 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 84 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 70 of file EcalBarrelSimHitsValidation.h.
Referenced by EcalBarrelSimHitsValidation().
|
private |
Definition at line 106 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 104 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 120 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 108 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 114 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 115 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 112 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 116 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 110 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 119 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 102 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 94 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 100 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 96 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 98 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.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 88 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 86 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 83 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 81 of file EcalBarrelSimHitsValidation.h.
|
private |
Definition at line 72 of file EcalBarrelSimHitsValidation.h.
Referenced by EcalBarrelSimHitsValidation().
|
private |
Definition at line 75 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 77 of file EcalBarrelSimHitsValidation.h.
Referenced by EcalBarrelSimHitsValidation().