CMS 3D CMS Logo

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

#include <EcalPileUpDepMonitor.h>

Inheritance diagram for EcalPileUpDepMonitor:
DQMEDAnalyzer edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

Public Member Functions

 EcalPileUpDepMonitor (const edm::ParameterSet &ps)
 Constructor. More...
 
 ~EcalPileUpDepMonitor () override
 Destructor. More...
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
 EDProducer ()=default
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

Protected Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 Analyze. More...
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 

Private Attributes

edm::EDGetTokenT< edm::View< reco::CaloCluster > > basicClusterCollection_
 
edm::EDGetTokenT< edm::View< reco::CaloCluster > > basicClusterCollection_EB_
 
edm::EDGetTokenT< edm::View< reco::CaloCluster > > basicClusterCollection_EE_
 
MonitorElementbcEB_PV
 
MonitorElementbcEE_PV
 
edm::ESHandle< CaloTopologycaloTop
 
edm::EDGetTokenT< reco::GsfElectronCollectionEleTag_
 
MonitorElementemIso
 
MonitorElementemIso_PV
 
edm::ESHandle< CaloGeometrygeomH
 
MonitorElementr9_EB
 
MonitorElementr9_EE
 
edm::EDGetTokenT< EcalRecHitCollectionRecHitCollection_EB_
 
edm::EDGetTokenT< EcalRecHitCollectionRecHitCollection_EE_
 
MonitorElementrecHitEtEB
 
MonitorElementrecHitEtEB_PV
 
MonitorElementrecHitEtEE
 
MonitorElementrecHitEtEE_PV
 
MonitorElementscEB_PV
 
MonitorElementscEE_PV
 
MonitorElementscEtEB_PV
 
MonitorElementscEtEE_PV
 
MonitorElementscHitEtEB
 
MonitorElementscHitEtEE
 
MonitorElementscSigmaIetaIeta_EB
 
MonitorElementscSigmaIetaIeta_EE
 
MonitorElementscSigmaIetaIphi_EB
 
MonitorElementscSigmaIetaIphi_EE
 
edm::EDGetTokenT< reco::SuperClusterCollectionsuperClusterCollection_EB_
 
edm::EDGetTokenT< reco::SuperClusterCollectionsuperClusterCollection_EE_
 
edm::EDGetTokenT< reco::VertexCollectionVertexCollection_
 

Additional Inherited Members

- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static void globalEndJob (DQMEDAnalyzerGlobalCache const *)
 
static void globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context)
 
static void globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context)
 
static std::unique_ptr< DQMEDAnalyzerGlobalCacheinitializeGlobalCache (edm::ParameterSet const &)
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

Definition at line 26 of file EcalPileUpDepMonitor.h.

Constructor & Destructor Documentation

◆ EcalPileUpDepMonitor()

EcalPileUpDepMonitor::EcalPileUpDepMonitor ( const edm::ParameterSet ps)

Constructor.

Definition at line 33 of file EcalPileUpDepMonitor.cc.

33  {
34  VertexCollection_ = consumes<reco::VertexCollection>(ps.getParameter<edm::InputTag>("VertexCollection"));
35 
36  if (ps.existsAs<edm::InputTag>("basicClusterCollection") &&
37  !ps.getParameter<edm::InputTag>("basicClusterCollection").label().empty())
39  consumes<edm::View<reco::CaloCluster>>(ps.getParameter<edm::InputTag>("basicClusterCollection"));
40  else {
42  consumes<edm::View<reco::CaloCluster>>(ps.getParameter<edm::InputTag>("basicClusterCollection_EE"));
44  consumes<edm::View<reco::CaloCluster>>(ps.getParameter<edm::InputTag>("basicClusterCollection_EB"));
45  }
47  consumes<reco::SuperClusterCollection>(ps.getParameter<edm::InputTag>("superClusterCollection_EB"));
49  consumes<reco::SuperClusterCollection>(ps.getParameter<edm::InputTag>("superClusterCollection_EE"));
50 
51  RecHitCollection_EB_ = consumes<EcalRecHitCollection>(ps.getParameter<edm::InputTag>("RecHitCollection_EB"));
52  RecHitCollection_EE_ = consumes<EcalRecHitCollection>(ps.getParameter<edm::InputTag>("RecHitCollection_EE"));
53  EleTag_ = consumes<reco::GsfElectronCollection>(ps.getParameter<edm::InputTag>("EleTag"));
54 }

References basicClusterCollection_, basicClusterCollection_EB_, basicClusterCollection_EE_, EleTag_, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), edm::InputTag::label(), RecHitCollection_EB_, RecHitCollection_EE_, superClusterCollection_EB_, superClusterCollection_EE_, and VertexCollection_.

◆ ~EcalPileUpDepMonitor()

EcalPileUpDepMonitor::~EcalPileUpDepMonitor ( )
override

Destructor.

Definition at line 56 of file EcalPileUpDepMonitor.cc.

56 {}

