#include <EcalEndcapSimHitsValidation.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
Analyze. More... | |
void | beginJob () |
void | endJob (void) |
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 | 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 &) |
Definition at line 37 of file EcalEndcapSimHitsValidation.h.
|
private |
Definition at line 39 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_.
EcalEndcapSimHitsValidation::~EcalEndcapSimHitsValidation | ( | ) |
|
protected |
Analyze.
Definition at line 173 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().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 161 of file EcalEndcapSimHitsValidation.cc.
|
private |
|
private |
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 165 of file EcalEndcapSimHitsValidation.cc.
|
privatevirtual |
Definition at line 337 of file EcalEndcapSimHitsValidation.cc.
References diffTreeTool::index, LogDebug, DetId::rawId(), and EEDetId::validDetId().
Referenced by analyze().
|
private |
Definition at line 398 of file EcalEndcapSimHitsValidation.cc.
References getUnitWithMaxEnergy(), mps_fire::i, diffTreeTool::index, DetId::rawId(), and EEDetId::validDetId().
Referenced by analyze().
|
private |
Definition at line 371 of file EcalEndcapSimHitsValidation.cc.
References diffTreeTool::index, DetId::rawId(), and EEDetId::validDetId().
Referenced by analyze().
|
private |
Definition at line 471 of file EcalEndcapSimHitsValidation.cc.
References LogDebug, and particleFlowClusterECALTimeSelected_cfi::maxEnergy.
Referenced by analyze(), and fillEEMatrix().
|
private |
Definition at line 88 of file EcalEndcapSimHitsValidation.h.
Referenced by EcalEndcapSimHitsValidation().
|
private |
Definition at line 80 of file EcalEndcapSimHitsValidation.h.
Referenced by EcalEndcapSimHitsValidation().
|
private |
Definition at line 83 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 79 of file EcalEndcapSimHitsValidation.h.
Referenced by EcalEndcapSimHitsValidation().
|
private |
Definition at line 118 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 123 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 132 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 130 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 126 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 127 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 124 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 128 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 129 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 131 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 115 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 106 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 108 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 104 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 96 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 102 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 98 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 101 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 90 of file EcalEndcapSimHitsValidation.h.
|
private |
Definition at line 81 of file EcalEndcapSimHitsValidation.h.
Referenced by EcalEndcapSimHitsValidation().
|
private |
Definition at line 84 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 86 of file EcalEndcapSimHitsValidation.h.
Referenced by EcalEndcapSimHitsValidation().