#include <EcalEndcapSimHitsValidation.h>
Public Member Functions | |
EcalEndcapSimHitsValidation (const edm::ParameterSet &ps) | |
Constructor. More... | |
~EcalEndcapSimHitsValidation () | |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
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 36 of file EcalEndcapSimHitsValidation.h.
|
private |
Definition at line 38 of file EcalEndcapSimHitsValidation.h.
EcalEndcapSimHitsValidation::EcalEndcapSimHitsValidation | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 17 of file EcalEndcapSimHitsValidation.cc.
References dbe_, eRLength, edm::ParameterSet::getUntrackedParameter(), timingPdfMaker::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, cppFunctionSkipper::operator, and verbose_.
EcalEndcapSimHitsValidation::~EcalEndcapSimHitsValidation | ( | ) |
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 171 of file EcalEndcapSimHitsValidation.cc.
References eCluster2x2(), eCluster4x4(), EEHitsCollection, relval_parameters_module::energy, energyInMatrixEE(), eRLength, edm::EventID::event(), MonitorElement::Fill(), fillEEMatrix(), g4InfoLabel, edm::Event::getByLabel(), getIdsAroundMax(), getUnitWithMaxEnergy(), i, edm::EventBase::id(), edm::HandleBase::isValid(), EEDetId::ix(), EEDetId::iy(), j, LogDebug, Association::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(), ValidationCollection, and EEDetId::zside().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 159 of file EcalEndcapSimHitsValidation.cc.
|
private |
|
private |
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 163 of file EcalEndcapSimHitsValidation.cc.
|
privatevirtual |
Definition at line 335 of file EcalEndcapSimHitsValidation.cc.
References getHLTprescales::index, LogDebug, DetId::rawId(), and EEDetId::validDetId().
Referenced by analyze().
|
private |
Definition at line 396 of file EcalEndcapSimHitsValidation.cc.
References getUnitWithMaxEnergy(), i, getHLTprescales::index, DetId::rawId(), and EEDetId::validDetId().
Referenced by analyze().
|
private |
Definition at line 369 of file EcalEndcapSimHitsValidation.cc.
References getHLTprescales::index, DetId::rawId(), and EEDetId::validDetId().
Referenced by analyze().
|
private |
Definition at line 469 of file EcalEndcapSimHitsValidation.cc.
References LogDebug.
Referenced by analyze(), and fillEEMatrix().
|
private |
Definition at line 84 of file EcalEndcapSimHitsValidation.h.
Referenced by EcalEndcapSimHitsValidation().
|
private |
Definition at line 79 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze().
|
private |
Definition at line 89 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 78 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze().
|
private |
Definition at line 114 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 119 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 116 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 122 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 120 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 124 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 125 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 111 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 108 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 106 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 100 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 92 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 94 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 91 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 88 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze(), and EcalEndcapSimHitsValidation().
|
private |
Definition at line 86 of file EcalEndcapSimHitsValidation.h.
|
private |
Definition at line 80 of file EcalEndcapSimHitsValidation.h.
Referenced by analyze().
|
private |
Definition at line 82 of file EcalEndcapSimHitsValidation.h.
Referenced by EcalEndcapSimHitsValidation().