Member Function Documentation

◆ analyze()

void EcalPileUpDepMonitor::analyze ( const edm::Event e,
const edm::EventSetup  
)
overrideprotectedvirtual

Analyze.

recoElectron->et()

Reimplemented from DQMEDAnalyzer.

Definition at line 232 of file EcalPileUpDepMonitor.cc.

232  {
233  const CaloGeometry *geom = geomH.product();
234  // Vertex collection:
235  //-----------------------------------------
237  e.getByToken(VertexCollection_, PVCollection_h);
238  if (!PVCollection_h.isValid()) {
239  edm::LogWarning("VertexCollection") << "VertexCollection not found";
240  }
241  //-----------------gsfElectrons -------------------------
242  edm::Handle<reco::GsfElectronCollection> electronCollection_h;
243  e.getByToken(EleTag_, electronCollection_h);
244  if (!electronCollection_h.isValid()) {
245  edm::LogWarning("EBRecoSummary") << "Electrons not found";
246  }
247 
249  //----------------- Basic Cluster Collection Ecal Barrel ---------
250  edm::Handle<edm::View<reco::CaloCluster>> basicClusters_EB_h;
251  e.getByToken(basicClusterCollection_EB_, basicClusters_EB_h);
252  if (!basicClusters_EB_h.isValid()) {
253  edm::LogWarning("EBRecoSummary") << "basicClusters_EB_h not found";
254  }
255 
256  bcEB_PV->Fill(PVCollection_h->size(), basicClusters_EB_h->size());
257 
258  //----------------- Basic Cluster Collection Ecal Endcal ---------
259 
260  edm::Handle<edm::View<reco::CaloCluster>> basicClusters_EE_h;
261  e.getByToken(basicClusterCollection_EE_, basicClusters_EE_h);
262  if (!basicClusters_EE_h.isValid()) {
263  edm::LogWarning("EERecoSummary") << "basicClusters_EE_h not found";
264  }
265 
266  bcEE_PV->Fill(PVCollection_h->size(), basicClusters_EE_h->size());
267  } else {
268  //----------------- Basic Cluster Collection Ecal Barrel ---------
270  e.getByToken(basicClusterCollection_, basicClusters_h);
271  if (!basicClusters_h.isValid()) {
272  edm::LogWarning("EBRecoSummary") << "basicClusters_h not found";
273  }
274 
275  int nBarrel(0);
276  int nEndcap(0);
277  for (edm::View<reco::CaloCluster>::const_iterator bcItr(basicClusters_h->begin()); bcItr != basicClusters_h->end();
278  ++bcItr) {
279  if (bcItr->caloID().detector(reco::CaloID::DET_ECAL_BARREL))
280  ++nBarrel;
281  if (bcItr->caloID().detector(reco::CaloID::DET_ECAL_ENDCAP))
282  ++nEndcap;
283  }
284 
285  bcEB_PV->Fill(PVCollection_h->size(), nBarrel);
286  bcEE_PV->Fill(PVCollection_h->size(), nEndcap);
287  }
288 
289  //----------------- Reconstructed Hit Ecal barrel
290 
292  e.getByToken(RecHitCollection_EB_, RecHitsEB);
293  if (!RecHitsEB.isValid()) {
294  edm::LogWarning("EBRecoSummary") << "RecHitsEB not found";
295  }
296 
297  //----------------- Reconstructed Hit Ecal Endcap
298 
300  e.getByToken(RecHitCollection_EE_, RecHitsEE);
301  if (!RecHitsEE.isValid()) {
302  edm::LogWarning("EBRecoSummary") << "RecHitsEB not found";
303  }
304  //----------------- Super Cluster Collection Ecal Endcap ---------
305 
307  e.getByToken(superClusterCollection_EE_, superClusters_EE_h);
308  if (!superClusters_EE_h.isValid()) {
309  edm::LogWarning("EERecoSummary") << "superClusters_EE_h not found";
310  }
311 
312  //--------- Fill Isolation -----------------
313 
314  if (electronCollection_h.isValid()) {
315  for (reco::GsfElectronCollection::const_iterator recoElectron = electronCollection_h->begin();
316  recoElectron != electronCollection_h->end();
317  recoElectron++) {
318  double IsoEcal = recoElectron->dr03EcalRecHitSumEt();
319  emIso_PV->Fill(PVCollection_h->size(), IsoEcal);
320  emIso->Fill(IsoEcal);
321  }
322  }
323 
324  // fill super clusters EE
325  scEE_PV->Fill(PVCollection_h->size(), superClusters_EE_h->size());
326 
327  for (reco::SuperClusterCollection::const_iterator itSC = superClusters_EE_h->begin();
328  itSC != superClusters_EE_h->end();
329  ++itSC) {
330  double scEE_Et = itSC->energy() * sin(2. * atan(exp(-itSC->position().eta())));
331  // double scEE_E=itSC->energy();
332 
333  // fill super cluster endcap eta/phi
334  // scEta_EE->Fill(itSC->position().eta());
335  // scPhi_EE->Fill(itSC->position().phi());
336 
337  // get sigma eta_eta etc
338 
339  CaloTopology const *p_topology = caloTop.product(); // get calo topology
340  const EcalRecHitCollection *eeRecHits = RecHitsEE.product();
341 
342  reco::BasicCluster const &seedCluster(*itSC->seed());
343  const auto &cov = EcalClusterTools::localCovariances(seedCluster, eeRecHits, p_topology);
344  float sigmaIetaIeta = std::sqrt(cov[0]);
345  float sigmaIetaIphi = cov[1];
346 
347  float e3x3 = EcalClusterTools::e3x3(seedCluster, eeRecHits, p_topology);
348  float r9 = e3x3 / itSC->rawEnergy();
349 
350  r9_EE->Fill(r9);
351  scSigmaIetaIeta_EE->Fill(sigmaIetaIeta);
352  scSigmaIetaIphi_EE->Fill(sigmaIetaIphi);
353 
354  // std::cout << " sigmaIetaIeta: " << sigmaIetaIeta << std::endl;
355  scEtEE_PV->Fill(PVCollection_h->size(), scEE_Et);
356  scHitEtEE->Fill(scEE_Et); // super cluster Et historam
357  // scHitE_EE->Fill(scEE_E); //super cluster energy histogram
358 
359  } // sc-EE loop
360 
361  //----------------- Super Cluster Collection Ecal Barrel ---------
362 
364  e.getByToken(superClusterCollection_EB_, superClusters_EB_h);
365  if (!superClusters_EB_h.isValid()) {
366  edm::LogWarning("EBRecoSummary") << "superClusters_EB_h not found";
367  }
368  scEB_PV->Fill(PVCollection_h->size(), superClusters_EB_h->size());
369 
370  for (reco::SuperClusterCollection::const_iterator itSC = superClusters_EB_h->begin();
371  itSC != superClusters_EB_h->end();
372  ++itSC) {
373  double scEB_Et = itSC->energy() * sin(2. * atan(exp(-itSC->position().eta()))); // super cluster transverse energy
374  // double scEB_E= itSC->energy(); // super cluster energy
375 
376  // fill super cluster Barrel eta/phi
377  // scEta_EB->Fill(itSC->position().eta()); //super cluster eta
378  // scPhi_EB->Fill(itSC->position().phi()); // super cluster phi
379 
380  // sigma ietaieta etc
381 
382  CaloTopology const *p_topology = caloTop.product(); // get calo topology
383  const EcalRecHitCollection *ebRecHits = RecHitsEB.product();
384 
385  reco::BasicCluster const &seedCluster(*itSC->seed());
386  const auto &cov = EcalClusterTools::localCovariances(seedCluster, ebRecHits, p_topology);
387  float sigmaIetaIeta = std::sqrt(cov[0]);
388  float sigmaIetaIphi = cov[1];
389 
390  float e3x3 = EcalClusterTools::e3x3(seedCluster, ebRecHits, p_topology);
391  float r9 = e3x3 / itSC->rawEnergy();
392 
393  r9_EB->Fill(r9);
394  scSigmaIetaIeta_EB->Fill(sigmaIetaIeta);
395  scSigmaIetaIphi_EB->Fill(sigmaIetaIphi);
396 
397  scEtEB_PV->Fill(PVCollection_h->size(), scEB_Et);
398  scHitEtEB->Fill(scEB_Et);
399  // scHitE_EB->Fill(scEB_E);
400  } // sc-EB loop
401 
402  //-------------------Compute scalar sum of reconstructed hit Et
403  double RecHitEt_EB = 0;
404 
405  for (EcalRecHitCollection::const_iterator itr = RecHitsEB->begin(); itr != RecHitsEB->end(); ++itr) {
406  // RecHitEt_EB +=itr->energy();
407 
408  GlobalPoint const &position = geom->getGeometry(itr->detid())->getPosition();
409  RecHitEt_EB += itr->energy() * sin(position.theta());
410  } // EB Rec Hit
411 
412  recHitEtEB->Fill(RecHitEt_EB);
413  recHitEtEB_PV->Fill(PVCollection_h->size(), RecHitEt_EB);
414 
415  //-------------------Compute scalar sum of reconstructed hit Et
416  double RecHitEt_EE = 0;
417 
418  for (EcalRecHitCollection::const_iterator itr = RecHitsEE->begin(); itr != RecHitsEE->end(); ++itr) {
419  GlobalPoint const &position = geom->getGeometry(itr->detid())->getPosition();
420  RecHitEt_EE += itr->energy() * sin(position.theta());
421  } // EB Rec Hit
422 
423  recHitEtEE->Fill(RecHitEt_EE);
424  recHitEtEE_PV->Fill(PVCollection_h->size(), RecHitEt_EE);
425 }

