#include <EcalEndcapSimHitsValidation.h>
Public Member Functions | |
EcalEndcapSimHitsValidation (const edm::ParameterSet &ps) | |
Constructor. More... | |
~EcalEndcapSimHitsValidation () | |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) 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::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(), timingPdfMaker::histo, HLT_25ns14e33_v1_cff::InputTag, 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, AlCaHLTBitMon_QueryRunRegistry::string, ValidationCollection, ValidationCollectionToken, and verbose_.
EcalEndcapSimHitsValidation::~EcalEndcapSimHitsValidation | ( | ) |
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 173 of file EcalEndcapSimHitsValidation.cc.
References eCluster2x2(), eCluster4x4(), EEHitsToken, relval_parameters_module::energy, energyInMatrixEE(), eRLength, edm::EventID::event(), MonitorElement::Fill(), fillEEMatrix(), edm::Event::getByToken(), getIdsAroundMax(), getUnitWithMaxEnergy(), i, edm::EventBase::id(), edm::HandleBase::isValid(), EEDetId::ix(), EEDetId::iy(), j, LogDebug, python.multivaluedict::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 cmsHarvester::index, LogDebug, DetId::rawId(), and EEDetId::validDetId().
Referenced by analyze().
|
private |
Definition at line 398 of file EcalEndcapSimHitsValidation.cc.
References getUnitWithMaxEnergy(), i, cmsHarvester::index, DetId::rawId(), and EEDetId::validDetId().
Referenced by analyze().
|
private |
Definition at line 371 of file EcalEndcapSimHitsValidation.cc.
References cmsHarvester::index, DetId::rawId(), and EEDetId::validDetId().
Referenced by analyze().
|
private |
Definition at line 471 of file EcalEndcapSimHitsValidation.cc.
References LogDebug.
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().