#include <EcalSimHitsValidation.h>
Public Member Functions | |
EcalSimHitsValidation (const edm::ParameterSet &ps) | |
Constructor. More... | |
~EcalSimHitsValidation () | |
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 |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
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 42 of file EcalSimHitsValidation.h.
|
private |
Definition at line 44 of file EcalSimHitsValidation.h.
EcalSimHitsValidation::EcalSimHitsValidation | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 20 of file EcalSimHitsValidation.cc.
References dbe_, EBHitsCollectionToken, EEHitsCollectionToken, ESHitsCollectionToken, g4InfoLabel, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), timingPdfMaker::histo, HLT_25ns14e33_v1_cff::InputTag, meEBEnergyFraction_, meEEEnergyFraction_, meESEnergyFraction_, meGunEnergy_, meGunEta_, meGunPhi_, cppFunctionSkipper::operator, outputFile_, AlCaHLTBitMon_QueryRunRegistry::string, and verbose_.
EcalSimHitsValidation::~EcalSimHitsValidation | ( | ) |
Destructor.
Definition at line 88 of file EcalSimHitsValidation.cc.
References dbe_, and outputFile_.
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 102 of file EcalSimHitsValidation.cc.
References funct::abs(), EBHitsCollectionToken, EEHitsCollectionToken, ESHitsCollectionToken, edm::EventID::event(), MonitorElement::Fill(), edm::Event::getByToken(), HepMCToken, edm::EventBase::id(), edm::HandleBase::isValid(), cmsBatch::log, LogDebug, M_PI, meEBEnergyFraction_, meEEEnergyFraction_, meESEnergyFraction_, meGunEnergy_, meGunEta_, meGunPhi_, AlCaHLTBitMon_ParallelJobs::p, edm::EventID::run(), and funct::tan().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 94 of file EcalSimHitsValidation.cc.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 98 of file EcalSimHitsValidation.cc.
|
private |
Definition at line 75 of file EcalSimHitsValidation.h.
Referenced by EcalSimHitsValidation(), and ~EcalSimHitsValidation().
|
private |
Definition at line 69 of file EcalSimHitsValidation.h.
Referenced by analyze(), and EcalSimHitsValidation().
|
private |
Definition at line 70 of file EcalSimHitsValidation.h.
Referenced by analyze(), and EcalSimHitsValidation().
|
private |
Definition at line 71 of file EcalSimHitsValidation.h.
Referenced by analyze(), and EcalSimHitsValidation().
|
private |
Definition at line 67 of file EcalSimHitsValidation.h.
Referenced by EcalSimHitsValidation().
|
private |
Definition at line 68 of file EcalSimHitsValidation.h.
Referenced by analyze().
|
private |
Definition at line 83 of file EcalSimHitsValidation.h.
Referenced by analyze(), and EcalSimHitsValidation().
|
private |
Definition at line 84 of file EcalSimHitsValidation.h.
Referenced by analyze(), and EcalSimHitsValidation().
|
private |
Definition at line 85 of file EcalSimHitsValidation.h.
Referenced by analyze(), and EcalSimHitsValidation().
|
private |
Definition at line 79 of file EcalSimHitsValidation.h.
Referenced by analyze(), and EcalSimHitsValidation().
|
private |
Definition at line 80 of file EcalSimHitsValidation.h.
Referenced by analyze(), and EcalSimHitsValidation().
|
private |
Definition at line 81 of file EcalSimHitsValidation.h.
Referenced by analyze(), and EcalSimHitsValidation().
|
private |
Definition at line 77 of file EcalSimHitsValidation.h.
Referenced by EcalSimHitsValidation(), and ~EcalSimHitsValidation().
|
private |
Definition at line 73 of file EcalSimHitsValidation.h.
Referenced by EcalSimHitsValidation().