#include <SimHitsValidationHcal.h>
Classes | |
struct | energysum |
struct | etaRange |
struct | idType |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from DQMEDAnalyzer | |
static std::shared_ptr < dqmDetails::NoCache > | globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *) |
static std::shared_ptr < dqmDetails::NoCache > | globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *) |
static void | globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *) |
static void | globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *) |
Static Public Member Functions inherited from edm::stream::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
void | analyzeHits (std::vector< PCaloHit > &) |
virtual void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup 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 Member Functions | |
std::vector< std::pair < std::string, std::string > > | getHistogramTypes () |
etaRange | getLimits (idType) |
std::pair< int, int > | histId (int subdet, int eta, int depth, unsigned int dep) |
Private Attributes | |
std::string | g4Label_ |
std::string | hcalHits_ |
const HcalDDDRecConstants * | hcons |
bool | initialized |
int | maxDepthHB_ |
int | maxDepthHE_ |
int | maxDepthHF_ |
int | maxDepthHO_ |
MonitorElement * | meEnergy_HB |
MonitorElement * | meEnergy_HE |
MonitorElement * | meEnergy_HF |
MonitorElement * | meEnergy_HO |
std::vector< MonitorElement * > | meHcalEnergyl100_ |
std::vector< MonitorElement * > | meHcalEnergyl250_ |
std::vector< MonitorElement * > | meHcalEnergyl25_ |
std::vector< MonitorElement * > | meHcalEnergyl50_ |
std::vector< MonitorElement * > | meHcalHitEta_ |
std::vector< MonitorElement * > | meHcalHitTimeEta_ |
MonitorElement * | metime_enweighted_HB |
MonitorElement * | metime_enweighted_HE |
MonitorElement * | metime_enweighted_HF |
MonitorElement * | metime_enweighted_HO |
MonitorElement * | metime_HB |
MonitorElement * | metime_HE |
MonitorElement * | metime_HF |
MonitorElement * | metime_HO |
bool | testNumber_ |
edm::EDGetTokenT < edm::PCaloHitContainer > | tok_hits_ |
std::vector< idType > | types |
bool | verbose_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDAnalyzerBase | |
typedef EDAnalyzerAdaptorBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Definition at line 29 of file SimHitsValidationHcal.h.
SimHitsValidationHcal::SimHitsValidationHcal | ( | const edm::ParameterSet & | ps | ) |
Definition at line 8 of file SimHitsValidationHcal.cc.
References g4Label_, edm::ParameterSet::getParameter(), hcalHits_, HLT_FULL_cff::InputTag, AlCaHLTBitMon_QueryRunRegistry::string, testNumber_, tok_hits_, and verbose_.
SimHitsValidationHcal::~SimHitsValidationHcal | ( | ) |
Definition at line 22 of file SimHitsValidationHcal.cc.
|
protectedvirtual |
Implements edm::stream::EDAnalyzerBase.
Definition at line 149 of file SimHitsValidationHcal.cc.
References analyzeHits(), HLT_FULL_cff::depth, eta, edm::EventID::event(), edm::Event::getByToken(), HcalDDDRecConstants::getHCID(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, hcons, i, edm::EventBase::id(), edm::HandleBase::isValid(), phi, DetId::rawId(), edm::EventID::run(), jetcorrextractor::sign(), testNumber_, tok_hits_, HcalTestNumbering::unpackHcalIndex(), and z.
|
protected |
Definition at line 211 of file SimHitsValidationHcal.cc.
References TauDecayModes::dec, HLT_FULL_cff::depth, SimHitsValidationHcal::energysum::e100, SimHitsValidationHcal::energysum::e25, SimHitsValidationHcal::energysum::e250, SimHitsValidationHcal::energysum::e50, relval_parameters_module::energy, eta, MonitorElement::Fill(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, histId(), i, meEnergy_HB, meEnergy_HE, meEnergy_HF, meEnergy_HO, meHcalEnergyl100_, meHcalEnergyl250_, meHcalEnergyl25_, meHcalEnergyl50_, meHcalHitEta_, meHcalHitTimeEta_, metime_enweighted_HB, metime_enweighted_HE, metime_enweighted_HF, metime_enweighted_HO, metime_HB, metime_HE, metime_HF, metime_HO, phi, and types.
Referenced by analyze().
|
protectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 24 of file SimHitsValidationHcal.cc.
References SimHitsValidationHcal::etaRange::bins, DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), plotBeamSpotDB::first, edm::EventSetup::get(), HcalDDDRecConstants::getEtaRange(), getHistogramTypes(), getLimits(), HcalDDDRecConstants::getMaxDepth(), HcalDDDRecConstants::getNPhi(), hcons, SimHitsValidationHcal::etaRange::high, i, MessageLogger_cff::limit, SimHitsValidationHcal::etaRange::low, maxDepthHB_, maxDepthHE_, maxDepthHF_, maxDepthHO_, meEnergy_HB, meEnergy_HE, meEnergy_HF, meEnergy_HO, meHcalEnergyl100_, meHcalEnergyl250_, meHcalEnergyl25_, meHcalEnergyl50_, meHcalHitEta_, meHcalHitTimeEta_, metime_enweighted_HB, metime_enweighted_HE, metime_enweighted_HF, metime_enweighted_HO, metime_HB, metime_HE, metime_HF, metime_HO, mergeVDriftHistosByStation::name, edm::second(), DQMStore::IBooker::setCurrentFolder(), SiPixelPhase1TrackClusters_cfi::title, and types.
|
static |
Definition at line 495 of file SimHitsValidationHcal.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addDefault(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 418 of file SimHitsValidationHcal.cc.
References HLT_FULL_cff::depth, HcalBarrel, HcalEmpty, HcalEndcap, HcalForward, HcalOuter, relval_2017::k, bookConverter::max, HLT_FULL_cff::maxDepth, maxDepthHB_, maxDepthHE_, maxDepthHF_, maxDepthHO_, cscdqm::h::names, AlCaHLTBitMon_QueryRunRegistry::string, and types.
Referenced by bookHistograms().
|
private |
Definition at line 337 of file SimHitsValidationHcal.cc.
References MuonErrorMatrixValues_cff::etaRange, HcalDDDRecConstants::getEtaRange(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, hcons, SimHitsValidationHcal::idType::subdet, and SimHitsValidationHcal::idType::z.
Referenced by bookHistograms().
|
private |
Definition at line 388 of file SimHitsValidationHcal.cc.
References HcalEmpty, HcalEndcap, HcalForward, relval_2017::k, types, and z.
Referenced by analyzeHits().
|
private |
Definition at line 68 of file SimHitsValidationHcal.h.
Referenced by SimHitsValidationHcal().
|
private |
Definition at line 68 of file SimHitsValidationHcal.h.
Referenced by SimHitsValidationHcal().
|
private |
Definition at line 70 of file SimHitsValidationHcal.h.
Referenced by analyze(), bookHistograms(), and getLimits().
|
private |
Definition at line 67 of file SimHitsValidationHcal.h.
|
private |
Definition at line 73 of file SimHitsValidationHcal.h.
Referenced by bookHistograms(), and getHistogramTypes().
|
private |
Definition at line 73 of file SimHitsValidationHcal.h.
Referenced by bookHistograms(), and getHistogramTypes().
|
private |
Definition at line 74 of file SimHitsValidationHcal.h.
Referenced by bookHistograms(), and getHistogramTypes().
|
private |
Definition at line 74 of file SimHitsValidationHcal.h.
Referenced by bookHistograms(), and getHistogramTypes().
|
private |
Definition at line 79 of file SimHitsValidationHcal.h.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 80 of file SimHitsValidationHcal.h.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 82 of file SimHitsValidationHcal.h.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 81 of file SimHitsValidationHcal.h.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 78 of file SimHitsValidationHcal.h.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 78 of file SimHitsValidationHcal.h.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 77 of file SimHitsValidationHcal.h.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 77 of file SimHitsValidationHcal.h.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 76 of file SimHitsValidationHcal.h.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 76 of file SimHitsValidationHcal.h.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 79 of file SimHitsValidationHcal.h.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 80 of file SimHitsValidationHcal.h.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 82 of file SimHitsValidationHcal.h.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 81 of file SimHitsValidationHcal.h.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 79 of file SimHitsValidationHcal.h.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 80 of file SimHitsValidationHcal.h.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 82 of file SimHitsValidationHcal.h.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 81 of file SimHitsValidationHcal.h.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 72 of file SimHitsValidationHcal.h.
Referenced by analyze(), and SimHitsValidationHcal().
|
private |
Definition at line 69 of file SimHitsValidationHcal.h.
Referenced by analyze(), and SimHitsValidationHcal().
|
private |
Definition at line 71 of file SimHitsValidationHcal.h.
Referenced by analyzeHits(), bookHistograms(), getHistogramTypes(), and histId().
|
private |
Definition at line 72 of file SimHitsValidationHcal.h.
Referenced by SimHitsValidationHcal().