#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 edm::one::EDProducerBase | |
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) override |
void | analyzeHits (std::vector< PCaloHit > &) |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
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::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
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_, AlCaHLTBitMon_QueryRunRegistry::string, testNumber_, tok_hits_, and verbose_.
|
override |
Definition at line 22 of file SimHitsValidationHcal.cc.
|
overrideprotected |
Definition at line 149 of file SimHitsValidationHcal.cc.
References analyzeHits(), edm::EventID::event(), edm::Event::getByToken(), hcons, mps_fire::i, edm::EventBase::id(), edm::HandleBase::isValid(), DetId::rawId(), HcalHitRelabeller::relabel(), edm::EventID::run(), testNumber_, and tok_hits_.
|
protected |
Definition at line 190 of file SimHitsValidationHcal.cc.
References TauDecayModes::dec, egammaForCoreTracking_cff::depth, SimHitsValidationHcal::energysum::e100, SimHitsValidationHcal::energysum::e25, SimHitsValidationHcal::energysum::e250, SimHitsValidationHcal::energysum::e50, PVValHelper::eta, MonitorElement::Fill(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, histId(), mps_fire::i, createfilelist::int, 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 ntuplemaker::time.
Referenced by analyze().
|
overrideprotectedvirtual |
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, mps_fire::i, hcalTTPDigis_cfi::iEtaMax, createfilelist::int, MessageLogger_cfi::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, dataset::name, edm::second(), DQMStore::IBooker::setCurrentFolder(), and fftjetcommon_cfi::title.
|
static |
Definition at line 474 of file SimHitsValidationHcal.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addDefault(), DEFINE_FWK_MODULE, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 397 of file SimHitsValidationHcal.cc.
References egammaForCoreTracking_cff::depth, HcalBarrel, HcalEmpty, HcalEndcap, HcalForward, HcalOuter, gen::k, SiStripPI::max, CMSBoostedTauSeedingParameters_cfi::maxDepth, maxDepthHB_, maxDepthHE_, maxDepthHF_, maxDepthHO_, names, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by bookHistograms().
|
private |
Definition at line 316 of file SimHitsValidationHcal.cc.
References create_public_pileup_plots::bins, MuonErrorMatrixValues_cff::etaRange, HcalDDDRecConstants::getEtaRange(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, hcons, SimHitsValidationHcal::idType::subdet, and SimHitsValidationHcal::idType::z.
Referenced by bookHistograms().
|
private |
Definition at line 367 of file SimHitsValidationHcal.cc.
References HcalEmpty, HcalEndcap, HcalForward, globals_cff::id1, globals_cff::id2, gen::k, 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 DQMIO2histo.DQMIO::print_index().
|
private |
Definition at line 72 of file SimHitsValidationHcal.h.
Referenced by SimHitsValidationHcal().