#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 |
~EDAnalyzer () override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
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 |
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 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(), trackerHits::histo, meEBEnergyFraction_, meEEEnergyFraction_, meESEnergyFraction_, meGunEnergy_, meGunEta_, meGunPhi_, Utilities::operator, outputFile_, AlCaHLTBitMon_QueryRunRegistry::string, and verbose_.
EcalSimHitsValidation::~EcalSimHitsValidation | ( | ) |
Destructor.
Definition at line 88 of file EcalSimHitsValidation.cc.
References dbe_, and outputFile_.
|
protected |
Analyze.
Definition at line 102 of file EcalSimHitsValidation.cc.
References funct::abs(), EBHitsCollectionToken, EEHitsCollectionToken, ESHitsCollectionToken, edm::EventID::event(), MonitorElement::Fill(), edm::Event::getByToken(), edm::HepMCProduct::GetEvent(), 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().