#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_, AlCaHLTBitMon_QueryRunRegistry::string, testNumber_, tok_hits_, and verbose_.
SimHitsValidationHcal::~SimHitsValidationHcal | ( | ) |
Definition at line 22 of file SimHitsValidationHcal.cc.
|
protected |
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, particleFlowClusterECALTimeSelected_cfi::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, ntuplemaker::time, 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, 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(), fftjetcommon_cfi::title, and types.
|
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 particleFlowClusterECALTimeSelected_cfi::depth, HcalBarrel, HcalEmpty, HcalEndcap, HcalForward, HcalOuter, gen::k, SiStripPI::max, CMSBoostedTauSeedingParameters_cfi::maxDepth, maxDepthHB_, maxDepthHE_, maxDepthHF_, maxDepthHO_, cscdqm::h::names, AlCaHLTBitMon_QueryRunRegistry::string, and types.
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, 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(), histId(), and DQMIO2histo.DQMIO::print_index().
|
private |
Definition at line 72 of file SimHitsValidationHcal.h.
Referenced by SimHitsValidationHcal().