#include <EcalBarrelSimHitsValidation.h>
Public Member Functions | |
EcalBarrelSimHitsValidation (const edm::ParameterSet &ps) | |
Constructor. More... | |
~EcalBarrelSimHitsValidation () | |
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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &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 | 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 &) |
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(), timingPdfMaker::histo, HLT_25ns10e33_v2_cff::InputTag, meEBcrystalEnergy2_, meEBcrystalEnergy_, meEBe16_, meEBe16oe25_, meEBe1_, meEBe1oe25_, meEBe1oe4_, meEBe1oe9_, meEBe25_, meEBe4_, meEBe4oe9_, meEBe9_, meEBe9oe16_, meEBe9oe25_, meEBhitEnergy2_, meEBhitEnergy_, meEBhitLog10Energy25Norm_, meEBhitLog10Energy_, meEBhitLog10EnergyNorm_, meEBLongitudinalShower_, meEBOccupancy_, menEBCrystals_, menEBHits_, myEntries, cppFunctionSkipper::operator, AlCaHLTBitMon_QueryRunRegistry::string, ValidationCollection, ValidationCollectionToken, and verbose_.
EcalBarrelSimHitsValidation::~EcalBarrelSimHitsValidation | ( | ) |
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 159 of file EcalBarrelSimHitsValidation.cc.
References EBHitsToken, eCluster2x2(), eCluster4x4(), relval_parameters_module::energy, energyInMatrixEB(), eRLength, edm::EventID::event(), MonitorElement::Fill(), HcalObjRepresent::Fill(), fillEBMatrix(), edm::Event::getByToken(), getIdsAroundMax(), getUnitWithMaxEnergy(), i, edm::EventBase::id(), EBDetId::ietaAbs(), EBDetId::iphi(), edm::HandleBase::isValid(), j, LogDebug, 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().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 148 of file EcalBarrelSimHitsValidation.cc.
|
private |
|
private |
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 152 of file EcalBarrelSimHitsValidation.cc.
|
privatevirtual |
Definition at line 305 of file EcalBarrelSimHitsValidation.cc.
References funct::abs(), cmsHarvester::index, LogDebug, and DetId::rawId().
Referenced by analyze().
|
private |
Definition at line 366 of file EcalBarrelSimHitsValidation.cc.
References funct::abs(), getUnitWithMaxEnergy(), i, cmsHarvester::index, and DetId::rawId().
Referenced by analyze().
|
private |
Definition at line 339 of file EcalBarrelSimHitsValidation.cc.
References funct::abs(), cmsHarvester::index, and DetId::rawId().
Referenced by analyze().
|
private |
Definition at line 436 of file EcalBarrelSimHitsValidation.cc.
References LogDebug.
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().