References basicClusterCollection_, basicClusterCollection_EB_, basicClusterCollection_EE_, bcEB_PV, bcEE_PV, caloTop, reco::CaloID::DET_ECAL_BARREL, reco::CaloID::DET_ECAL_ENDCAP, MillePedeFileConverter_cfg::e, EleTag_, emIso, emIso_PV, JetChargeProducer_cfi::exp, dqm::impl::MonitorElement::Fill(), relativeConstraints::geom, geomH, edm::EDGetTokenT< T >::isUninitialized(), edm::HandleBase::isValid(), position, edm::ESHandle< T >::product(), electrons_cff::r9, r9_EB, r9_EE, RecHitCollection_EB_, RecHitCollection_EE_, recHitEtEB, recHitEtEB_PV, recHitEtEE, recHitEtEE_PV, HLT_FULL_cff::RecHitsEB, HLT_FULL_cff::RecHitsEE, scEB_PV, scEE_PV, scEtEB_PV, scEtEE_PV, scHitEtEB, scHitEtEE, scSigmaIetaIeta_EB, scSigmaIetaIeta_EE, scSigmaIetaIphi_EB, scSigmaIetaIphi_EE, funct::sin(), mathSSE::sqrt(), superClusterCollection_EB_, superClusterCollection_EE_, and VertexCollection_.

