#include <HGCalValidator.h>
Public Types | |
using | Histograms = HGCalValidatorHistograms |
Public Types inherited from DQMGlobalEDAnalyzerBase< HGCalValidatorHistograms, Args... > | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::global::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 |
Private Attributes | |
CaloParticleSelector | cpSelector |
std::map< double, double > | cummatbudg |
std::string | dirName_ |
std::vector< int > | particles_to_monitor_ |
std::vector< int > | thicknesses_to_monitor_ |
std::shared_ptr< hgcal::RecHitTools > | tools_ |
unsigned | totallayers_to_monitor_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::global::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from DQMGlobalEDAnalyzerBase< HGCalValidatorHistograms, Args... > | |
uint64_t | meId (edm::Run const &run) const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Class that produces histograms to validate HGCal Reconstruction performances
Definition at line 40 of file HGCalValidator.h.
Definition at line 42 of file HGCalValidator.h.
HGCalValidator::HGCalValidator | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 11 of file HGCalValidator.cc.
References associator_, associatorMapRtS, associatorMapRtSim, associatorMapSimtR, associatorMapStR, associatorSim_, clustersMaskTokens_, edm::EDConsumerBase::consumes(), cpSelector, cummatbudg, cummatbudinxo_, density_, dirName_, fmb, edm::FileInPath::fullPath(), histoProducerAlgo_, hitMap_, HLT_FULL_cff::InputTag, label_clustersmask, label_cp_effic, label_cp_fake, label_lcl, label_mcl, label_mclTokens, layerclusters_, particles_to_monitor_, muonDTDigis_cfi::pset, simclusters_, simVertices_, AlCaHLTBitMon_QueryRunRegistry::string, thicknesses_to_monitor_, tools_, and totallayers_to_monitor_.
|
override |
|
overridevirtual |
Method called to book the DQM histograms.
Implements DQMGlobalEDAnalyzerBase< HGCalValidatorHistograms, Args... >.
Definition at line 96 of file HGCalValidator.cc.
References dqm::implementation::NavigatorBase::cd(), cummatbudinxo_, TrackerOfflineValidation_Dqm_cff::dirName, dirName_, doCaloParticlePlots_, doLayerClustersPlots_, doMultiClustersPlots_, doSimClustersPlots_, edm::FileInPath::fullPath(), histoProducerAlgo_, label_clustersmask, label_mcl, LogDebug, particles_to_monitor_, SaveGeneralInfo_, dqm::implementation::NavigatorBase::setCurrentFolder(), thicknesses_to_monitor_, totallayers_to_monitor_, and gpuVertexFinder::ws.
void HGCalValidator::cpParametersAndSelection | ( | const Histograms & | histograms, |
std::vector< CaloParticle > const & | cPeff, | ||
std::vector< SimVertex > const & | simVertices, | ||
std::vector< size_t > & | selected_cPeff, | ||
unsigned int | layers, | ||
std::unordered_map< DetId, const HGCRecHit * > const & | hitMap | ||
) | const |
Definition at line 202 of file HGCalValidator.cc.
References cpSelector, doCaloParticlePlots_, doCaloParticleSelection_, histoProducerAlgo_, dqmiolumiharvest::j, hgcalTopologyTester_cfi::layers, and HGCalValidator_cfi::simVertices.
Referenced by dqmAnalyze().
|
overridevirtual |
Method called once per event.
Implements DQMGlobalEDAnalyzerBase< HGCalValidatorHistograms, Args... >.
Definition at line 225 of file HGCalValidator.cc.
References associatorMapRtS, associatorMapRtSim, associatorMapSimtR, associatorMapStR, caloGeomToken_, caloTruthCellsProducer_cfi::caloParticles, bsc_activity_cfg::clusters, clustersMaskTokens_, cpParametersAndSelection(), cummatbudg, density_, doLayerClustersPlots_, doMultiClustersPlots_, doSimClustersPlots_, edmPickEvents::event, relativeConstraints::geom, histoProducerAlgo_, hitMap_, edm::InputTag::instance(), edm::InputTag::label(), label_clustersmask, label_cp_effic, label_lcl, label_mcl, label_mclTokens, layerclusters_, LogDebug, LogTrace, or, edm::InputTag::process(), removeCPFromPU(), SaveGeneralInfo_, singleTopDQM_cfi::setup, SimTracksters_cff::simclusters, simclusters_, HGCalValidator_cfi::simVertices, simVertices_, thicknesses_to_monitor_, tools_, totallayers_to_monitor_, w, and gpuVertexFinder::ws.
|
protected |
Definition at line 66 of file HGCalValidator.h.
Referenced by HGCalValidator().
|
protected |
Definition at line 87 of file HGCalValidator.h.
Referenced by dqmAnalyze(), and HGCalValidator().
|
protected |
Definition at line 90 of file HGCalValidator.h.
Referenced by dqmAnalyze(), and HGCalValidator().
|
protected |
Definition at line 89 of file HGCalValidator.h.
Referenced by dqmAnalyze(), and HGCalValidator().
|
protected |
Definition at line 88 of file HGCalValidator.h.
Referenced by dqmAnalyze(), and HGCalValidator().
|
protected |
Definition at line 67 of file HGCalValidator.h.
Referenced by HGCalValidator().
|
protected |
Definition at line 63 of file HGCalValidator.h.
Referenced by dqmAnalyze().
|
protected |
Definition at line 84 of file HGCalValidator.h.
Referenced by dqmAnalyze(), and HGCalValidator().
|
private |
Definition at line 94 of file HGCalValidator.h.
Referenced by cpParametersAndSelection(), and HGCalValidator().
|
private |
Definition at line 96 of file HGCalValidator.h.
Referenced by dqmAnalyze(), and HGCalValidator().
|
protected |
Definition at line 75 of file HGCalValidator.h.
Referenced by bookHistograms(), and HGCalValidator().
|
protected |
Definition at line 86 of file HGCalValidator.h.
Referenced by dqmAnalyze(), and HGCalValidator().
|
private |
Definition at line 100 of file HGCalValidator.h.
Referenced by bookHistograms(), and HGCalValidator().
|
protected |
Definition at line 69 of file HGCalValidator.h.
Referenced by bookHistograms(), and cpParametersAndSelection().
|
protected |
Definition at line 70 of file HGCalValidator.h.
Referenced by cpParametersAndSelection().
|
protected |
Definition at line 72 of file HGCalValidator.h.
Referenced by bookHistograms(), and dqmAnalyze().
|
protected |
Definition at line 73 of file HGCalValidator.h.
Referenced by bookHistograms(), and dqmAnalyze().
|
protected |
Definition at line 71 of file HGCalValidator.h.
Referenced by bookHistograms(), and dqmAnalyze().
|
protected |
Definition at line 91 of file HGCalValidator.h.
Referenced by bookHistograms(), cpParametersAndSelection(), dqmAnalyze(), and HGCalValidator().
|
protected |
Definition at line 85 of file HGCalValidator.h.
Referenced by dqmAnalyze(), and HGCalValidator().
|
protected |
Definition at line 74 of file HGCalValidator.h.
Referenced by bookHistograms(), dqmAnalyze(), and HGCalValidator().
|
protected |
Definition at line 81 of file HGCalValidator.h.
Referenced by dqmAnalyze(), and HGCalValidator().
|
protected |
Definition at line 82 of file HGCalValidator.h.
Referenced by HGCalValidator().
|
protected |
Definition at line 64 of file HGCalValidator.h.
Referenced by dqmAnalyze(), and HGCalValidator().
|
protected |
Definition at line 65 of file HGCalValidator.h.
Referenced by bookHistograms(), dqmAnalyze(), and HGCalValidator().
|
protected |
Definition at line 80 of file HGCalValidator.h.
Referenced by dqmAnalyze(), and HGCalValidator().
|
protected |
Definition at line 77 of file HGCalValidator.h.
|
protected |
Definition at line 79 of file HGCalValidator.h.
Referenced by dqmAnalyze(), and HGCalValidator().
|
private |
Definition at line 97 of file HGCalValidator.h.
Referenced by bookHistograms(), and HGCalValidator().
|
protected |
Definition at line 68 of file HGCalValidator.h.
Referenced by bookHistograms(), and dqmAnalyze().
|
protected |
Definition at line 78 of file HGCalValidator.h.
Referenced by dqmAnalyze(), and HGCalValidator().
|
protected |
Definition at line 83 of file HGCalValidator.h.
Referenced by dqmAnalyze(), and HGCalValidator().
|
private |
Definition at line 99 of file HGCalValidator.h.
Referenced by bookHistograms(), dqmAnalyze(), and HGCalValidator().
|
private |
Definition at line 95 of file HGCalValidator.h.
Referenced by dqmAnalyze(), and HGCalValidator().
|
private |
Definition at line 98 of file HGCalValidator.h.
Referenced by bookHistograms(), dqmAnalyze(), and HGCalValidator().