CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Protected Attributes | Private Attributes
HGCalValidator Class Reference

#include <HGCalValidator.h>

Inheritance diagram for HGCalValidator:
DQMGlobalEDAnalyzer< HGCalValidatorHistograms > DQMGlobalEDAnalyzerBase< HGCalValidatorHistograms, Args... > edm::global::EDProducer< edm::RunCache< HGCalValidatorHistograms >, edm::EndRunProducer, edm::Accumulator, Args... > edm::global::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

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
template<typename T >
using BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T >
 
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
 

Public Member Functions

void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &, Histograms &) const override
 Method called to book the DQM histograms. More...
 
void 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 &) const
 
void dqmAnalyze (const edm::Event &, const edm::EventSetup &, const Histograms &) const override
 Method called once per event. More...
 
 HGCalValidator (const edm::ParameterSet &pset)
 Constructor. More...
 
 ~HGCalValidator () override
 Destructor. More...
 
- Public Member Functions inherited from DQMGlobalEDAnalyzer< HGCalValidatorHistograms >
virtual void dqmEndRun (edm::Run const &, edm::EventSetup const &, HGCalValidatorHistograms const &) const
 
void globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup) const final
 
- Public Member Functions inherited from DQMGlobalEDAnalyzerBase< HGCalValidatorHistograms, Args... >
void accumulate (edm::StreamID id, edm::Event const &event, edm::EventSetup const &setup) const final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &, HGCalValidatorHistograms &) const
 
 DQMGlobalEDAnalyzerBase ()
 
std::shared_ptr< HGCalValidatorHistogramsglobalBeginRun (edm::Run const &run, edm::EventSetup const &setup) const final
 
void globalEndRun (edm::Run const &, edm::EventSetup const &) const final
 
- Public Member Functions inherited from edm::global::EDProducer< edm::RunCache< HGCalValidatorHistograms >, edm::EndRunProducer, edm::Accumulator, Args... >
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
EDProduceroperator= (const EDProducer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
bool wantsStreamLuminosityBlocks () const final
 
bool wantsStreamRuns () const final
 
- Public Member Functions inherited from edm::global::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESResolverIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESResolverIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProductResolverIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Protected Attributes

edm::InputTag associator_
 
edm::EDGetTokenT< hgcal::RecoToSimCollectionassociatorMapRtS
 
edm::EDGetTokenT< hgcal::RecoToSimCollectionWithSimClustersassociatorMapRtSim
 
edm::EDGetTokenT< hgcal::SimToRecoCollectionWithSimClustersassociatorMapSimtR
 
edm::EDGetTokenT< hgcal::SimToRecoCollectionassociatorMapStR
 
edm::InputTag associatorSim_
 
edm::ESGetToken< CaloGeometry, CaloGeometryRecordcaloGeomToken_
 
std::vector< edm::EDGetTokenT< std::vector< float > > > clustersMaskTokens_
 
const edm::FileInPath cummatbudinxo_
 
const bool doCaloParticlePlots_
 
const bool doCaloParticleSelection_
 
const bool doLayerClustersPlots_
 
const bool doSimClustersPlots_
 
const bool doTrackstersPlots_
 
std::unique_ptr< HGVHistoProducerAlgohistoProducerAlgo_
 
edm::EDGetTokenT< std::unordered_map< DetId, const HGCRecHit * > > hitMap_
 
std::vector< edm::InputTaglabel_clustersmask
 
edm::EDGetTokenT< std::vector< CaloParticle > > label_cp_effic
 
edm::EDGetTokenT< std::vector< CaloParticle > > label_cp_fake
 
edm::InputTag label_layerClustersPlots_
 
edm::InputTag label_lcl
 
edm::InputTag label_LCToCPLinking_
 
edm::InputTag label_SimClustersLevel_
 
edm::InputTag label_SimClustersPlots_
 
edm::InputTag label_simTS
 
edm::InputTag label_simTSFromCP
 
std::string label_TS_
 
std::vector< edm::InputTaglabel_tst
 
std::string label_TSToCPLinking_
 
std::string label_TSToSTSPR_
 
std::vector< edm::EDGetTokenT< ticl::TracksterCollection > > label_tstTokens
 
std::vector< edm::EDGetTokenT< reco::CaloClusterCollection > > labelToken
 
edm::EDGetTokenT< reco::CaloClusterCollectionlayerclusters_
 
const bool SaveGeneralInfo_
 
edm::EDGetTokenT< std::vector< SimCluster > > simClusters_
 
edm::EDGetTokenT< ticl::TracksterCollectionsimTracksters_
 
edm::EDGetTokenT< ticl::TracksterCollectionsimTracksters_fromCPs_
 
edm::EDGetTokenT< std::map< uint, std::vector< uint > > > simTrackstersMap_
 
edm::EDGetTokenT< std::vector< SimVertex > > simVertices_
 
- Protected Attributes inherited from DQMGlobalEDAnalyzerBase< HGCalValidatorHistograms, Args... >
DQMStoredqmstore_
 
edm::EDPutTokenT< DQMTokenrunToken_
 

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::RecHitToolstools_
 
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<Transition Tr = Transition::Event>
auto produces (std::string instanceName) noexcept
 declare what type of product will make and with which optional label More...
 
template<Transition B>
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)
 
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 ()
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
template<Transition Tr = Transition::Event>
auto produces () noexcept
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (edm::InputTag tag) noexcept
 
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes ()
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag)
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
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)
 
void resetItemsToGetFrom (BranchType iType)
 

Detailed Description

Class that produces histograms to validate HGCal Reconstruction performances

Author
HGCal

Definition at line 39 of file HGCalValidator.h.

Member Typedef Documentation

◆ Histograms

Definition at line 41 of file HGCalValidator.h.