◆ bookHistograms()

void EcalPileUpDepMonitor::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  ,
edm::EventSetup const &  eventSetup 
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 58 of file EcalPileUpDepMonitor.cc.

60  {
61  eventSetup.get<CaloGeometryRecord>().get(geomH);
62  eventSetup.get<CaloTopologyRecord>().get(caloTop);
63 
64  ibooker.cd();
65  ibooker.setCurrentFolder("Ecal/EcalPileUpDepMonitor");
66 
67  std::string prof_name = "bcEB_PV";
68  std::string title = "Basic clusters EB vs. PV";
69  bcEB_PV = ibooker.bookProfile(prof_name, title, 50, 0., 50., 50, 0., 350.);
70  bcEB_PV->setAxisTitle("N_{pv}", 1);
71  bcEB_PV->setAxisTitle("Basic Clusters", 2);
72 
73  prof_name = "bcEE_PV";
74  title = "Basic Clusters EE vs. PV";
75  bcEE_PV = ibooker.bookProfile(prof_name, title, 50, 0., 50., 50, 0., 350.);
76  bcEE_PV->setAxisTitle("N_{pv}", 1);
77  bcEE_PV->setAxisTitle("Basic Clusters", 2);
78 
79  prof_name = "scEB_PV";
80  title = "Super Clusters EB vs. PV";
81  scEB_PV = ibooker.bookProfile(prof_name, title, 50, 0., 50., 50, 0., 350.);
82  scEB_PV->setAxisTitle("N_{pv}", 1);
83  scEB_PV->setAxisTitle("Super Clusters", 2);
84 
85  prof_name = "scEE_PV";
86  title = "Super Clusters EE vs. PV";
87  scEE_PV = ibooker.bookProfile(prof_name, title, 50, 0., 50., 50, 0., 350.);
88  scEE_PV->setAxisTitle("N_{pv}", 1);
89  scEE_PV->setAxisTitle("Super Clusters", 2);
90 
91  prof_name = "scEtEB_PV";
92  title = "Super Clusters Et EB vs. PV";
93  scEtEB_PV = ibooker.bookProfile(prof_name, title, 50, 0., 50., 50, 0., 350.);
94  scEtEB_PV->setAxisTitle("N_{pv}", 1);
95  scEtEB_PV->setAxisTitle("Super Cluster E_{T} [GeV]", 2);
96 
97  prof_name = "scEtEE_PV";
98  title = "Super Clusters Et EE vs. PV";
99  scEtEE_PV = ibooker.bookProfile(prof_name, title, 50, 0., 50., 50, 0., 350.);
100  scEtEE_PV->setAxisTitle("N_{pv}", 1);
101  scEtEE_PV->setAxisTitle("Super Cluster E_{T} [GeV]", 2);
102 
103  prof_name = "recHitEtEB_PV";
104  title = "Reconstructed Hit Et EB vs. PV";
105  recHitEtEB_PV = ibooker.bookProfile(prof_name, title, 50, 0., 50., 50, 0., 350.);
106  recHitEtEB_PV->setAxisTitle("N_{pv}", 1);
107  recHitEtEB_PV->setAxisTitle("Reconstructed hit E_{T} [GeV]", 2);
108 
109  prof_name = "recHitEtEE_PV";
110  title = "Reconstructed Hit Et EE vs. PV";
111  recHitEtEE_PV = ibooker.bookProfile(prof_name, title, 50, 0., 50., 50, 0., 350.);
112  recHitEtEE_PV->setAxisTitle("N_{pv}", 1);
113  recHitEtEE_PV->setAxisTitle("Reconstructed hit E_{T} [GeV]", 2);
114 
115  prof_name = "emIso_PV";
116  title = "EM Isolation vs. PV";
117  emIso_PV = ibooker.bookProfile(prof_name, title, 50, 0., 50., 50, 0., 350);
118  emIso_PV->setAxisTitle("N_{pv}", 1);
119  emIso_PV->setAxisTitle("EM_{Isolation} [GeV]", 2);
120 
121  prof_name = "emIso";
122  title = "EM Isolation";
123  emIso = ibooker.book1D(prof_name, title, 50, 0, 50);
124  emIso->setAxisTitle("EM_{Isolation} [GeV]", 1);
125  emIso->setAxisTitle("Events", 2);
126 
127  prof_name = "scHitEtEB";
128  title = "Super Cluster Hit Et EB";
129  scHitEtEB = ibooker.book1D(prof_name, title, 50, 0, 100);
130  scHitEtEB->setAxisTitle("super cluster hit E_{T} [GeV]", 1);
131  scHitEtEB->setAxisTitle("Events", 2);
132 
133  prof_name = "scHitEtEE";
134  title = "Super Cluster Hit Et EE";
135  scHitEtEE = ibooker.book1D(prof_name, title, 50, 0, 100);
136  scHitEtEE->setAxisTitle("super cluster hit E_{T} [GeV]", 1);
137  scHitEtEE->setAxisTitle("Events", 2);
138 
139  // prof_name="scHitE_EB";
140  // title="Super Cluster Hit E EB";
141  // scHitE_EB=ibooker.book1D(prof_name,title,50,0,100);
142  // scHitE_EB->setAxisTitle("super cluster hit E [GeV]",1);
143  // scHitE_EB->setAxisTitle("Events",2);
144 
145  // prof_name="scHitE_EE";
146  // title="Super Cluster Hit E EE";
147  // scHitE_EE=ibooker.book1D(prof_name,title,50,0,100);
148  // scHitE_EE->setAxisTitle("super cluster hit E [GeV]",1);
149  // scHitE_EE->setAxisTitle("Events",2);
150 
151  // SC eta
152  // prof_name="scEta_EB";
153  // title="Super Cluster #eta EB";
154  // scEta_EB=ibooker.book1D(prof_name,title,50,-6,6);
155  // scEta_EB->setAxisTitle("#eta",1);
156  // scEta_EB->setAxisTitle("Events",2);
157 
158  // prof_name="scEta_EE";
159  // title="Super Cluster #eta EE";
160  // scEta_EE=ibooker.book1D(prof_name,title,50,-6,6);
161  // scEta_EE->setAxisTitle("#eta",1);
162  // scEta_EE->setAxisTitle("Events",2);
163 
164  // SC phi
165  // prof_name="scPhi_EB";
166  // title="Super Cluster #phi EB";
167  // scPhi_EB=ibooker.book1D(prof_name,title,50,-3.14,3.14);
168  // scPhi_EB->setAxisTitle("super cluster #phi",1);
169  // scPhi_EB->setAxisTitle("Events",2);
170 
171  // prof_name="scPhi_EE";
172  // title="Super Cluster #phi EE";
173  // scPhi_EE=ibooker.book1D(prof_name,title,50,-3.14,3.14);
174  // scPhi_EE->setAxisTitle("super cluster #phi",1);
175  // scPhi_EE->setAxisTitle("Events",2);
176 
177  // sc sigma eta eta / eta phi
178 
179  prof_name = "scSigmaIetaIeta_EB";
180  title = "Super Cluster sigmaIetaIeta EB";
181  scSigmaIetaIeta_EB = ibooker.book1D(prof_name, title, 50, 0, 0.03);
182  scSigmaIetaIeta_EB->setAxisTitle("#sigma_{i#etai#eta}", 1);
183  scSigmaIetaIeta_EB->setAxisTitle("Events", 2);
184 
185  prof_name = "scSigmaIetaIeta_EE";
186  title = "Super Cluster sigmaIetaIeta EE";
187  scSigmaIetaIeta_EE = ibooker.book1D(prof_name, title, 50, 0, 0.1);
188  scSigmaIetaIeta_EE->setAxisTitle("#sigma_{i#etai#eta}", 1);
189  scSigmaIetaIeta_EE->setAxisTitle("Events", 2);
190 
191  // phi
192  prof_name = "scSigmaIetaIphi_EB";
193  title = "Super Cluster sigmaIetaIphi EB";
194  scSigmaIetaIphi_EB = ibooker.book1D(prof_name, title, 50, -5.e-4, 5.e-4);
195  scSigmaIetaIphi_EB->setAxisTitle("#sigma_{i#etai#phi}", 1);
196  scSigmaIetaIphi_EB->setAxisTitle("Events", 2);
197 
198  prof_name = "scSigmaIetaIphi_EE";
199  title = "Super Cluster sigmaIetaIphi EE";
200  scSigmaIetaIphi_EE = ibooker.book1D(prof_name, title, 50, -2.5e-3, 2.5e-3);
201  scSigmaIetaIphi_EE->setAxisTitle("#sigma_{i#etai#phi}", 1);
202  scSigmaIetaIphi_EE->setAxisTitle("Events", 2);
203 
204  // R9
205  prof_name = "r9_EB";
206  title = "r9 EB";
207  r9_EB = ibooker.book1D(prof_name, title, 50, 0, 1.5);
208  r9_EB->setAxisTitle("R_{9}", 1);
209  r9_EB->setAxisTitle("Events", 2);
210 
211  prof_name = "r9_EE";
212  title = "r9 EE";
213  r9_EE = ibooker.book1D(prof_name, title, 50, 0, 1.5);
214  r9_EE->setAxisTitle("R_{9}", 1);
215  r9_EE->setAxisTitle("Events", 2);
216 
217  // Rec Hit
218 
219  prof_name = "recHitEtEB";
220  title = "RecHit Et EB";
221  recHitEtEB = ibooker.book1D(prof_name, title, 50, 0, 400);
222  recHitEtEB->setAxisTitle("Reconstructed Hit E_{T} [GeV]", 1);
223  recHitEtEB->setAxisTitle("Events", 2);
224 
225  prof_name = "recHitEtEE";
226  title = "RecHit Et EE";
227  recHitEtEE = ibooker.book1D(prof_name, title, 50, 0, 400);
228  recHitEtEE->setAxisTitle("Reconstructed Hit E_{T} [GeV]", 1);
229  recHitEtEE->setAxisTitle("Events", 2);
230 }

