CMS 3D CMS Logo

HGVHistoProducerAlgo.h
Go to the documentation of this file.
1 #ifndef Validation_HGCalValidation_HGVHistoProducerAlgo_h
2 #define Validation_HGCalValidation_HGVHistoProducerAlgo_h
3 
4 /* \author HGCal
5  */
6 
7 #include <iostream>
8 #include <fstream>
9 #include <vector>
10 #include <unordered_map>
11 
15 
21 
27 
29 
31  //Info
32  //To be able to spot any issues both in -z and +z a layer id was introduced
33  //that spans from 0 to 103 for hgcal_v9 geometry. The mapping for hgcal_v9 is:
34  //-z: 0->51
35  //+z: 52->103
36  //We will pick the numbers below from RecHitTools just to avoid future problems
37  dqm::reco::MonitorElement* lastLayerEEzm; // last layer of EE -z
38  dqm::reco::MonitorElement* lastLayerFHzm; // last layer of FH -z
39  dqm::reco::MonitorElement* maxlayerzm; // last layer of BH -z
40  dqm::reco::MonitorElement* lastLayerEEzp; // last layer of EE +z
41  dqm::reco::MonitorElement* lastLayerFHzp; // last layer of FH +z
42  dqm::reco::MonitorElement* maxlayerzp; // last layer of BH +z
43 
44  //1D
45  std::vector<dqm::reco::MonitorElement*> h_cluster_eta;
46  std::vector<dqm::reco::MonitorElement*> h_mixedhitscluster_zminus;
47  std::vector<dqm::reco::MonitorElement*> h_mixedhitscluster_zplus;
48  std::vector<dqm::reco::MonitorElement*> h_energyclustered_zminus;
49  std::vector<dqm::reco::MonitorElement*> h_energyclustered_zplus;
50  std::vector<dqm::reco::MonitorElement*> h_longdepthbarycentre_zminus;
51  std::vector<dqm::reco::MonitorElement*> h_longdepthbarycentre_zplus;
52 
53  std::unordered_map<int, dqm::reco::MonitorElement*> h_clusternum_perlayer;
54  std::unordered_map<int, dqm::reco::MonitorElement*> h_energyclustered_perlayer;
55  std::unordered_map<int, dqm::reco::MonitorElement*> h_score_layercl2caloparticle_perlayer;
56  std::unordered_map<int, dqm::reco::MonitorElement*> h_score_caloparticle2layercl_perlayer;
57  std::unordered_map<int, dqm::reco::MonitorElement*> h_energy_vs_score_caloparticle2layercl_perlayer;
58  std::unordered_map<int, dqm::reco::MonitorElement*> h_energy_vs_score_layercl2caloparticle_perlayer;
59  std::unordered_map<int, dqm::reco::MonitorElement*> h_sharedenergy_caloparticle2layercl_perlayer;
60  std::unordered_map<int, dqm::reco::MonitorElement*> h_sharedenergy_caloparticle2layercl_vs_eta_perlayer;
61  std::unordered_map<int, dqm::reco::MonitorElement*> h_sharedenergy_caloparticle2layercl_vs_phi_perlayer;
62  std::unordered_map<int, dqm::reco::MonitorElement*> h_sharedenergy_layercl2caloparticle_perlayer;
63  std::unordered_map<int, dqm::reco::MonitorElement*> h_sharedenergy_layercl2caloparticle_vs_eta_perlayer;
64  std::unordered_map<int, dqm::reco::MonitorElement*> h_sharedenergy_layercl2caloparticle_vs_phi_perlayer;
65  std::unordered_map<int, dqm::reco::MonitorElement*> h_num_caloparticle_eta_perlayer;
66  std::unordered_map<int, dqm::reco::MonitorElement*> h_numDup_caloparticle_eta_perlayer;
67  std::unordered_map<int, dqm::reco::MonitorElement*> h_denom_caloparticle_eta_perlayer;
68  std::unordered_map<int, dqm::reco::MonitorElement*> h_num_caloparticle_phi_perlayer;
69  std::unordered_map<int, dqm::reco::MonitorElement*> h_numDup_caloparticle_phi_perlayer;
70  std::unordered_map<int, dqm::reco::MonitorElement*> h_denom_caloparticle_phi_perlayer;
71  std::unordered_map<int, dqm::reco::MonitorElement*> h_num_layercl_eta_perlayer;
72  std::unordered_map<int, dqm::reco::MonitorElement*> h_numMerge_layercl_eta_perlayer;
73  std::unordered_map<int, dqm::reco::MonitorElement*> h_denom_layercl_eta_perlayer;
74  std::unordered_map<int, dqm::reco::MonitorElement*> h_num_layercl_phi_perlayer;
75  std::unordered_map<int, dqm::reco::MonitorElement*> h_numMerge_layercl_phi_perlayer;
76  std::unordered_map<int, dqm::reco::MonitorElement*> h_denom_layercl_phi_perlayer;
77  std::unordered_map<int, dqm::reco::MonitorElement*> h_cellAssociation_perlayer;
78  std::unordered_map<int, dqm::reco::MonitorElement*> h_clusternum_perthick;
79  std::unordered_map<int, dqm::reco::MonitorElement*> h_cellsenedens_perthick;
80 
81  std::unordered_map<std::string, dqm::reco::MonitorElement*> h_cellsnum_perthickperlayer;
82  std::unordered_map<std::string, dqm::reco::MonitorElement*> h_distancetoseedcell_perthickperlayer;
83  std::unordered_map<std::string, dqm::reco::MonitorElement*> h_distancetoseedcell_perthickperlayer_eneweighted;
84  std::unordered_map<std::string, dqm::reco::MonitorElement*> h_distancetomaxcell_perthickperlayer;
85  std::unordered_map<std::string, dqm::reco::MonitorElement*> h_distancetomaxcell_perthickperlayer_eneweighted;
86  std::unordered_map<std::string, dqm::reco::MonitorElement*> h_distancebetseedandmaxcell_perthickperlayer;
87  std::unordered_map<std::string, dqm::reco::MonitorElement*>
89 
90  std::unordered_map<int, dqm::reco::MonitorElement*> h_caloparticle_eta;
91  std::unordered_map<int, dqm::reco::MonitorElement*> h_caloparticle_eta_Zorigin;
92  std::unordered_map<int, dqm::reco::MonitorElement*> h_caloparticle_energy;
93  std::unordered_map<int, dqm::reco::MonitorElement*> h_caloparticle_pt;
94  std::unordered_map<int, dqm::reco::MonitorElement*> h_caloparticle_phi;
95 
96  //For multiclusters
97  std::vector<dqm::reco::MonitorElement*> h_score_multicl2caloparticle;
98  std::vector<dqm::reco::MonitorElement*> h_score_caloparticle2multicl;
99  std::vector<dqm::reco::MonitorElement*> h_energy_vs_score_multicl2caloparticle;
100  std::vector<dqm::reco::MonitorElement*> h_energy_vs_score_caloparticle2multicl;
101  std::vector<dqm::reco::MonitorElement*> h_num_multicl_eta;
102  std::vector<dqm::reco::MonitorElement*> h_num_multicl_phi;
103  std::vector<dqm::reco::MonitorElement*> h_numMerge_multicl_eta;
104  std::vector<dqm::reco::MonitorElement*> h_numMerge_multicl_phi;
105  std::vector<dqm::reco::MonitorElement*> h_sharedenergy_multicl2caloparticle;
106  std::vector<dqm::reco::MonitorElement*> h_sharedenergy_caloparticle2multicl;
107  std::vector<dqm::reco::MonitorElement*> h_sharedenergy_multicl2caloparticle_vs_eta;
108  std::vector<dqm::reco::MonitorElement*> h_sharedenergy_multicl2caloparticle_vs_phi;
109  std::vector<dqm::reco::MonitorElement*> h_sharedenergy_caloparticle2multicl_vs_eta;
110  std::vector<dqm::reco::MonitorElement*> h_sharedenergy_caloparticle2multicl_vs_phi;
111  std::vector<dqm::reco::MonitorElement*> h_denom_multicl_eta;
112  std::vector<dqm::reco::MonitorElement*> h_denom_multicl_phi;
113  std::vector<dqm::reco::MonitorElement*> h_num_caloparticle_eta;
114  std::vector<dqm::reco::MonitorElement*> h_num_caloparticle_phi;
115  std::vector<dqm::reco::MonitorElement*> h_numDup_multicl_eta;
116  std::vector<dqm::reco::MonitorElement*> h_numDup_multicl_phi;
117  std::vector<dqm::reco::MonitorElement*> h_denom_caloparticle_eta;
118  std::vector<dqm::reco::MonitorElement*> h_denom_caloparticle_phi;
119  std::vector<dqm::reco::MonitorElement*> h_multiclusternum;
120  std::vector<dqm::reco::MonitorElement*> h_contmulticlusternum;
121  std::vector<dqm::reco::MonitorElement*> h_noncontmulticlusternum;
122  std::vector<dqm::reco::MonitorElement*> h_clusternum_in_multicluster;
123  std::vector<std::unordered_map<int, dqm::reco::MonitorElement*>> h_clusternum_in_multicluster_perlayer;
124  std::vector<dqm::reco::MonitorElement*> h_multiplicityOfLCinMCL;
125  std::vector<dqm::reco::MonitorElement*> h_multiplicity_numberOfEventsHistogram;
126  std::vector<dqm::reco::MonitorElement*> h_multiplicity_zminus_numberOfEventsHistogram;
127  std::vector<dqm::reco::MonitorElement*> h_multiplicity_zplus_numberOfEventsHistogram;
128  std::vector<dqm::reco::MonitorElement*> h_multiplicityOfLCinMCL_vs_layercluster;
129  std::vector<dqm::reco::MonitorElement*> h_multiplicityOfLCinMCL_vs_layercluster_zminus;
130  std::vector<dqm::reco::MonitorElement*> h_multiplicityOfLCinMCL_vs_layercluster_zplus;
131  std::vector<dqm::reco::MonitorElement*> h_multiplicityOfLCinMCL_vs_layerclusterenergy;
132  std::vector<dqm::reco::MonitorElement*> h_clusternum_in_multicluster_vs_layer;
133  std::vector<dqm::reco::MonitorElement*> h_multicluster_pt;
134  std::vector<dqm::reco::MonitorElement*> h_multicluster_eta;
135  std::vector<dqm::reco::MonitorElement*> h_multicluster_phi;
136  std::vector<dqm::reco::MonitorElement*> h_multicluster_energy;
137  std::vector<dqm::reco::MonitorElement*> h_multicluster_x;
138  std::vector<dqm::reco::MonitorElement*> h_multicluster_y;
139  std::vector<dqm::reco::MonitorElement*> h_multicluster_z;
140  std::vector<dqm::reco::MonitorElement*> h_multicluster_firstlayer;
141  std::vector<dqm::reco::MonitorElement*> h_multicluster_lastlayer;
142  std::vector<dqm::reco::MonitorElement*> h_multicluster_layersnum;
143 };
144 
146 
148 public:
151 
154 
156 
159 
162  unsigned layers,
163  std::vector<int> thicknesses,
164  std::string pathtomatbudfile);
167  const Histograms& histograms,
170  edm::Handle<std::vector<CaloParticle>> caloParticleHandle,
171  std::vector<CaloParticle> const& cP,
172  std::vector<size_t> const& cPIndices,
173  std::vector<size_t> const& cPSelectedIndices,
174  std::unordered_map<DetId, const HGCRecHit*> const&,
175  unsigned layers,
176  const edm::Handle<hgcal::LayerClusterToCaloParticleAssociator>& LCAssocByEnergyScoreHandle) const;
178  int count,
179  const std::vector<reco::HGCalMultiCluster>& multiClusters,
180  std::vector<CaloParticle> const& cP,
181  std::vector<size_t> const& cPIndices,
182  std::vector<size_t> const& cPSelectedIndices,
183  std::unordered_map<DetId, const HGCRecHit*> const&,
184  unsigned layers) const;
185  void fill_info_histos(const Histograms& histograms, unsigned layers) const;
187  int pdgid,
188  const CaloParticle& caloparticle,
189  std::vector<SimVertex> const& simVertices) const;
190  void fill_cluster_histos(const Histograms& histograms, int count, const reco::CaloCluster& cluster) const;
192  const Histograms& histograms,
193  int count,
196  const Density& densities,
197  edm::Handle<std::vector<CaloParticle>> caloParticleHandle,
198  std::vector<CaloParticle> const& cP,
199  std::vector<size_t> const& cPIndices,
200  std::vector<size_t> const& cPSelectedIndices,
201  std::unordered_map<DetId, const HGCRecHit*> const&,
202  std::map<double, double> cummatbudg,
203  unsigned layers,
204  std::vector<int> thicknesses,
205  edm::Handle<hgcal::LayerClusterToCaloParticleAssociator>& LCAssocByEnergyScoreHandle) const;
207  int count,
208  const std::vector<reco::HGCalMultiCluster>& multiClusters,
209  std::vector<CaloParticle> const& cP,
210  std::vector<size_t> const& cPIndices,
211  std::vector<size_t> const& cPSelectedIndices,
212  std::unordered_map<DetId, const HGCRecHit*> const&,
213  unsigned layers) const;
214  double distance2(const double x1, const double y1, const double x2, const double y2) const;
215  double distance(const double x1, const double y1, const double x2, const double y2) const;
216 
217  void setRecHitTools(std::shared_ptr<hgcal::RecHitTools> recHitTools);
218 
219  DetId findmaxhit(const reco::CaloCluster& cluster, std::unordered_map<DetId, const HGCRecHit*> const&) const;
220 
222  bool operator==(const detIdInfoInCluster& o) const { return clusterId == o.clusterId; };
223  long unsigned int clusterId;
224  float fraction;
225  };
226 
228  bool operator==(const detIdInfoInMultiCluster& o) const { return multiclusterId == o.multiclusterId; };
229  unsigned int multiclusterId;
230  long unsigned int clusterId;
231  float fraction;
232  };
233 
235  unsigned int caloParticleId;
236  float energy = 0;
237  std::vector<std::pair<DetId, float>> hits_and_fractions;
238  std::unordered_map<int, std::pair<float, float>> layerClusterIdToEnergyAndScore;
239  };
240 
241 private:
242  double getEta(double eta) const;
243 
244  std::shared_ptr<hgcal::RecHitTools> recHitTools_;
245 
246  //private data members
247  double minEta_, maxEta_;
248  int nintEta_;
250  double minEne_, maxEne_;
251  int nintEne_;
252  double minPt_, maxPt_;
253  int nintPt_;
254  double minPhi_, maxPhi_;
255  int nintPhi_;
304  double minX_, maxX_;
305  int nintX_;
306  double minY_, maxY_;
307  int nintY_;
308  double minZ_, maxZ_;
309  int nintZ_;
310 };
311 
312 #endif
HGVHistoProducerAlgoHistograms::h_energyclustered_zplus
std::vector< dqm::reco::MonitorElement * > h_energyclustered_zplus
Definition: HGVHistoProducerAlgo.h:49
HGVHistoProducerAlgo::nintLongDepBary_
int nintLongDepBary_
Definition: HGVHistoProducerAlgo.h:261
HGVHistoProducerAlgoHistograms::h_mixedhitscluster_zplus
std::vector< dqm::reco::MonitorElement * > h_mixedhitscluster_zplus
Definition: HGVHistoProducerAlgo.h:47
HGVHistoProducerAlgo::maxSizeCLsinMCLs_
double maxSizeCLsinMCLs_
Definition: HGVHistoProducerAlgo.h:300
HGVHistoProducerAlgoHistograms::h_denom_caloparticle_eta
std::vector< dqm::reco::MonitorElement * > h_denom_caloparticle_eta
Definition: HGVHistoProducerAlgo.h:117
HGVHistoProducerAlgoHistograms::h_denom_caloparticle_phi
std::vector< dqm::reco::MonitorElement * > h_denom_caloparticle_phi
Definition: HGVHistoProducerAlgo.h:118
HGVHistoProducerAlgo::maxEta_
double maxEta_
Definition: HGVHistoProducerAlgo.h:247
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
HGVHistoProducerAlgoHistograms::h_clusternum_in_multicluster
std::vector< dqm::reco::MonitorElement * > h_clusternum_in_multicluster
Definition: HGVHistoProducerAlgo.h:122
HGVHistoProducerAlgo::bookInfo
void bookInfo(DQMStore::IBooker &ibook, Histograms &histograms)
Definition: HGVHistoProducerAlgo.cc:186
HGVHistoProducerAlgoHistograms::h_distancetoseedcell_perthickperlayer
std::unordered_map< std::string, dqm::reco::MonitorElement * > h_distancetoseedcell_perthickperlayer
Definition: HGVHistoProducerAlgo.h:82
HGVHistoProducerAlgo::maxY_
double maxY_
Definition: HGVHistoProducerAlgo.h:306
HGVHistoProducerAlgoHistograms::h_denom_caloparticle_eta_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_denom_caloparticle_eta_perlayer
Definition: HGVHistoProducerAlgo.h:67
HGVHistoProducerAlgo::nintTotNcellsperthickperlayer_
int nintTotNcellsperthickperlayer_
Definition: HGVHistoProducerAlgo.h:277
HGVHistoProducerAlgo::bookMultiClusterHistos
void bookMultiClusterHistos(DQMStore::IBooker &ibook, Histograms &histograms, unsigned layers)
Definition: HGVHistoProducerAlgo.cc:535
HGVHistoProducerAlgo::caloParticleOnLayer::caloParticleId
unsigned int caloParticleId
Definition: HGVHistoProducerAlgo.h:235
HGVHistoProducerAlgo::maxClEnepermultiplicity_
double maxClEnepermultiplicity_
Definition: HGVHistoProducerAlgo.h:302
HGVHistoProducerAlgo::detIdInfoInMultiCluster::operator==
bool operator==(const detIdInfoInMultiCluster &o) const
Definition: HGVHistoProducerAlgo.h:228
HGVHistoProducerAlgo::nintDisSeedToMaxperthickperlayer_
int nintDisSeedToMaxperthickperlayer_
Definition: HGVHistoProducerAlgo.h:287
HGVHistoProducerAlgoHistograms::h_sharedenergy_layercl2caloparticle_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_sharedenergy_layercl2caloparticle_perlayer
Definition: HGVHistoProducerAlgo.h:62
HGVHistoProducerAlgo::minMixedHitsCluster_
double minMixedHitsCluster_
Definition: HGVHistoProducerAlgo.h:256
HGVHistoProducerAlgo::detIdInfoInMultiCluster::fraction
float fraction
Definition: HGVHistoProducerAlgo.h:231
HGVHistoProducerAlgo::useFabsEta_
bool useFabsEta_
Definition: HGVHistoProducerAlgo.h:249
HGVHistoProducerAlgo::minZ_
double minZ_
Definition: HGVHistoProducerAlgo.h:308
HGCalClusteringAlgoBase.h
HGVHistoProducerAlgoHistograms::h_longdepthbarycentre_zplus
std::vector< dqm::reco::MonitorElement * > h_longdepthbarycentre_zplus
Definition: HGVHistoProducerAlgo.h:51
HGVHistoProducerAlgoHistograms::h_energy_vs_score_caloparticle2layercl_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_energy_vs_score_caloparticle2layercl_perlayer
Definition: HGVHistoProducerAlgo.h:57
HGVHistoProducerAlgo::fill_caloparticle_histos
void fill_caloparticle_histos(const Histograms &histograms, int pdgid, const CaloParticle &caloparticle, std::vector< SimVertex > const &simVertices) const
Definition: HGVHistoProducerAlgo.cc:780
HGVHistoProducerAlgo::maxMixedHitsCluster_
double maxMixedHitsCluster_
Definition: HGVHistoProducerAlgo.h:256
HGVHistoProducerAlgoHistograms::h_mixedhitscluster_zminus
std::vector< dqm::reco::MonitorElement * > h_mixedhitscluster_zminus
Definition: HGVHistoProducerAlgo.h:46
HGVHistoProducerAlgoHistograms::h_numMerge_multicl_phi
std::vector< dqm::reco::MonitorElement * > h_numMerge_multicl_phi
Definition: HGVHistoProducerAlgo.h:104
HGVHistoProducerAlgo::nintClEnepermultiplicity_
int nintClEnepermultiplicity_
Definition: HGVHistoProducerAlgo.h:303
HGVHistoProducerAlgo::nintPhi_
int nintPhi_
Definition: HGVHistoProducerAlgo.h:255
HGVHistoProducerAlgo::maxEneClperlay_
double maxEneClperlay_
Definition: HGVHistoProducerAlgo.h:266
HGVHistoProducerAlgo::caloParticleOnLayer::hits_and_fractions
std::vector< std::pair< DetId, float > > hits_and_fractions
Definition: HGVHistoProducerAlgo.h:237
HGVHistoProducerAlgo::nintZpos_
int nintZpos_
Definition: HGVHistoProducerAlgo.h:263
HGVHistoProducerAlgo::minDisToMaxperthickperlayer_
double minDisToMaxperthickperlayer_
Definition: HGVHistoProducerAlgo.h:282
HGVHistoProducerAlgoHistograms::h_numMerge_layercl_phi_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_numMerge_layercl_phi_perlayer
Definition: HGVHistoProducerAlgo.h:75
HGVHistoProducerAlgoHistograms::h_multicluster_phi
std::vector< dqm::reco::MonitorElement * > h_multicluster_phi
Definition: HGVHistoProducerAlgo.h:135
testProducerWithPsetDescEmpty_cfi.x2
x2
Definition: testProducerWithPsetDescEmpty_cfi.py:28
HGVHistoProducerAlgoHistograms::h_numDup_caloparticle_phi_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_numDup_caloparticle_phi_perlayer
Definition: HGVHistoProducerAlgo.h:69
HGVHistoProducerAlgo::minX_
double minX_
Definition: HGVHistoProducerAlgo.h:304
HGVHistoProducerAlgoHistograms::h_caloparticle_eta_Zorigin
std::unordered_map< int, dqm::reco::MonitorElement * > h_caloparticle_eta_Zorigin
Definition: HGVHistoProducerAlgo.h:91
HGVHistoProducerAlgoHistograms::h_distancebetseedandmaxcellvsclusterenergy_perthickperlayer
std::unordered_map< std::string, dqm::reco::MonitorElement * > h_distancebetseedandmaxcellvsclusterenergy_perthickperlayer
Definition: HGVHistoProducerAlgo.h:88
HGCalMultiCluster.h
HGVHistoProducerAlgo::minTotNClsinMCLs_
double minTotNClsinMCLs_
Definition: HGVHistoProducerAlgo.h:294
HGVHistoProducerAlgoHistograms::maxlayerzm
dqm::reco::MonitorElement * maxlayerzm
Definition: HGVHistoProducerAlgo.h:39
HGVHistoProducerAlgoHistograms::h_contmulticlusternum
std::vector< dqm::reco::MonitorElement * > h_contmulticlusternum
Definition: HGVHistoProducerAlgo.h:120
HGVHistoProducerAlgo::~HGVHistoProducerAlgo
~HGVHistoProducerAlgo()
Definition: HGVHistoProducerAlgo.cc:184
HGVHistoProducerAlgoHistograms::h_multicluster_z
std::vector< dqm::reco::MonitorElement * > h_multicluster_z
Definition: HGVHistoProducerAlgo.h:139
HGVHistoProducerAlgoHistograms::h_num_caloparticle_phi
std::vector< dqm::reco::MonitorElement * > h_num_caloparticle_phi
Definition: HGVHistoProducerAlgo.h:114
HGVHistoProducerAlgo::maxTotNClsperthick_
double maxTotNClsperthick_
Definition: HGVHistoProducerAlgo.h:274
HGVHistoProducerAlgo::nintEne_
int nintEne_
Definition: HGVHistoProducerAlgo.h:251
HGVHistoProducerAlgoHistograms::h_score_multicl2caloparticle
std::vector< dqm::reco::MonitorElement * > h_score_multicl2caloparticle
Definition: HGVHistoProducerAlgo.h:97
DQMStore.h
HGVHistoProducerAlgoHistograms::h_multicluster_energy
std::vector< dqm::reco::MonitorElement * > h_multicluster_energy
Definition: HGVHistoProducerAlgo.h:136
HGVHistoProducerAlgoHistograms::h_cellsenedens_perthick
std::unordered_map< int, dqm::reco::MonitorElement * > h_cellsenedens_perthick
Definition: HGVHistoProducerAlgo.h:79
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
HGVHistoProducerAlgoHistograms::h_score_caloparticle2multicl
std::vector< dqm::reco::MonitorElement * > h_score_caloparticle2multicl
Definition: HGVHistoProducerAlgo.h:98
HGVHistoProducerAlgo::HGVHistoProducerAlgo
HGVHistoProducerAlgo(const edm::ParameterSet &pset)
Definition: HGVHistoProducerAlgo.cc:20
HGVHistoProducerAlgoHistograms::h_caloparticle_phi
std::unordered_map< int, dqm::reco::MonitorElement * > h_caloparticle_phi
Definition: HGVHistoProducerAlgo.h:94
HGVHistoProducerAlgoHistograms::h_num_caloparticle_phi_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_num_caloparticle_phi_perlayer
Definition: HGVHistoProducerAlgo.h:68
HGVHistoProducerAlgo
Definition: HGVHistoProducerAlgo.h:147
HGVHistoProducerAlgoHistograms::lastLayerFHzm
dqm::reco::MonitorElement * lastLayerFHzm
Definition: HGVHistoProducerAlgo.h:38
HGVHistoProducerAlgoHistograms::h_caloparticle_pt
std::unordered_map< int, dqm::reco::MonitorElement * > h_caloparticle_pt
Definition: HGVHistoProducerAlgo.h:93
HGVHistoProducerAlgoHistograms::lastLayerFHzp
dqm::reco::MonitorElement * lastLayerFHzp
Definition: HGVHistoProducerAlgo.h:41
HGVHistoProducerAlgoHistograms::h_num_multicl_phi
std::vector< dqm::reco::MonitorElement * > h_num_multicl_phi
Definition: HGVHistoProducerAlgo.h:102
HGVHistoProducerAlgoHistograms::h_sharedenergy_caloparticle2multicl
std::vector< dqm::reco::MonitorElement * > h_sharedenergy_caloparticle2multicl
Definition: HGVHistoProducerAlgo.h:106
HGVHistoProducerAlgo::minEneClperlay_
double minEneClperlay_
Definition: HGVHistoProducerAlgo.h:266
edm::Handle
Definition: AssociativeIterator.h:50
HGVHistoProducerAlgoHistograms::h_caloparticle_eta
std::unordered_map< int, dqm::reco::MonitorElement * > h_caloparticle_eta
Definition: HGVHistoProducerAlgo.h:90
HGVHistoProducerAlgoHistograms::h_score_layercl2caloparticle_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_score_layercl2caloparticle_perlayer
Definition: HGVHistoProducerAlgo.h:55
HGVHistoProducerAlgo::nintMCLSharedEneFrac_
int nintMCLSharedEneFrac_
Definition: HGVHistoProducerAlgo.h:273
HGVHistoProducerAlgo::minSizeCLsinMCLs_
double minSizeCLsinMCLs_
Definition: HGVHistoProducerAlgo.h:300
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
HGVHistoProducerAlgo::nintDisToMaxperthickperlayerenewei_
int nintDisToMaxperthickperlayerenewei_
Definition: HGVHistoProducerAlgo.h:285
HGVHistoProducerAlgoHistograms::h_clusternum_in_multicluster_perlayer
std::vector< std::unordered_map< int, dqm::reco::MonitorElement * > > h_clusternum_in_multicluster_perlayer
Definition: HGVHistoProducerAlgo.h:123
HGVHistoProducerAlgoHistograms::lastLayerEEzm
dqm::reco::MonitorElement * lastLayerEEzm
Definition: HGVHistoProducerAlgo.h:37
HGVHistoProducerAlgo::nintEneCl_
int nintEneCl_
Definition: HGVHistoProducerAlgo.h:259
HGVHistoProducerAlgo::maxDisToMaxperthickperlayerenewei_
double maxDisToMaxperthickperlayerenewei_
Definition: HGVHistoProducerAlgo.h:284
HGVHistoProducerAlgoHistograms::h_clusternum_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_clusternum_perlayer
Definition: HGVHistoProducerAlgo.h:53
HGVHistoProducerAlgoHistograms::h_multiclusternum
std::vector< dqm::reco::MonitorElement * > h_multiclusternum
Definition: HGVHistoProducerAlgo.h:119
HGVHistoProducerAlgo::maxEneCl_
double maxEneCl_
Definition: HGVHistoProducerAlgo.h:258
DetId
Definition: DetId.h:17
HGVHistoProducerAlgo::setRecHitTools
void setRecHitTools(std::shared_ptr< hgcal::RecHitTools > recHitTools)
Definition: HGVHistoProducerAlgo.cc:2215
HGVHistoProducerAlgo::minLongDepBary_
double minLongDepBary_
Definition: HGVHistoProducerAlgo.h:260
HGVHistoProducerAlgo::maxZpos_
double maxZpos_
Definition: HGVHistoProducerAlgo.h:262
HGVHistoProducerAlgoHistograms::h_multiplicityOfLCinMCL
std::vector< dqm::reco::MonitorElement * > h_multiplicityOfLCinMCL
Definition: HGVHistoProducerAlgo.h:124
testProducerWithPsetDescEmpty_cfi.x1
x1
Definition: testProducerWithPsetDescEmpty_cfi.py:33
testProducerWithPsetDescEmpty_cfi.y1
y1
Definition: testProducerWithPsetDescEmpty_cfi.py:29
HGVHistoProducerAlgoHistograms::h_denom_layercl_eta_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_denom_layercl_eta_perlayer
Definition: HGVHistoProducerAlgo.h:73
HGVHistoProducerAlgo::nintTotNMCLs_
int nintTotNMCLs_
Definition: HGVHistoProducerAlgo.h:293
HGVHistoProducerAlgoHistograms::h_numDup_caloparticle_eta_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_numDup_caloparticle_eta_perlayer
Definition: HGVHistoProducerAlgo.h:66
HGVHistoProducerAlgo::nintTotNClsinMCLs_
int nintTotNClsinMCLs_
Definition: HGVHistoProducerAlgo.h:295
HGVHistoProducerAlgoHistograms::h_sharedenergy_caloparticle2layercl_vs_eta_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_sharedenergy_caloparticle2layercl_vs_eta_perlayer
Definition: HGVHistoProducerAlgo.h:60
HGVHistoProducerAlgo::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition: HGVHistoProducerAlgo.h:150
HGCRecHit.h
HGVHistoProducerAlgo::multiClusters_to_CaloParticles
void multiClusters_to_CaloParticles(const Histograms &histograms, int count, const std::vector< reco::HGCalMultiCluster > &multiClusters, std::vector< CaloParticle > const &cP, std::vector< size_t > const &cPIndices, std::vector< size_t > const &cPSelectedIndices, std::unordered_map< DetId, const HGCRecHit * > const &, unsigned layers) const
Definition: HGVHistoProducerAlgo.cc:1408
dqm::legacy::DQMStore
Definition: DQMStore.h:727
HGVHistoProducerAlgoHistograms::h_clusternum_in_multicluster_vs_layer
std::vector< dqm::reco::MonitorElement * > h_clusternum_in_multicluster_vs_layer
Definition: HGVHistoProducerAlgo.h:132
HGVHistoProducerAlgo::maxMplofLCs_
double maxMplofLCs_
Definition: HGVHistoProducerAlgo.h:298
HGVHistoProducerAlgo::nintDisToSeedperthickperlayer_
int nintDisToSeedperthickperlayer_
Definition: HGVHistoProducerAlgo.h:279
HGVHistoProducerAlgo::minEneCl_
double minEneCl_
Definition: HGVHistoProducerAlgo.h:258
HGVHistoProducerAlgoHistograms::h_sharedenergy_caloparticle2layercl_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_sharedenergy_caloparticle2layercl_perlayer
Definition: HGVHistoProducerAlgo.h:59
hgcal_clustering::Density
std::map< DetId, float > Density
Definition: HGCalClusteringAlgoBase.h:43
PVValHelper::eta
Definition: PVValidationHelpers.h:69
HGVHistoProducerAlgoHistograms::h_multicluster_pt
std::vector< dqm::reco::MonitorElement * > h_multicluster_pt
Definition: HGVHistoProducerAlgo.h:133
HGVHistoProducerAlgo::maxLongDepBary_
double maxLongDepBary_
Definition: HGVHistoProducerAlgo.h:260
HGVHistoProducerAlgoHistograms::h_numMerge_layercl_eta_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_numMerge_layercl_eta_perlayer
Definition: HGVHistoProducerAlgo.h:72
reco::CaloCluster
Definition: CaloCluster.h:31
SimVertex.h
reco::CaloClusterCollection
std::vector< CaloCluster > CaloClusterCollection
collection of CaloCluster objects
Definition: CaloClusterFwd.h:19
HGVHistoProducerAlgoHistograms::h_sharedenergy_multicl2caloparticle_vs_phi
std::vector< dqm::reco::MonitorElement * > h_sharedenergy_multicl2caloparticle_vs_phi
Definition: HGVHistoProducerAlgo.h:108
HGVHistoProducerAlgoHistograms::h_cellAssociation_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_cellAssociation_perlayer
Definition: HGVHistoProducerAlgo.h:77
HGVHistoProducerAlgoHistograms::h_multiplicity_zplus_numberOfEventsHistogram
std::vector< dqm::reco::MonitorElement * > h_multiplicity_zplus_numberOfEventsHistogram
Definition: HGVHistoProducerAlgo.h:127
HGVHistoProducerAlgo::nintMplofLCs_
int nintMplofLCs_
Definition: HGVHistoProducerAlgo.h:299
HGVHistoProducerAlgo::maxDisToSeedperthickperlayerenewei_
double maxDisToSeedperthickperlayerenewei_
Definition: HGVHistoProducerAlgo.h:280
CaloClusterFwd.h
submitPVResolutionJobs.count
count
Definition: submitPVResolutionJobs.py:352
HGVHistoProducerAlgo::bookClusterHistos
void bookClusterHistos(DQMStore::IBooker &ibook, Histograms &histograms, unsigned layers, std::vector< int > thicknesses, std::string pathtomatbudfile)
Definition: HGVHistoProducerAlgo.cc:208
HGVHistoProducerAlgo::DQMStore
dqm::legacy::DQMStore DQMStore
Definition: HGVHistoProducerAlgo.h:149
HGVHistoProducerAlgo::getEta
double getEta(double eta) const
Definition: HGVHistoProducerAlgo.cc:2242
HGVHistoProducerAlgo::minClEneperthickperlayer_
double minClEneperthickperlayer_
Definition: HGVHistoProducerAlgo.h:288
HGVHistoProducerAlgo::minTotNClsinMCLsperlayer_
double minTotNClsinMCLsperlayer_
Definition: HGVHistoProducerAlgo.h:296
HGVHistoProducerAlgo::nintSizeCLsinMCLs_
int nintSizeCLsinMCLs_
Definition: HGVHistoProducerAlgo.h:301
HGVHistoProducerAlgo::minClEnepermultiplicity_
double minClEnepermultiplicity_
Definition: HGVHistoProducerAlgo.h:302
HGVHistoProducerAlgo::maxTotNClsinMCLsperlayer_
double maxTotNClsinMCLsperlayer_
Definition: HGVHistoProducerAlgo.h:296
HGVHistoProducerAlgo::detIdInfoInMultiCluster::clusterId
long unsigned int clusterId
Definition: HGVHistoProducerAlgo.h:230
HGVHistoProducerAlgo::nintZ_
int nintZ_
Definition: HGVHistoProducerAlgo.h:309
HGVHistoProducerAlgo::nintPt_
int nintPt_
Definition: HGVHistoProducerAlgo.h:253
HGVHistoProducerAlgo::nintTotNClsperlay_
int nintTotNClsperlay_
Definition: HGVHistoProducerAlgo.h:265
HGVHistoProducerAlgoHistograms::h_num_layercl_phi_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_num_layercl_phi_perlayer
Definition: HGVHistoProducerAlgo.h:74
HGVHistoProducerAlgo::nintSharedEneFrac_
int nintSharedEneFrac_
Definition: HGVHistoProducerAlgo.h:271
HGVHistoProducerAlgo::maxPt_
double maxPt_
Definition: HGVHistoProducerAlgo.h:252
HGVHistoProducerAlgoHistograms::h_distancetomaxcell_perthickperlayer_eneweighted
std::unordered_map< std::string, dqm::reco::MonitorElement * > h_distancetomaxcell_perthickperlayer_eneweighted
Definition: HGVHistoProducerAlgo.h:85
HGVHistoProducerAlgo::minSharedEneFrac_
double minSharedEneFrac_
Definition: HGVHistoProducerAlgo.h:270
HGVHistoProducerAlgo::nintScore_
int nintScore_
Definition: HGVHistoProducerAlgo.h:269
HGVHistoProducerAlgo::fill_cluster_histos
void fill_cluster_histos(const Histograms &histograms, int count, const reco::CaloCluster &cluster) const
Definition: HGVHistoProducerAlgo.cc:804
HGVHistoProducerAlgo::maxDisToSeedperthickperlayer_
double maxDisToSeedperthickperlayer_
Definition: HGVHistoProducerAlgo.h:278
HGVHistoProducerAlgo::recHitTools_
std::shared_ptr< hgcal::RecHitTools > recHitTools_
Definition: HGVHistoProducerAlgo.h:244
HGVHistoProducerAlgoHistograms::h_score_caloparticle2layercl_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_score_caloparticle2layercl_perlayer
Definition: HGVHistoProducerAlgo.h:56
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HGVHistoProducerAlgo::minDisToSeedperthickperlayer_
double minDisToSeedperthickperlayer_
Definition: HGVHistoProducerAlgo.h:278
HGVHistoProducerAlgoHistograms::h_denom_caloparticle_phi_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_denom_caloparticle_phi_perlayer
Definition: HGVHistoProducerAlgo.h:70
HGVHistoProducerAlgoHistograms::maxlayerzp
dqm::reco::MonitorElement * maxlayerzp
Definition: HGVHistoProducerAlgo.h:42
HGVHistoProducerAlgo::distance
double distance(const double x1, const double y1, const double x2, const double y2) const
Definition: HGVHistoProducerAlgo.cc:2208
HGVHistoProducerAlgo::nintCellsEneDensperthick_
int nintCellsEneDensperthick_
Definition: HGVHistoProducerAlgo.h:291
HGVHistoProducerAlgo::minPhi_
double minPhi_
Definition: HGVHistoProducerAlgo.h:254
HGVHistoProducerAlgoHistograms::h_energy_vs_score_caloparticle2multicl
std::vector< dqm::reco::MonitorElement * > h_energy_vs_score_caloparticle2multicl
Definition: HGVHistoProducerAlgo.h:100
bsc_activity_cfg.clusters
clusters
Definition: bsc_activity_cfg.py:36
testProducerWithPsetDescEmpty_cfi.y2
y2
Definition: testProducerWithPsetDescEmpty_cfi.py:30
HGVHistoProducerAlgo::caloParticleOnLayer::energy
float energy
Definition: HGVHistoProducerAlgo.h:236
HGVHistoProducerAlgoHistograms::h_sharedenergy_multicl2caloparticle
std::vector< dqm::reco::MonitorElement * > h_sharedenergy_multicl2caloparticle
Definition: HGVHistoProducerAlgo.h:105
HGVHistoProducerAlgoHistograms::h_multiplicityOfLCinMCL_vs_layercluster_zplus
std::vector< dqm::reco::MonitorElement * > h_multiplicityOfLCinMCL_vs_layercluster_zplus
Definition: HGVHistoProducerAlgo.h:130
HGCRecHitCollections.h
edm::ParameterSet
Definition: ParameterSet.h:47
HGVHistoProducerAlgo::maxClEneperthickperlayer_
double maxClEneperthickperlayer_
Definition: HGVHistoProducerAlgo.h:288
HGVHistoProducerAlgoHistograms::h_num_caloparticle_eta_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_num_caloparticle_eta_perlayer
Definition: HGVHistoProducerAlgo.h:65
CaloParticle
Definition: CaloParticle.h:16
HGVHistoProducerAlgoHistograms::h_sharedenergy_layercl2caloparticle_vs_phi_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_sharedenergy_layercl2caloparticle_vs_phi_perlayer
Definition: HGVHistoProducerAlgo.h:64
HGVHistoProducerAlgoHistograms::h_multiplicity_zminus_numberOfEventsHistogram
std::vector< dqm::reco::MonitorElement * > h_multiplicity_zminus_numberOfEventsHistogram
Definition: HGVHistoProducerAlgo.h:126
CaloParticle.h
HGVHistoProducerAlgo::nintEneClperlay_
int nintEneClperlay_
Definition: HGVHistoProducerAlgo.h:267
HGVHistoProducerAlgo::maxMCLSharedEneFrac_
double maxMCLSharedEneFrac_
Definition: HGVHistoProducerAlgo.h:272
HGVHistoProducerAlgo::detIdInfoInMultiCluster
Definition: HGVHistoProducerAlgo.h:227
HGVHistoProducerAlgo::maxZ_
double maxZ_
Definition: HGVHistoProducerAlgo.h:308
HGVHistoProducerAlgo::nintTotNClsinMCLsperlayer_
int nintTotNClsinMCLsperlayer_
Definition: HGVHistoProducerAlgo.h:297
HGVHistoProducerAlgo::nintClEneperthickperlayer_
int nintClEneperthickperlayer_
Definition: HGVHistoProducerAlgo.h:289
HGVHistoProducerAlgo::maxSharedEneFrac_
double maxSharedEneFrac_
Definition: HGVHistoProducerAlgo.h:270
HGVHistoProducerAlgo::detIdInfoInCluster
Definition: HGVHistoProducerAlgo.h:221
HGVHistoProducerAlgoHistograms::h_longdepthbarycentre_zminus
std::vector< dqm::reco::MonitorElement * > h_longdepthbarycentre_zminus
Definition: HGVHistoProducerAlgo.h:50
HGVHistoProducerAlgoHistograms::h_denom_layercl_phi_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_denom_layercl_phi_perlayer
Definition: HGVHistoProducerAlgo.h:76
HGVHistoProducerAlgo::fill_generic_cluster_histos
void fill_generic_cluster_histos(const Histograms &histograms, int count, edm::Handle< reco::CaloClusterCollection > clusterHandle, const reco::CaloClusterCollection &clusters, const Density &densities, edm::Handle< std::vector< CaloParticle >> caloParticleHandle, std::vector< CaloParticle > const &cP, std::vector< size_t > const &cPIndices, std::vector< size_t > const &cPSelectedIndices, std::unordered_map< DetId, const HGCRecHit * > const &, std::map< double, double > cummatbudg, unsigned layers, std::vector< int > thicknesses, edm::Handle< hgcal::LayerClusterToCaloParticleAssociator > &LCAssocByEnergyScoreHandle) const
Definition: HGVHistoProducerAlgo.cc:1082
HGVHistoProducerAlgo::minEta_
double minEta_
Definition: HGVHistoProducerAlgo.h:247
HGVHistoProducerAlgoHistograms::h_multicluster_lastlayer
std::vector< dqm::reco::MonitorElement * > h_multicluster_lastlayer
Definition: HGVHistoProducerAlgo.h:141
HGVHistoProducerAlgoHistograms::h_noncontmulticlusternum
std::vector< dqm::reco::MonitorElement * > h_noncontmulticlusternum
Definition: HGVHistoProducerAlgo.h:121
HGVHistoProducerAlgo::maxPhi_
double maxPhi_
Definition: HGVHistoProducerAlgo.h:254
HGVHistoProducerAlgoHistograms::h_num_caloparticle_eta
std::vector< dqm::reco::MonitorElement * > h_num_caloparticle_eta
Definition: HGVHistoProducerAlgo.h:113
HGVHistoProducerAlgo::detIdInfoInCluster::clusterId
long unsigned int clusterId
Definition: HGVHistoProducerAlgo.h:222
HGVHistoProducerAlgoHistograms::h_denom_multicl_phi
std::vector< dqm::reco::MonitorElement * > h_denom_multicl_phi
Definition: HGVHistoProducerAlgo.h:112
HGVHistoProducerAlgo::maxX_
double maxX_
Definition: HGVHistoProducerAlgo.h:304
HGVHistoProducerAlgoHistograms::h_numMerge_multicl_eta
std::vector< dqm::reco::MonitorElement * > h_numMerge_multicl_eta
Definition: HGVHistoProducerAlgo.h:103
HGVHistoProducerAlgoHistograms::h_energyclustered_zminus
std::vector< dqm::reco::MonitorElement * > h_energyclustered_zminus
Definition: HGVHistoProducerAlgo.h:48
histograms
Definition: histograms.py:1
HGVHistoProducerAlgo::minPt_
double minPt_
Definition: HGVHistoProducerAlgo.h:252
HGVHistoProducerAlgo::nintDisToMaxperthickperlayer_
int nintDisToMaxperthickperlayer_
Definition: HGVHistoProducerAlgo.h:283
HGVHistoProducerAlgoHistograms::h_sharedenergy_caloparticle2multicl_vs_phi
std::vector< dqm::reco::MonitorElement * > h_sharedenergy_caloparticle2multicl_vs_phi
Definition: HGVHistoProducerAlgo.h:110
HGVHistoProducerAlgoHistograms::h_numDup_multicl_eta
std::vector< dqm::reco::MonitorElement * > h_numDup_multicl_eta
Definition: HGVHistoProducerAlgo.h:115
HGVHistoProducerAlgo::nintTotNClsperthick_
int nintTotNClsperthick_
Definition: HGVHistoProducerAlgo.h:275
HGVHistoProducerAlgo::nintMixedHitsCluster_
int nintMixedHitsCluster_
Definition: HGVHistoProducerAlgo.h:257
HGVHistoProducerAlgoHistograms::h_caloparticle_energy
std::unordered_map< int, dqm::reco::MonitorElement * > h_caloparticle_energy
Definition: HGVHistoProducerAlgo.h:92
HGVHistoProducerAlgoHistograms::h_multiplicityOfLCinMCL_vs_layerclusterenergy
std::vector< dqm::reco::MonitorElement * > h_multiplicityOfLCinMCL_vs_layerclusterenergy
Definition: HGVHistoProducerAlgo.h:131
HGVHistoProducerAlgoHistograms::h_multiplicityOfLCinMCL_vs_layercluster
std::vector< dqm::reco::MonitorElement * > h_multiplicityOfLCinMCL_vs_layercluster
Definition: HGVHistoProducerAlgo.h:128
HGVHistoProducerAlgo::maxTotNClsperlay_
double maxTotNClsperlay_
Definition: HGVHistoProducerAlgo.h:264
HGVHistoProducerAlgo::minY_
double minY_
Definition: HGVHistoProducerAlgo.h:306
HGVHistoProducerAlgo::detIdInfoInCluster::fraction
float fraction
Definition: HGVHistoProducerAlgo.h:224
HGVHistoProducerAlgoHistograms::h_multicluster_x
std::vector< dqm::reco::MonitorElement * > h_multicluster_x
Definition: HGVHistoProducerAlgo.h:137
HGVHistoProducerAlgo::maxTotNcellsperthickperlayer_
double maxTotNcellsperthickperlayer_
Definition: HGVHistoProducerAlgo.h:276
HGVHistoProducerAlgo::bookCaloParticleHistos
void bookCaloParticleHistos(DQMStore::IBooker &ibook, Histograms &histograms, int pdgid)
Definition: HGVHistoProducerAlgo.cc:195
HGCalDetId.h
HGVHistoProducerAlgo::maxDisSeedToMaxperthickperlayer_
double maxDisSeedToMaxperthickperlayer_
Definition: HGVHistoProducerAlgo.h:286
HGVHistoProducerAlgo::nintEta_
int nintEta_
Definition: HGVHistoProducerAlgo.h:248
HGVHistoProducerAlgoHistograms::h_energy_vs_score_layercl2caloparticle_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_energy_vs_score_layercl2caloparticle_perlayer
Definition: HGVHistoProducerAlgo.h:58
HGVHistoProducerAlgo::maxCellsEneDensperthick_
double maxCellsEneDensperthick_
Definition: HGVHistoProducerAlgo.h:290
HGVHistoProducerAlgoHistograms::lastLayerEEzp
dqm::reco::MonitorElement * lastLayerEEzp
Definition: HGVHistoProducerAlgo.h:40
HGVHistoProducerAlgoHistograms::h_distancebetseedandmaxcell_perthickperlayer
std::unordered_map< std::string, dqm::reco::MonitorElement * > h_distancebetseedandmaxcell_perthickperlayer
Definition: HGVHistoProducerAlgo.h:86
HGVHistoProducerAlgoHistograms::h_cluster_eta
std::vector< dqm::reco::MonitorElement * > h_cluster_eta
Definition: HGVHistoProducerAlgo.h:45
HGVHistoProducerAlgo::maxTotNMCLs_
double maxTotNMCLs_
Definition: HGVHistoProducerAlgo.h:292
HGVHistoProducerAlgo::nintY_
int nintY_
Definition: HGVHistoProducerAlgo.h:307
HGVHistoProducerAlgo::minTotNClsperlay_
double minTotNClsperlay_
Definition: HGVHistoProducerAlgo.h:264
HGVHistoProducerAlgo::minDisToMaxperthickperlayerenewei_
double minDisToMaxperthickperlayerenewei_
Definition: HGVHistoProducerAlgo.h:284
HGVHistoProducerAlgoHistograms::h_multicluster_y
std::vector< dqm::reco::MonitorElement * > h_multicluster_y
Definition: HGVHistoProducerAlgo.h:138
HGVHistoProducerAlgoHistograms::h_num_multicl_eta
std::vector< dqm::reco::MonitorElement * > h_num_multicl_eta
Definition: HGVHistoProducerAlgo.h:101
HGVHistoProducerAlgo::fill_multi_cluster_histos
void fill_multi_cluster_histos(const Histograms &histograms, int count, const std::vector< reco::HGCalMultiCluster > &multiClusters, std::vector< CaloParticle > const &cP, std::vector< size_t > const &cPIndices, std::vector< size_t > const &cPSelectedIndices, std::unordered_map< DetId, const HGCRecHit * > const &, unsigned layers) const
Definition: HGVHistoProducerAlgo.cc:2014
HGVHistoProducerAlgoHistograms::h_energy_vs_score_multicl2caloparticle
std::vector< dqm::reco::MonitorElement * > h_energy_vs_score_multicl2caloparticle
Definition: HGVHistoProducerAlgo.h:99
HGVHistoProducerAlgo::minCellsEneDensperthick_
double minCellsEneDensperthick_
Definition: HGVHistoProducerAlgo.h:290
HGVHistoProducerAlgo::caloParticleOnLayer::layerClusterIdToEnergyAndScore
std::unordered_map< int, std::pair< float, float > > layerClusterIdToEnergyAndScore
Definition: HGVHistoProducerAlgo.h:238
HGVHistoProducerAlgo::minZpos_
double minZpos_
Definition: HGVHistoProducerAlgo.h:262
HGVHistoProducerAlgo::minEne_
double minEne_
Definition: HGVHistoProducerAlgo.h:250
HGVHistoProducerAlgoHistograms::h_clusternum_perthick
std::unordered_map< int, dqm::reco::MonitorElement * > h_clusternum_perthick
Definition: HGVHistoProducerAlgo.h:78
EventSetup.h
HGVHistoProducerAlgo::findmaxhit
DetId findmaxhit(const reco::CaloCluster &cluster, std::unordered_map< DetId, const HGCRecHit * > const &) const
Definition: HGVHistoProducerAlgo.cc:2219
HGVHistoProducerAlgoHistograms::h_sharedenergy_caloparticle2layercl_vs_phi_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_sharedenergy_caloparticle2layercl_vs_phi_perlayer
Definition: HGVHistoProducerAlgo.h:61
HGVHistoProducerAlgoHistograms::h_multicluster_firstlayer
std::vector< dqm::reco::MonitorElement * > h_multicluster_firstlayer
Definition: HGVHistoProducerAlgo.h:140
HGVHistoProducerAlgo::minTotNcellsperthickperlayer_
double minTotNcellsperthickperlayer_
Definition: HGVHistoProducerAlgo.h:276
HGVHistoProducerAlgoHistograms::h_denom_multicl_eta
std::vector< dqm::reco::MonitorElement * > h_denom_multicl_eta
Definition: HGVHistoProducerAlgo.h:111
HGVHistoProducerAlgoHistograms::h_multicluster_eta
std::vector< dqm::reco::MonitorElement * > h_multicluster_eta
Definition: HGVHistoProducerAlgo.h:134
dqm::implementation::IBooker
Definition: DQMStore.h:43
HGVHistoProducerAlgoHistograms::h_sharedenergy_layercl2caloparticle_vs_eta_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_sharedenergy_layercl2caloparticle_vs_eta_perlayer
Definition: HGVHistoProducerAlgo.h:63
HGVHistoProducerAlgo::distance2
double distance2(const double x1, const double y1, const double x2, const double y2) const
Definition: HGVHistoProducerAlgo.cc:2200
HGVHistoProducerAlgo::maxDisToMaxperthickperlayer_
double maxDisToMaxperthickperlayer_
Definition: HGVHistoProducerAlgo.h:282
HGVHistoProducerAlgo::maxEne_
double maxEne_
Definition: HGVHistoProducerAlgo.h:250
HGVHistoProducerAlgoHistograms::h_multiplicityOfLCinMCL_vs_layercluster_zminus
std::vector< dqm::reco::MonitorElement * > h_multiplicityOfLCinMCL_vs_layercluster_zminus
Definition: HGVHistoProducerAlgo.h:129
ConsumesCollector.h
HGVHistoProducerAlgo::maxScore_
double maxScore_
Definition: HGVHistoProducerAlgo.h:268
HGCalValidator_cfi.simVertices
simVertices
Definition: HGCalValidator_cfi.py:43
LayerClusterToCaloParticleAssociator.h
ParameterSet.h
HGVHistoProducerAlgo::nintDisToSeedperthickperlayerenewei_
int nintDisToSeedperthickperlayerenewei_
Definition: HGVHistoProducerAlgo.h:281
HGVHistoProducerAlgo::detIdInfoInMultiCluster::multiclusterId
unsigned int multiclusterId
Definition: HGVHistoProducerAlgo.h:228
HGVHistoProducerAlgoHistograms::h_distancetoseedcell_perthickperlayer_eneweighted
std::unordered_map< std::string, dqm::reco::MonitorElement * > h_distancetoseedcell_perthickperlayer_eneweighted
Definition: HGVHistoProducerAlgo.h:83
HGVHistoProducerAlgoHistograms::h_multiplicity_numberOfEventsHistogram
std::vector< dqm::reco::MonitorElement * > h_multiplicity_numberOfEventsHistogram
Definition: HGVHistoProducerAlgo.h:125
HGVHistoProducerAlgoHistograms::h_energyclustered_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_energyclustered_perlayer
Definition: HGVHistoProducerAlgo.h:54
HGVHistoProducerAlgo::caloParticleOnLayer
Definition: HGVHistoProducerAlgo.h:234
HGVHistoProducerAlgo::nintX_
int nintX_
Definition: HGVHistoProducerAlgo.h:305
EgammaValidation_cff.pdgid
pdgid
Definition: EgammaValidation_cff.py:30
HGVHistoProducerAlgo::minTotNClsperthick_
double minTotNClsperthick_
Definition: HGVHistoProducerAlgo.h:274
HGVHistoProducerAlgoHistograms::h_multicluster_layersnum
std::vector< dqm::reco::MonitorElement * > h_multicluster_layersnum
Definition: HGVHistoProducerAlgo.h:142
HGVHistoProducerAlgo::minTotNMCLs_
double minTotNMCLs_
Definition: HGVHistoProducerAlgo.h:292
HGVHistoProducerAlgoHistograms
Definition: HGVHistoProducerAlgo.h:30
HGVHistoProducerAlgo::fill_info_histos
void fill_info_histos(const Histograms &histograms, unsigned layers) const
Definition: HGVHistoProducerAlgo.cc:767
HGVHistoProducerAlgoHistograms::h_sharedenergy_multicl2caloparticle_vs_eta
std::vector< dqm::reco::MonitorElement * > h_sharedenergy_multicl2caloparticle_vs_eta
Definition: HGVHistoProducerAlgo.h:107
HGVHistoProducerAlgo::minScore_
double minScore_
Definition: HGVHistoProducerAlgo.h:268
hgcalTopologyTester_cfi.layers
layers
Definition: hgcalTopologyTester_cfi.py:8
HGVHistoProducerAlgo::minDisSeedToMaxperthickperlayer_
double minDisSeedToMaxperthickperlayer_
Definition: HGVHistoProducerAlgo.h:286
HGVHistoProducerAlgo::minDisToSeedperthickperlayerenewei_
double minDisToSeedperthickperlayerenewei_
Definition: HGVHistoProducerAlgo.h:280
RecHitTools.h
HGVHistoProducerAlgoHistograms::h_distancetomaxcell_perthickperlayer
std::unordered_map< std::string, dqm::reco::MonitorElement * > h_distancetomaxcell_perthickperlayer
Definition: HGVHistoProducerAlgo.h:84
HGVHistoProducerAlgoHistograms::h_num_layercl_eta_perlayer
std::unordered_map< int, dqm::reco::MonitorElement * > h_num_layercl_eta_perlayer
Definition: HGVHistoProducerAlgo.h:71
HGVHistoProducerAlgo::detIdInfoInCluster::operator==
bool operator==(const detIdInfoInCluster &o) const
Definition: HGVHistoProducerAlgo.h:222
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
HGVHistoProducerAlgo::layerClusters_to_CaloParticles
void layerClusters_to_CaloParticles(const Histograms &histograms, edm::Handle< reco::CaloClusterCollection > clusterHandle, const reco::CaloClusterCollection &clusters, edm::Handle< std::vector< CaloParticle >> caloParticleHandle, std::vector< CaloParticle > const &cP, std::vector< size_t > const &cPIndices, std::vector< size_t > const &cPSelectedIndices, std::unordered_map< DetId, const HGCRecHit * > const &, unsigned layers, const edm::Handle< hgcal::LayerClusterToCaloParticleAssociator > &LCAssocByEnergyScoreHandle) const
Definition: HGVHistoProducerAlgo.cc:811
HGVHistoProducerAlgo::minMplofLCs_
double minMplofLCs_
Definition: HGVHistoProducerAlgo.h:298
HGVHistoProducerAlgo::minMCLSharedEneFrac_
double minMCLSharedEneFrac_
Definition: HGVHistoProducerAlgo.h:272
Density
hgcal_clustering::Density Density
Definition: HGCalImagingAlgo.h:29
HGVHistoProducerAlgoHistograms::h_cellsnum_perthickperlayer
std::unordered_map< std::string, dqm::reco::MonitorElement * > h_cellsnum_perthickperlayer
Definition: HGVHistoProducerAlgo.h:81
HGVHistoProducerAlgoHistograms::h_numDup_multicl_phi
std::vector< dqm::reco::MonitorElement * > h_numDup_multicl_phi
Definition: HGVHistoProducerAlgo.h:116
HGVHistoProducerAlgoHistograms::h_sharedenergy_caloparticle2multicl_vs_eta
std::vector< dqm::reco::MonitorElement * > h_sharedenergy_caloparticle2multicl_vs_eta
Definition: HGVHistoProducerAlgo.h:109
HGVHistoProducerAlgo::maxTotNClsinMCLs_
double maxTotNClsinMCLs_
Definition: HGVHistoProducerAlgo.h:294