Constructor & Destructor Documentation

◆ HGCalValidator()

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_, dirName_, fmb, edm::FileInPath::fullPath(), histoProducerAlgo_, hitMap_, ProducerED_cfi::InputTag, label_clustersmask, label_cp_effic, label_cp_fake, label_lcl, label_simTS, label_simTSFromCP, label_tst, label_tstTokens, layerclusters_, particles_to_monitor_, muonDTDigis_cfi::pset, simClusters_, simTracksters_, simTracksters_fromCPs_, simTrackstersMap_, simVertices_, AlCaHLTBitMon_QueryRunRegistry::string, thicknesses_to_monitor_, tools_, and totallayers_to_monitor_.

12  : caloGeomToken_(esConsumes<CaloGeometry, CaloGeometryRecord>()),
13  label_lcl(pset.getParameter<edm::InputTag>("label_lcl")),
14  label_tst(pset.getParameter<std::vector<edm::InputTag>>("label_tst")),
15  label_simTS(pset.getParameter<edm::InputTag>("label_simTS")),
16  label_simTSFromCP(pset.getParameter<edm::InputTag>("label_simTSFromCP")),
17  associator_(pset.getUntrackedParameter<edm::InputTag>("associator")),
18  associatorSim_(pset.getUntrackedParameter<edm::InputTag>("associatorSim")),
19  SaveGeneralInfo_(pset.getUntrackedParameter<bool>("SaveGeneralInfo")),
20  doCaloParticlePlots_(pset.getUntrackedParameter<bool>("doCaloParticlePlots")),
21  doCaloParticleSelection_(pset.getUntrackedParameter<bool>("doCaloParticleSelection")),
22  doSimClustersPlots_(pset.getUntrackedParameter<bool>("doSimClustersPlots")),
23  label_SimClustersPlots_(pset.getParameter<edm::InputTag>("label_SimClusters")),
24  label_SimClustersLevel_(pset.getParameter<edm::InputTag>("label_SimClustersLevel")),
25  doLayerClustersPlots_(pset.getUntrackedParameter<bool>("doLayerClustersPlots")),
26  label_layerClustersPlots_(pset.getParameter<edm::InputTag>("label_layerClusterPlots")),
27  label_LCToCPLinking_(pset.getParameter<edm::InputTag>("label_LCToCPLinking")),
28  doTrackstersPlots_(pset.getUntrackedParameter<bool>("doTrackstersPlots")),
29  label_TS_(pset.getParameter<std::string>("label_TS")),
30  label_TSToCPLinking_(pset.getParameter<std::string>("label_TSToCPLinking")),
31  label_TSToSTSPR_(pset.getParameter<std::string>("label_TSToSTSPR")),
32  label_clustersmask(pset.getParameter<std::vector<edm::InputTag>>("LayerClustersInputMask")),
33  cummatbudinxo_(pset.getParameter<edm::FileInPath>("cummatbudinxo")) {
34  //In this way we can easily generalize to associations between other objects also.
35  const edm::InputTag& label_cp_effic_tag = pset.getParameter<edm::InputTag>("label_cp_effic");
36  const edm::InputTag& label_cp_fake_tag = pset.getParameter<edm::InputTag>("label_cp_fake");
37 
38  label_cp_effic = consumes<std::vector<CaloParticle>>(label_cp_effic_tag);
39  label_cp_fake = consumes<std::vector<CaloParticle>>(label_cp_fake_tag);
40 
41  simVertices_ = consumes<std::vector<SimVertex>>(pset.getParameter<edm::InputTag>("simVertices"));
42 
43  for (auto& itag : label_clustersmask) {
44  clustersMaskTokens_.push_back(consumes<std::vector<float>>(itag));
45  }
46 
47  associatorMapSimtR = consumes<hgcal::SimToRecoCollectionWithSimClusters>(associatorSim_);
48  associatorMapRtSim = consumes<hgcal::RecoToSimCollectionWithSimClusters>(associatorSim_);
49 
50  simTrackstersMap_ = consumes<std::map<uint, std::vector<uint>>>(edm::InputTag("ticlSimTracksters"));
51 
52  hitMap_ = consumes<std::unordered_map<DetId, const HGCRecHit*>>(edm::InputTag("hgcalRecHitMapProducer"));
53 
54  simClusters_ = consumes<std::vector<SimCluster>>(pset.getParameter<edm::InputTag>("label_scl"));
55 
56  layerclusters_ = consumes<reco::CaloClusterCollection>(label_lcl);
57 
58  for (auto& itag : label_tst) {
59  label_tstTokens.push_back(consumes<ticl::TracksterCollection>(itag));
60  }
61 
62  simTracksters_ = consumes<ticl::TracksterCollection>(label_simTS);
63  simTracksters_fromCPs_ = consumes<ticl::TracksterCollection>(label_simTSFromCP);
64 
65  associatorMapRtS = consumes<hgcal::RecoToSimCollection>(associator_);
66  associatorMapStR = consumes<hgcal::SimToRecoCollection>(associator_);
67 
68  cpSelector = CaloParticleSelector(pset.getParameter<double>("ptMinCP"),
69  pset.getParameter<double>("ptMaxCP"),
70  pset.getParameter<double>("minRapidityCP"),
71  pset.getParameter<double>("maxRapidityCP"),
72  pset.getParameter<double>("lipCP"),
73  pset.getParameter<double>("tipCP"),
74  pset.getParameter<int>("minHitCP"),
75  pset.getParameter<int>("maxSimClustersCP"),
76  pset.getParameter<bool>("signalOnlyCP"),
77  pset.getParameter<bool>("intimeOnlyCP"),
78  pset.getParameter<bool>("chargedOnlyCP"),
79  pset.getParameter<bool>("stableOnlyCP"),
80  pset.getParameter<bool>("notConvertedOnlyCP"),
81  pset.getParameter<std::vector<int>>("pdgIdCP"));
82 
83  tools_.reset(new hgcal::RecHitTools());
84 
85  particles_to_monitor_ = pset.getParameter<std::vector<int>>("pdgIdCP");
86  totallayers_to_monitor_ = pset.getParameter<int>("totallayers_to_monitor");
87  thicknesses_to_monitor_ = pset.getParameter<std::vector<int>>("thicknesses_to_monitor");
88 
89  //For the material budget file here
90  std::ifstream fmb(cummatbudinxo_.fullPath().c_str());
91  double thelay = 0.;
92  double mbg = 0.;
93  for (unsigned ilayer = 1; ilayer <= totallayers_to_monitor_; ++ilayer) {
94  fmb >> thelay >> mbg;
95  cummatbudg.insert(std::pair<double, double>(thelay, mbg));
96  }
97 
98  fmb.close();
99 
100  ParameterSet psetForHistoProducerAlgo = pset.getParameter<ParameterSet>("histoProducerAlgoBlock");
101  histoProducerAlgo_ = std::make_unique<HGVHistoProducerAlgo>(psetForHistoProducerAlgo);
102 
103  dirName_ = pset.getParameter<std::string>("dirName");
104 }
std::map< double, double > cummatbudg
edm::EDGetTokenT< std::unordered_map< DetId, const HGCRecHit * > > hitMap_
std::string fullPath() const
Definition: FileInPath.cc:161
edm::InputTag associator_
std::vector< edm::InputTag > label_tst
edm::EDGetTokenT< hgcal::SimToRecoCollectionWithSimClusters > associatorMapSimtR
std::unique_ptr< HGVHistoProducerAlgo > histoProducerAlgo_
edm::EDGetTokenT< hgcal::RecoToSimCollectionWithSimClusters > associatorMapRtSim
CaloParticleSelector cpSelector
const bool doCaloParticlePlots_
unsigned totallayers_to_monitor_
std::vector< int > thicknesses_to_monitor_
edm::InputTag label_simTS
const bool SaveGeneralInfo_
const bool doLayerClustersPlots_
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::string label_TSToSTSPR_
cc *****************************************************cc the common blocks pinput and cwdidth are for input parameters cc these parameters needed to be interfaced to other program common pinput fmb
Definition: inclcon.h:4
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeomToken_
edm::EDGetTokenT< hgcal::RecoToSimCollection > associatorMapRtS
std::string dirName_
edm::EDGetTokenT< std::vector< SimVertex > > simVertices_
edm::EDGetTokenT< std::vector< CaloParticle > > label_cp_fake
edm::EDGetTokenT< std::vector< CaloParticle > > label_cp_effic
const bool doCaloParticleSelection_
std::vector< edm::EDGetTokenT< ticl::TracksterCollection > > label_tstTokens
std::shared_ptr< hgcal::RecHitTools > tools_
std::string label_TSToCPLinking_
edm::InputTag label_LCToCPLinking_
edm::InputTag label_simTSFromCP
edm::EDGetTokenT< reco::CaloClusterCollection > layerclusters_
const bool doTrackstersPlots_
const edm::FileInPath cummatbudinxo_
edm::EDGetTokenT< ticl::TracksterCollection > simTracksters_
std::vector< edm::InputTag > label_clustersmask
std::vector< edm::EDGetTokenT< std::vector< float > > > clustersMaskTokens_
edm::EDGetTokenT< std::vector< SimCluster > > simClusters_
edm::InputTag label_SimClustersPlots_
edm::InputTag label_SimClustersLevel_
std::vector< int > particles_to_monitor_
edm::EDGetTokenT< hgcal::SimToRecoCollection > associatorMapStR
const bool doSimClustersPlots_
edm::InputTag label_lcl
edm::EDGetTokenT< std::map< uint, std::vector< uint > > > simTrackstersMap_
edm::EDGetTokenT< ticl::TracksterCollection > simTracksters_fromCPs_
std::string label_TS_
edm::InputTag associatorSim_
edm::InputTag label_layerClustersPlots_