References bcEB_PV, bcEE_PV, dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::bookProfile(), caloTop, dqm::implementation::NavigatorBase::cd(), MillePedeFileConverter_cfg::e, emIso, emIso_PV, geomH, edm::EventSetup::get(), get, r9_EB, r9_EE, recHitEtEB, recHitEtEB_PV, recHitEtEE, recHitEtEE_PV, scEB_PV, scEE_PV, scEtEB_PV, scEtEE_PV, scHitEtEB, scHitEtEE, scSigmaIetaIeta_EB, scSigmaIetaIeta_EE, scSigmaIetaIphi_EB, scSigmaIetaIphi_EE, dqm::impl::MonitorElement::setAxisTitle(), dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and runGCPTkAlMap::title.

Member Data Documentation

◆ basicClusterCollection_

edm::EDGetTokenT<edm::View<reco::CaloCluster> > EcalPileUpDepMonitor::basicClusterCollection_
private

Definition at line 95 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and EcalPileUpDepMonitor().

◆ basicClusterCollection_EB_

edm::EDGetTokenT<edm::View<reco::CaloCluster> > EcalPileUpDepMonitor::basicClusterCollection_EB_
private

Definition at line 93 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and EcalPileUpDepMonitor().

◆ basicClusterCollection_EE_

edm::EDGetTokenT<edm::View<reco::CaloCluster> > EcalPileUpDepMonitor::basicClusterCollection_EE_
private

