#include <SimHitsValidationHcal.h>
Classes | |
struct | energysum |
struct | etaRange |
struct | idType |
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_ |
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::getUntrackedParameter(), hcalHits_, HLT_25ns10e33_v2_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 101 of file SimHitsValidationHcal.cc.
References analyzeHits(), HLT_25ns10e33_v2_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 163 of file SimHitsValidationHcal.cc.
References TauDecayModes::dec, HLT_25ns10e33_v2_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(), getHistogramTypes(), getLimits(), HcalDDDRecConstants::getMaxDepth(), 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(), indexGen::title, and types.
|
private |
Definition at line 370 of file SimHitsValidationHcal.cc.
References HLT_25ns10e33_v2_cff::depth, HcalBarrel, HcalEmpty, HcalEndcap, HcalForward, HcalOuter, relval_2017::k, bookConverter::max, HLT_25ns10e33_v2_cff::maxDepth, maxDepthHB_, maxDepthHE_, maxDepthHF_, maxDepthHO_, cscdqm::h::names, AlCaHLTBitMon_QueryRunRegistry::string, and types.
Referenced by bookHistograms().
|
private |
Definition at line 289 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 340 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().