◆ ~HGCalValidator()

HGCalValidator::~HGCalValidator ( )
override

Destructor.

Definition at line 106 of file HGCalValidator.cc.

106 {}

Member Function Documentation

◆ bookHistograms()

void HGCalValidator::bookHistograms ( DQMStore::IBooker ibook,
edm::Run const &  ,
edm::EventSetup const &  setup,
Histograms histograms 
) const
overridevirtual

Method called to book the DQM histograms.

Implements DQMGlobalEDAnalyzerBase< HGCalValidatorHistograms, Args... >.

Definition at line 108 of file HGCalValidator.cc.

References dqm::implementation::NavigatorBase::cd(), cummatbudinxo_, TrackerOfflineValidation_Dqm_cff::dirName, dirName_, doCaloParticlePlots_, doLayerClustersPlots_, doSimClustersPlots_, doTrackstersPlots_, edm::FileInPath::fullPath(), histoProducerAlgo_, edm::InputTag::label(), label_clustersmask, label_layerClustersPlots_, label_LCToCPLinking_, label_SimClustersLevel_, label_SimClustersPlots_, label_TS_, label_tst, label_TSToCPLinking_, label_TSToSTSPR_, hgcal::Linking, LogDebug, particles_to_monitor_, hgcal::PatternRecognition, SaveGeneralInfo_, dqm::implementation::NavigatorBase::setCurrentFolder(), thicknesses_to_monitor_, to_string(), totallayers_to_monitor_, and gpuVertexFinder::ws.