Definition at line 94 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and EcalPileUpDepMonitor().

◆ bcEB_PV

MonitorElement* EcalPileUpDepMonitor::bcEB_PV
private

Definition at line 41 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ bcEE_PV

MonitorElement* EcalPileUpDepMonitor::bcEE_PV
private

Definition at line 42 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ caloTop

edm::ESHandle<CaloTopology> EcalPileUpDepMonitor::caloTop
private

Definition at line 89 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ EleTag_

edm::EDGetTokenT<reco::GsfElectronCollection> EcalPileUpDepMonitor::EleTag_
private

Definition at line 100 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and EcalPileUpDepMonitor().

◆ emIso

MonitorElement* EcalPileUpDepMonitor::emIso
private

Definition at line 55 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ emIso_PV

MonitorElement* EcalPileUpDepMonitor::emIso_PV
private

Definition at line 52 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ geomH

edm::ESHandle<CaloGeometry> EcalPileUpDepMonitor::geomH
private

Definition at line 88 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ r9_EB

MonitorElement* EcalPileUpDepMonitor::r9_EB
private

Definition at line 85 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ r9_EE

MonitorElement* EcalPileUpDepMonitor::r9_EE
private

Definition at line 86 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ RecHitCollection_EB_

edm::EDGetTokenT<EcalRecHitCollection> EcalPileUpDepMonitor::RecHitCollection_EB_
private

Definition at line 102 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and EcalPileUpDepMonitor().

◆ RecHitCollection_EE_

edm::EDGetTokenT<EcalRecHitCollection> EcalPileUpDepMonitor::RecHitCollection_EE_
private

Definition at line 103 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and EcalPileUpDepMonitor().

◆ recHitEtEB

MonitorElement* EcalPileUpDepMonitor::recHitEtEB
private

Definition at line 56 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ recHitEtEB_PV

MonitorElement* EcalPileUpDepMonitor::recHitEtEB_PV
private

Definition at line 49 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ recHitEtEE