111  {
112  if (SaveGeneralInfo_) {
113  ibook.cd();
114  ibook.setCurrentFolder(dirName_ + "GeneralInfo");
115  histoProducerAlgo_->bookInfo(ibook, histograms.histoProducerAlgo);
116  }
117 
118  if (doCaloParticlePlots_) {
119  ibook.cd();
120 
121  for (auto const particle : particles_to_monitor_) {
122  ibook.setCurrentFolder(dirName_ + "SelectedCaloParticles/" + std::to_string(particle));
123  histoProducerAlgo_->bookCaloParticleHistos(
124  ibook, histograms.histoProducerAlgo, particle, totallayers_to_monitor_);
125  }
126  ibook.cd();
127  ibook.setCurrentFolder(dirName_);
128  }
129 
130  //Booking histograms concerning with simClusters
131  if (doSimClustersPlots_) {
132  ibook.cd();
134  histoProducerAlgo_->bookSimClusterHistos(
135  ibook, histograms.histoProducerAlgo, totallayers_to_monitor_, thicknesses_to_monitor_);
136 
137  for (unsigned int ws = 0; ws < label_clustersmask.size(); ws++) {
138  ibook.cd();
140  string dirName = dirName_ + label_SimClustersPlots_.label() + "/";
141  if (!algo.process().empty())
142  dirName += algo.process() + "_";
143  LogDebug("HGCalValidator") << dirName << "\n";
144  if (!algo.label().empty())
145  dirName += algo.label() + "_";
146  LogDebug("HGCalValidator") << dirName << "\n";
147  if (!algo.instance().empty())
148  dirName += algo.instance() + "_";
149  LogDebug("HGCalValidator") << dirName << "\n";
150 
151  if (!dirName.empty()) {
152  dirName.resize(dirName.size() - 1);
153  }
154 
155  LogDebug("HGCalValidator") << dirName << "\n";
156 
157  ibook.setCurrentFolder(dirName);
158 
159  histoProducerAlgo_->bookSimClusterAssociationHistos(
160  ibook, histograms.histoProducerAlgo, totallayers_to_monitor_, thicknesses_to_monitor_);
161  } //end of loop over masks
162  } //if for simCluster plots
163 
164  //Booking histograms concerning with hgcal layer clusters
165  if (doLayerClustersPlots_) {
166  ibook.cd();
167  ibook.setCurrentFolder(dirName_ + label_layerClustersPlots_.label() + "/ClusterLevel");
168  histoProducerAlgo_->bookClusterHistos_ClusterLevel(ibook,
169  histograms.histoProducerAlgo,
173  ibook.cd();
175  histoProducerAlgo_->bookClusterHistos_LCtoCP_association(
176  ibook, histograms.histoProducerAlgo, totallayers_to_monitor_);
177 
178  ibook.cd();
179  ibook.setCurrentFolder(dirName_ + label_layerClustersPlots_.label() + "/CellLevel");
180  histoProducerAlgo_->bookClusterHistos_CellLevel(
181  ibook, histograms.histoProducerAlgo, totallayers_to_monitor_, thicknesses_to_monitor_);
182  }
183 
184  //Booking histograms for Tracksters
185  for (unsigned int www = 0; www < label_tst.size(); www++) {
186  ibook.cd();
187  InputTag algo = label_tst[www];
188  string dirName = dirName_;
189  if (!algo.process().empty())
190  dirName += algo.process() + "_";
191  LogDebug("HGCalValidator") << dirName << "\n";
192  if (!algo.label().empty())
193  dirName += algo.label() + "_";
194  LogDebug("HGCalValidator") << dirName << "\n";
195  if (!algo.instance().empty())
196  dirName += algo.instance() + "_";
197  LogDebug("HGCalValidator") << dirName << "\n";
198 
199  if (!dirName.empty()) {
200  dirName.resize(dirName.size() - 1);
201  }
202 
203  LogDebug("HGCalValidator") << dirName << "\n";
204 
205  ibook.setCurrentFolder(dirName);
206 
207  // Booking histograms concerning HGCal tracksters
208  if (doTrackstersPlots_) {
209  // Generic histos
210  ibook.setCurrentFolder(dirName + "/" + label_TS_);
211  histoProducerAlgo_->bookTracksterHistos(ibook, histograms.histoProducerAlgo, totallayers_to_monitor_);
212  // CP Linking
214  histoProducerAlgo_->bookTracksterSTSHistos(
216  // SimTracksters Pattern Recognition
218  histoProducerAlgo_->bookTracksterSTSHistos(
220  }
221  } //end of booking Tracksters loop
222 }
std::string fullPath() const
Definition: FileInPath.cc:161
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
std::vector< edm::InputTag > label_tst
std::unique_ptr< HGVHistoProducerAlgo > histoProducerAlgo_
const bool doCaloParticlePlots_
std::string const & label() const
Definition: InputTag.h:36
unsigned totallayers_to_monitor_
std::vector< int > thicknesses_to_monitor_
static std::string to_string(const XMLCh *ch)
const bool SaveGeneralInfo_
const bool doLayerClustersPlots_
auto &__restrict__ ws
std::string label_TSToSTSPR_
std::string dirName_
std::string label_TSToCPLinking_
edm::InputTag label_LCToCPLinking_
const bool doTrackstersPlots_
const edm::FileInPath cummatbudinxo_
std::vector< edm::InputTag > label_clustersmask
edm::InputTag label_SimClustersPlots_
edm::InputTag label_SimClustersLevel_
std::vector< int > particles_to_monitor_
const bool doSimClustersPlots_
std::string label_TS_
edm::InputTag label_layerClustersPlots_
#define LogDebug(id)

◆ cpParametersAndSelection()

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 224 of file HGCalValidator.cc.

References cpSelector, doCaloParticlePlots_, doCaloParticleSelection_, histoProducerAlgo_, dqmiolumiharvest::j, hgcalTBTopologyTester_cfi::layers, and HGCalValidator_cfi::simVertices.

Referenced by dqmAnalyze().

229  {
230  selected_cPeff.reserve(cPeff.size());
231 
232  size_t j = 0;
233  for (auto const& caloParticle : cPeff) {
234  int id = caloParticle.pdgId();
235 
237  selected_cPeff.push_back(j);
238  if (doCaloParticlePlots_) {
239  histoProducerAlgo_->fill_caloparticle_histos(
240  histograms.histoProducerAlgo, id, caloParticle, simVertices, layers, hitMap);
241  }
242  }
243  ++j;
244  } //end of loop over caloparticles
245 }
std::unique_ptr< HGVHistoProducerAlgo > histoProducerAlgo_
CaloParticleSelector cpSelector
const bool doCaloParticlePlots_
const bool doCaloParticleSelection_

◆ dqmAnalyze()

void HGCalValidator::dqmAnalyze ( const edm::Event event,
const edm::EventSetup setup,
const Histograms histograms 
) const
overridevirtual

Method called once per event.

Implements DQMGlobalEDAnalyzerBase< HGCalValidatorHistograms, Args... >.

Definition at line 247 of file HGCalValidator.cc.

References associatorMapRtS, associatorMapRtSim, associatorMapSimtR, associatorMapStR, caloGeomToken_, caloTruthCellsProducer_cfi::caloParticles, bsc_activity_cfg::clusters, clustersMaskTokens_, cpParametersAndSelection(), cummatbudg, doLayerClustersPlots_, doSimClustersPlots_, doTrackstersPlots_, edmPickEvents::event, relativeConstraints::geom, histoProducerAlgo_, hitMap_, edm::HandleBase::id(), edm::InputTag::instance(), edm::InputTag::label(), label_clustersmask, label_cp_effic, label_lcl, label_tst, label_tstTokens, layerclusters_, LogDebug, LogTrace, or, edm::InputTag::process(), removeCPFromPU(), SaveGeneralInfo_, singleTopDQM_cfi::setup, simClusters_, simTracksters_, simTracksters_fromCPs_, simTrackstersMap_, HGCalValidator_cfi::simVertices, simVertices_, thicknesses_to_monitor_, tools_, totallayers_to_monitor_, w(), and gpuVertexFinder::ws.

249  {
250  using namespace reco;
251 
252  LogDebug("HGCalValidator") << "\n===================================================="
253  << "\n"
254  << "Analyzing new event"
255  << "\n"
256  << "====================================================\n"
257  << "\n";
258 
259  edm::Handle<std::vector<SimVertex>> simVerticesHandle;
260  event.getByToken(simVertices_, simVerticesHandle);
261  std::vector<SimVertex> const& simVertices = *simVerticesHandle;
262 
263  edm::Handle<std::vector<CaloParticle>> caloParticleHandle;
264  event.getByToken(label_cp_effic, caloParticleHandle);
265  std::vector<CaloParticle> const& caloParticles = *caloParticleHandle;
266 
267  edm::Handle<ticl::TracksterCollection> simTracksterHandle;
268  event.getByToken(simTracksters_, simTracksterHandle);
269  ticl::TracksterCollection const& simTracksters = *simTracksterHandle;
270 
271  edm::Handle<ticl::TracksterCollection> simTracksterFromCPHandle;
272  event.getByToken(simTracksters_fromCPs_, simTracksterFromCPHandle);
273  ticl::TracksterCollection const& simTrackstersFromCPs = *simTracksterFromCPHandle;
274 
275  edm::Handle<std::map<uint, std::vector<uint>>> simTrackstersMapHandle;
276  event.getByToken(simTrackstersMap_, simTrackstersMapHandle);
277  const std::map<uint, std::vector<uint>> cpToSc_SimTrackstersMap = *simTrackstersMapHandle;
278 
280  tools_->setGeometry(*geom);
281  histoProducerAlgo_->setRecHitTools(tools_);
282 
283  edm::Handle<hgcal::SimToRecoCollection> simtorecoCollectionH;
284  event.getByToken(associatorMapStR, simtorecoCollectionH);
285  auto simRecColl = *simtorecoCollectionH;
286  edm::Handle<hgcal::RecoToSimCollection> recotosimCollectionH;
287  event.getByToken(associatorMapRtS, recotosimCollectionH);
288  auto recSimColl = *recotosimCollectionH;
289 
291  event.getByToken(hitMap_, hitMapHandle);
292  const std::unordered_map<DetId, const HGCRecHit*>* hitMap = &*hitMapHandle;
293 
294  //Some general info on layers etc.
295  if (SaveGeneralInfo_) {
296  histoProducerAlgo_->fill_info_histos(histograms.histoProducerAlgo, totallayers_to_monitor_);
297  }
298 
299  std::vector<size_t> cPIndices;
300  //Consider CaloParticles coming from the hard scatterer
301  //excluding the PU contribution and save the indices.
302  removeCPFromPU(caloParticles, cPIndices);
303 
304  // ##############################################
305  // Fill caloparticles histograms
306  // ##############################################
307  // HGCRecHit are given to select the SimHits which are also reconstructed
308  LogTrace("HGCalValidator") << "\n# of CaloParticles: " << caloParticles.size() << "\n" << std::endl;
309  std::vector<size_t> selected_cPeff;
311 
312  //get collections from the event
313  //simClusters
314  edm::Handle<std::vector<SimCluster>> simClustersHandle;
315  event.getByToken(simClusters_, simClustersHandle);
316  std::vector<SimCluster> const& simClusters = *simClustersHandle;
317 
318  //Layer clusters
320  event.getByToken(layerclusters_, clusterHandle);
321  const reco::CaloClusterCollection& clusters = *clusterHandle;
322 
323  auto nSimClusters = simClusters.size();
324  std::vector<size_t> sCIndices;
325  //There shouldn't be any SimTracks from different crossings, but maybe they will be added later.
326  //At the moment there should be one SimTrack in each SimCluster.
327  for (unsigned int scId = 0; scId < nSimClusters; ++scId) {
328  if (simClusters[scId].g4Tracks()[0].eventId().event() != 0 or
329  simClusters[scId].g4Tracks()[0].eventId().bunchCrossing() != 0) {
330  LogDebug("HGCalValidator") << "Excluding SimClusters from event: "
331  << simClusters[scId].g4Tracks()[0].eventId().event()
332  << " with BX: " << simClusters[scId].g4Tracks()[0].eventId().bunchCrossing()
333  << std::endl;
334  continue;
335  }
336  sCIndices.emplace_back(scId);
337  }
338 
339  // ##############################################
340  // Fill simCluster histograms
341  // ##############################################
342  if (doSimClustersPlots_) {
343  histoProducerAlgo_->fill_simCluster_histos(
344  histograms.histoProducerAlgo, simClusters, totallayers_to_monitor_, thicknesses_to_monitor_);
345 
346  for (unsigned int ws = 0; ws < label_clustersmask.size(); ws++) {
347  const auto& inputClusterMask = event.get(clustersMaskTokens_[ws]);
348 
350  event.getByToken(associatorMapSimtR, simtorecoCollectionH);
351  auto simRecColl = *simtorecoCollectionH;
353  event.getByToken(associatorMapRtSim, recotosimCollectionH);
354  auto recSimColl = *recotosimCollectionH;
355 
356  histoProducerAlgo_->fill_simClusterAssociation_histos(histograms.histoProducerAlgo,
357  ws,
358  clusterHandle,
359  clusters,
360  simClustersHandle,
361  simClusters,
362  sCIndices,
363  inputClusterMask,
364  *hitMap,
366  recSimColl,
367  simRecColl);
368 
369  //General Info on simClusters
370  LogTrace("HGCalValidator") << "\n# of SimClusters: " << nSimClusters
371  << ", layerClusters mask label: " << label_clustersmask[ws].label() << "\n";
372  } //end of loop overs masks
373  }
374 
375  // ##############################################
376  // Fill layercluster histograms
377  // ##############################################
378  int w = 0; //counter counting the number of sets of histograms
379  if (doLayerClustersPlots_) {
380  histoProducerAlgo_->fill_generic_cluster_histos(histograms.histoProducerAlgo,
381  w,
382  clusterHandle,
383  clusters,
384  caloParticleHandle,
386  cPIndices,
387  selected_cPeff,
388  *hitMap,
389  cummatbudg,
392  recSimColl,
393  simRecColl);
394 
395  for (unsigned int layerclusterIndex = 0; layerclusterIndex < clusters.size(); layerclusterIndex++) {
396  histoProducerAlgo_->fill_cluster_histos(histograms.histoProducerAlgo, w, clusters[layerclusterIndex]);
397  }
398 
399  //General Info on hgcalLayerClusters
400  LogTrace("HGCalValidator") << "\n# of layer clusters with " << label_lcl.process() << ":" << label_lcl.label()
401  << ":" << label_lcl.instance() << ": " << clusters.size() << "\n";
402  }
403 
404  // ##############################################
405  // Fill Trackster histograms
406  // ##############################################
407  for (unsigned int wml = 0; wml < label_tstTokens.size(); wml++) {
408  if (doTrackstersPlots_) {
410  event.getByToken(label_tstTokens[wml], tracksterHandle);
411  const ticl::TracksterCollection& tracksters = *tracksterHandle;
412 
413  //General Info on Tracksters
414  LogTrace("HGCalValidator") << "\n# of Tracksters from " << label_tst[wml].process() << ":"
415  << label_tst[wml].label() << ":" << label_tst[wml].instance() << ": "
416  << tracksters.size() << "\n"
417  << std::endl;
418 
419  histoProducerAlgo_->fill_trackster_histos(histograms.histoProducerAlgo,
420  wml,
421  tracksters,
422  clusters,
423  simTracksters,
424  simTrackstersFromCPs,
425  cpToSc_SimTrackstersMap,
426  simClusters,
427  caloParticleHandle.id(),
429  cPIndices,
430  selected_cPeff,
431  *hitMap,
433  }
434  } //end of loop over Trackster input labels
435 }
std::map< double, double > cummatbudg
edm::EDGetTokenT< std::unordered_map< DetId, const HGCRecHit * > > hitMap_
void 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 &) const
ProductID id() const
Definition: HandleBase.cc:29
T w() const
std::string const & instance() const
Definition: InputTag.h:37
std::vector< edm::InputTag > label_tst
edm::EDGetTokenT< hgcal::SimToRecoCollectionWithSimClusters > associatorMapSimtR
std::unique_ptr< HGVHistoProducerAlgo > histoProducerAlgo_
edm::EDGetTokenT< hgcal::RecoToSimCollectionWithSimClusters > associatorMapRtSim
std::string const & label() const
Definition: InputTag.h:36
unsigned totallayers_to_monitor_
std::vector< int > thicknesses_to_monitor_
#define LogTrace(id)
const bool SaveGeneralInfo_
const bool doLayerClustersPlots_
auto &__restrict__ ws
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeomToken_
edm::EDGetTokenT< hgcal::RecoToSimCollection > associatorMapRtS
edm::EDGetTokenT< std::vector< SimVertex > > simVertices_
edm::EDGetTokenT< std::vector< CaloParticle > > label_cp_effic
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
std::vector< edm::EDGetTokenT< ticl::TracksterCollection > > label_tstTokens
std::shared_ptr< hgcal::RecHitTools > tools_
std::vector< CaloCluster > CaloClusterCollection
collection of CaloCluster objects
edm::EDGetTokenT< reco::CaloClusterCollection > layerclusters_
const bool doTrackstersPlots_
edm::EDGetTokenT< ticl::TracksterCollection > simTracksters_
static void removeCPFromPU(const std::vector< CaloParticle > &caloParticles, std::vector< size_t > &cPIndices, bool hardScatterOnly=true)
std::vector< edm::InputTag > label_clustersmask
std::vector< edm::EDGetTokenT< std::vector< float > > > clustersMaskTokens_
edm::EDGetTokenT< std::vector< SimCluster > > simClusters_
fixed size matrix
edm::EDGetTokenT< hgcal::SimToRecoCollection > associatorMapStR
const bool doSimClustersPlots_
std::vector< Trackster > TracksterCollection
Definition: Trackster.h:199
edm::InputTag label_lcl
std::string const & process() const
Definition: InputTag.h:40
edm::EDGetTokenT< std::map< uint, std::vector< uint > > > simTrackstersMap_
edm::EDGetTokenT< ticl::TracksterCollection > simTracksters_fromCPs_
#define LogDebug(id)

Member Data Documentation

◆ associator_

edm::InputTag HGCalValidator::associator_
protected

Definition at line 66 of file HGCalValidator.h.

Referenced by HGCalValidator().

◆ associatorMapRtS

edm::EDGetTokenT<hgcal::RecoToSimCollection> HGCalValidator::associatorMapRtS
protected

Definition at line 92 of file HGCalValidator.h.

Referenced by dqmAnalyze(), and HGCalValidator().

◆ associatorMapRtSim

edm::EDGetTokenT<hgcal::RecoToSimCollectionWithSimClusters> HGCalValidator::associatorMapRtSim
protected

Definition at line 95 of file HGCalValidator.h.

Referenced by dqmAnalyze(), and HGCalValidator().

◆ associatorMapSimtR

edm::EDGetTokenT<hgcal::SimToRecoCollectionWithSimClusters> HGCalValidator::associatorMapSimtR
protected

Definition at line 94 of file HGCalValidator.h.

Referenced by dqmAnalyze(), and HGCalValidator().

◆ associatorMapStR

edm::EDGetTokenT<hgcal::SimToRecoCollection> HGCalValidator::associatorMapStR
protected

Definition at line 93 of file HGCalValidator.h.

Referenced by dqmAnalyze(), and HGCalValidator().

◆ associatorSim_

edm::InputTag HGCalValidator::associatorSim_
protected

Definition at line 67 of file HGCalValidator.h.

Referenced by HGCalValidator().

◆ caloGeomToken_

edm::ESGetToken<CaloGeometry, CaloGeometryRecord> HGCalValidator::caloGeomToken_
protected

Definition at line 62 of file HGCalValidator.h.

Referenced by dqmAnalyze().

◆ clustersMaskTokens_

std::vector<edm::EDGetTokenT<std::vector<float> > > HGCalValidator::clustersMaskTokens_
protected

Definition at line 90 of file HGCalValidator.h.

Referenced by dqmAnalyze(), and HGCalValidator().

◆ cpSelector

CaloParticleSelector HGCalValidator::cpSelector
private

Definition at line 99 of file HGCalValidator.h.

Referenced by cpParametersAndSelection(), and HGCalValidator().

◆ cummatbudg

std::map<double, double> HGCalValidator::cummatbudg
private

Definition at line 101 of file HGCalValidator.h.

Referenced by dqmAnalyze(), and HGCalValidator().

◆ cummatbudinxo_

const edm::FileInPath HGCalValidator::cummatbudinxo_
protected

Definition at line 78 of file HGCalValidator.h.

Referenced by bookHistograms(), and HGCalValidator().

◆ dirName_

std::string HGCalValidator::dirName_
private

Definition at line 105 of file HGCalValidator.h.

Referenced by bookHistograms(), and HGCalValidator().

◆ doCaloParticlePlots_

const bool HGCalValidator::doCaloParticlePlots_
protected

Definition at line 69 of file HGCalValidator.h.

Referenced by bookHistograms(), and cpParametersAndSelection().

◆ doCaloParticleSelection_

const bool HGCalValidator::doCaloParticleSelection_
protected

Definition at line 70 of file HGCalValidator.h.

Referenced by cpParametersAndSelection().

◆ doLayerClustersPlots_

const bool HGCalValidator::doLayerClustersPlots_
protected

Definition at line 73 of file HGCalValidator.h.

Referenced by bookHistograms(), and dqmAnalyze().

◆ doSimClustersPlots_

const bool HGCalValidator::doSimClustersPlots_
protected

Definition at line 71 of file HGCalValidator.h.

Referenced by bookHistograms(), and dqmAnalyze().

◆ doTrackstersPlots_

const bool HGCalValidator::doTrackstersPlots_
protected

Definition at line 75 of file HGCalValidator.h.

Referenced by bookHistograms(), and dqmAnalyze().

◆ histoProducerAlgo_

std::unique_ptr<HGVHistoProducerAlgo> HGCalValidator::histoProducerAlgo_
protected

◆ hitMap_

edm::EDGetTokenT<std::unordered_map<DetId, const HGCRecHit*> > HGCalValidator::hitMap_
protected

Definition at line 91 of file HGCalValidator.h.

Referenced by dqmAnalyze(), and HGCalValidator().

◆ label_clustersmask

std::vector<edm::InputTag> HGCalValidator::label_clustersmask
protected

Definition at line 77 of file HGCalValidator.h.

Referenced by bookHistograms(), dqmAnalyze(), and HGCalValidator().

◆ label_cp_effic

edm::EDGetTokenT<std::vector<CaloParticle> > HGCalValidator::label_cp_effic
protected

Definition at line 87 of file HGCalValidator.h.

Referenced by dqmAnalyze(), and HGCalValidator().

◆ label_cp_fake

edm::EDGetTokenT<std::vector<CaloParticle> > HGCalValidator::label_cp_fake
protected

Definition at line 88 of file HGCalValidator.h.

Referenced by HGCalValidator().

◆ label_layerClustersPlots_

edm::InputTag HGCalValidator::label_layerClustersPlots_
protected

Definition at line 74 of file HGCalValidator.h.

Referenced by bookHistograms().

◆ label_lcl

edm::InputTag HGCalValidator::label_lcl
protected

Definition at line 63 of file HGCalValidator.h.

Referenced by dqmAnalyze(), and HGCalValidator().

◆ label_LCToCPLinking_

edm::InputTag HGCalValidator::label_LCToCPLinking_
protected

Definition at line 74 of file HGCalValidator.h.

Referenced by bookHistograms().

◆ label_SimClustersLevel_

edm::InputTag HGCalValidator::label_SimClustersLevel_
protected

Definition at line 72 of file HGCalValidator.h.

Referenced by bookHistograms().

◆ label_SimClustersPlots_

edm::InputTag HGCalValidator::label_SimClustersPlots_
protected

Definition at line 72 of file HGCalValidator.h.

Referenced by bookHistograms().

◆ label_simTS

edm::InputTag HGCalValidator::label_simTS
protected

Definition at line 65 of file HGCalValidator.h.

Referenced by HGCalValidator().

◆ label_simTSFromCP

edm::InputTag HGCalValidator::label_simTSFromCP
protected

Definition at line 65 of file HGCalValidator.h.

Referenced by HGCalValidator().

◆ label_TS_

std::string HGCalValidator::label_TS_
protected

Definition at line 76 of file HGCalValidator.h.

Referenced by bookHistograms().

◆ label_tst

std::vector<edm::InputTag> HGCalValidator::label_tst
protected

Definition at line 64 of file HGCalValidator.h.

Referenced by bookHistograms(), dqmAnalyze(), and HGCalValidator().

◆ label_TSToCPLinking_

std::string HGCalValidator::label_TSToCPLinking_
protected

Definition at line 76 of file HGCalValidator.h.

Referenced by bookHistograms().

◆ label_TSToSTSPR_

std::string HGCalValidator::label_TSToSTSPR_
protected

Definition at line 76 of file HGCalValidator.h.

Referenced by bookHistograms().

◆ label_tstTokens

std::vector<edm::EDGetTokenT<ticl::TracksterCollection> > HGCalValidator::label_tstTokens
protected

Definition at line 83 of file HGCalValidator.h.

Referenced by dqmAnalyze(), and HGCalValidator().

◆ labelToken

std::vector<edm::EDGetTokenT<reco::CaloClusterCollection> > HGCalValidator::labelToken
protected

Definition at line 80 of file HGCalValidator.h.

◆ layerclusters_

edm::EDGetTokenT<reco::CaloClusterCollection> HGCalValidator::layerclusters_
protected

Definition at line 82 of file HGCalValidator.h.

Referenced by dqmAnalyze(), and HGCalValidator().

◆ particles_to_monitor_

std::vector<int> HGCalValidator::particles_to_monitor_
private

Definition at line 102 of file HGCalValidator.h.

Referenced by bookHistograms(), and HGCalValidator().

◆ SaveGeneralInfo_

const bool HGCalValidator::SaveGeneralInfo_
protected

Definition at line 68 of file HGCalValidator.h.

Referenced by bookHistograms(), and dqmAnalyze().

◆ simClusters_

edm::EDGetTokenT<std::vector<SimCluster> > HGCalValidator::simClusters_
protected

Definition at line 81 of file HGCalValidator.h.

Referenced by dqmAnalyze(), and HGCalValidator().

◆ simTracksters_

edm::EDGetTokenT<ticl::TracksterCollection> HGCalValidator::simTracksters_
protected

Definition at line 84 of file HGCalValidator.h.

Referenced by dqmAnalyze(), and HGCalValidator().

◆ simTracksters_fromCPs_

edm::EDGetTokenT<ticl::TracksterCollection> HGCalValidator::simTracksters_fromCPs_
protected

Definition at line 85 of file HGCalValidator.h.

Referenced by dqmAnalyze(), and HGCalValidator().

◆ simTrackstersMap_

edm::EDGetTokenT<std::map<uint, std::vector<uint> > > HGCalValidator::simTrackstersMap_
protected

Definition at line 86 of file HGCalValidator.h.

Referenced by dqmAnalyze(), and HGCalValidator().

◆ simVertices_

edm::EDGetTokenT<std::vector<SimVertex> > HGCalValidator::simVertices_
protected

Definition at line 89 of file HGCalValidator.h.

Referenced by dqmAnalyze(), and HGCalValidator().

◆ thicknesses_to_monitor_

std::vector<int> HGCalValidator::thicknesses_to_monitor_
private

Definition at line 104 of file HGCalValidator.h.

Referenced by bookHistograms(), dqmAnalyze(), and HGCalValidator().

◆ tools_

std::shared_ptr<hgcal::RecHitTools> HGCalValidator::tools_
private

Definition at line 100 of file HGCalValidator.h.

Referenced by dqmAnalyze(), and HGCalValidator().

◆ totallayers_to_monitor_

unsigned HGCalValidator::totallayers_to_monitor_
private

Definition at line 103 of file HGCalValidator.h.

Referenced by bookHistograms(), dqmAnalyze(), and HGCalValidator().