MonitorElement* EcalPileUpDepMonitor::recHitEtEE
private

Definition at line 57 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ recHitEtEE_PV

MonitorElement* EcalPileUpDepMonitor::recHitEtEE_PV
private

Definition at line 50 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ scEB_PV

MonitorElement* EcalPileUpDepMonitor::scEB_PV
private

Definition at line 43 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ scEE_PV

MonitorElement* EcalPileUpDepMonitor::scEE_PV
private

Definition at line 44 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ scEtEB_PV

MonitorElement* EcalPileUpDepMonitor::scEtEB_PV
private

Definition at line 46 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ scEtEE_PV

MonitorElement* EcalPileUpDepMonitor::scEtEE_PV
private

Definition at line 47 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ scHitEtEB

MonitorElement* EcalPileUpDepMonitor::scHitEtEB
private

Definition at line 59 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ scHitEtEE

MonitorElement* EcalPileUpDepMonitor::scHitEtEE
private

Definition at line 60 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ scSigmaIetaIeta_EB

MonitorElement* EcalPileUpDepMonitor::scSigmaIetaIeta_EB
private

Definition at line 78 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ scSigmaIetaIeta_EE

MonitorElement* EcalPileUpDepMonitor::scSigmaIetaIeta_EE
private

Definition at line 79 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ scSigmaIetaIphi_EB

MonitorElement* EcalPileUpDepMonitor::scSigmaIetaIphi_EB
private

Definition at line 81 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ scSigmaIetaIphi_EE

MonitorElement* EcalPileUpDepMonitor::scSigmaIetaIphi_EE
private

Definition at line 82 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ superClusterCollection_EB_

edm::EDGetTokenT<reco::SuperClusterCollection> EcalPileUpDepMonitor::superClusterCollection_EB_
private

Definition at line 98 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and EcalPileUpDepMonitor().

◆ superClusterCollection_EE_

edm::EDGetTokenT<reco::SuperClusterCollection> EcalPileUpDepMonitor::superClusterCollection_EE_
private

Definition at line 99 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and EcalPileUpDepMonitor().

◆ VertexCollection_

edm::EDGetTokenT<reco::VertexCollection> EcalPileUpDepMonitor::VertexCollection_
private

Definition at line 91 of file EcalPileUpDepMonitor.h.

Referenced by analyze(), and EcalPileUpDepMonitor().

edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
EcalPileUpDepMonitor::superClusterCollection_EE_
edm::EDGetTokenT< reco::SuperClusterCollection > superClusterCollection_EE_
Definition: EcalPileUpDepMonitor.h:99
electrons_cff.r9
r9
Definition: electrons_cff.py:360
EcalPileUpDepMonitor::VertexCollection_
edm::EDGetTokenT< reco::VertexCollection > VertexCollection_
Definition: EcalPileUpDepMonitor.h:91
EcalPileUpDepMonitor::recHitEtEE
MonitorElement * recHitEtEE
Definition: EcalPileUpDepMonitor.h:57
runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
edm::SortedCollection< EcalRecHit >::const_iterator
std::vector< EcalRecHit >::const_iterator const_iterator
Definition: SortedCollection.h:80
CaloGeometryRecord
Definition: CaloGeometryRecord.h:30
reco::CaloID::DET_ECAL_ENDCAP
Definition: CaloID.h:21
EcalPileUpDepMonitor::recHitEtEE_PV
MonitorElement * recHitEtEE_PV
Definition: EcalPileUpDepMonitor.h:50
EcalPileUpDepMonitor::scHitEtEB
MonitorElement * scHitEtEB
Definition: EcalPileUpDepMonitor.h:59
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
edm::EDGetTokenT::isUninitialized
constexpr bool isUninitialized() const noexcept
Definition: EDGetToken.h:99
edm::SortedCollection< EcalRecHit >
EcalPileUpDepMonitor::bcEB_PV
MonitorElement * bcEB_PV
Definition: EcalPileUpDepMonitor.h:41
EcalPileUpDepMonitor::basicClusterCollection_
edm::EDGetTokenT< edm::View< reco::CaloCluster > > basicClusterCollection_
Definition: EcalPileUpDepMonitor.h:95
CaloTopologyRecord
Definition: CaloTopologyRecord.h:10
edm::ParameterSet::existsAs
bool existsAs(std::string const &parameterName, bool trackiness=true) const
checks if a parameter exists as a given type
Definition: ParameterSet.h:171
edm::Handle< reco::VertexCollection >
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
CaloTopology
Definition: CaloTopology.h:19
EcalPileUpDepMonitor::recHitEtEB_PV
MonitorElement * recHitEtEB_PV
Definition: EcalPileUpDepMonitor.h:49
funct::sin
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
edm::InputTag::label
std::string const & label() const
Definition: InputTag.h:36
CaloGeometry
Definition: CaloGeometry.h:21
HLT_FULL_cff.RecHitsEE
RecHitsEE
Definition: HLT_FULL_cff.py:78273
EcalPileUpDepMonitor::emIso
MonitorElement * emIso
Definition: EcalPileUpDepMonitor.h:55
EcalPileUpDepMonitor::superClusterCollection_EB_
edm::EDGetTokenT< reco::SuperClusterCollection > superClusterCollection_EB_
Definition: EcalPileUpDepMonitor.h:98
EcalPileUpDepMonitor::scSigmaIetaIphi_EE
MonitorElement * scSigmaIetaIphi_EE
Definition: EcalPileUpDepMonitor.h:82
reco::CaloCluster
Definition: CaloCluster.h:31
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
dqm::implementation::NavigatorBase::cd
virtual void cd()
Definition: DQMStore.cc:29
dqm::implementation::IBooker::bookProfile
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
Definition: DQMStore.h:322
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
EcalPileUpDepMonitor::RecHitCollection_EB_
edm::EDGetTokenT< EcalRecHitCollection > RecHitCollection_EB_
Definition: EcalPileUpDepMonitor.h:102
Point3DBase< float, GlobalTag >
EcalPileUpDepMonitor::recHitEtEB
MonitorElement * recHitEtEB
Definition: EcalPileUpDepMonitor.h:56
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EcalPileUpDepMonitor::scEtEB_PV
MonitorElement * scEtEB_PV
Definition: EcalPileUpDepMonitor.h:46
edm::View
Definition: CaloClusterFwd.h:14
EcalPileUpDepMonitor::scEtEE_PV
MonitorElement * scEtEE_PV
Definition: EcalPileUpDepMonitor.h:47
position
static int position[264][3]
Definition: ReadPGInfo.cc:289
EcalPileUpDepMonitor::scEE_PV
MonitorElement * scEE_PV
Definition: EcalPileUpDepMonitor.h:44
get
#define get
EcalPileUpDepMonitor::EleTag_
edm::EDGetTokenT< reco::GsfElectronCollection > EleTag_
Definition: EcalPileUpDepMonitor.h:100
EcalPileUpDepMonitor::scSigmaIetaIphi_EB
MonitorElement * scSigmaIetaIphi_EB
Definition: EcalPileUpDepMonitor.h:81
EcalPileUpDepMonitor::scHitEtEE
MonitorElement * scHitEtEE
Definition: EcalPileUpDepMonitor.h:60
EcalPileUpDepMonitor::scSigmaIetaIeta_EB
MonitorElement * scSigmaIetaIeta_EB
Definition: EcalPileUpDepMonitor.h:78
EcalPileUpDepMonitor::basicClusterCollection_EE_
edm::EDGetTokenT< edm::View< reco::CaloCluster > > basicClusterCollection_EE_
Definition: EcalPileUpDepMonitor.h:94
HLT_FULL_cff.RecHitsEB
RecHitsEB
Definition: HLT_FULL_cff.py:78263
EcalPileUpDepMonitor::emIso_PV
MonitorElement * emIso_PV
Definition: EcalPileUpDepMonitor.h:52
EcalPileUpDepMonitor::basicClusterCollection_EB_
edm::EDGetTokenT< edm::View< reco::CaloCluster > > basicClusterCollection_EB_
Definition: EcalPileUpDepMonitor.h:93
EcalPileUpDepMonitor::caloTop
edm::ESHandle< CaloTopology > caloTop
Definition: EcalPileUpDepMonitor.h:89
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
edm::View::const_iterator
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
Definition: View.h:86
EcalPileUpDepMonitor::scEB_PV
MonitorElement * scEB_PV
Definition: EcalPileUpDepMonitor.h:43
EcalPileUpDepMonitor::scSigmaIetaIeta_EE
MonitorElement * scSigmaIetaIeta_EE
Definition: EcalPileUpDepMonitor.h:79
JetChargeProducer_cfi.exp
exp
Definition: JetChargeProducer_cfi.py:6
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
EcalPileUpDepMonitor::RecHitCollection_EE_
edm::EDGetTokenT< EcalRecHitCollection > RecHitCollection_EE_
Definition: EcalPileUpDepMonitor.h:103
EcalPileUpDepMonitor::r9_EE
MonitorElement * r9_EE
Definition: EcalPileUpDepMonitor.h:86
EcalPileUpDepMonitor::bcEE_PV
MonitorElement * bcEE_PV
Definition: EcalPileUpDepMonitor.h:42
dqm::impl::MonitorElement::setAxisTitle
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
Definition: MonitorElement.cc:800
edm::InputTag
Definition: InputTag.h:15
reco::CaloID::DET_ECAL_BARREL
Definition: CaloID.h:20
dqm::implementation::IBooker::book1D
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
EcalPileUpDepMonitor::r9_EB
MonitorElement * r9_EB
Definition: EcalPileUpDepMonitor.h:85
EcalPileUpDepMonitor::geomH
edm::ESHandle< CaloGeometry > geomH
Definition: EcalPileUpDepMonitor.h:88
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37