CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Attributes
OuterTrackerMonitorTTCluster Class Reference
Inheritance diagram for OuterTrackerMonitorTTCluster:
DQMEDAnalyzer edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
 OuterTrackerMonitorTTCluster (const edm::ParameterSet &)
 
 ~OuterTrackerMonitorTTCluster () override
 
- 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
 

Public Attributes

MonitorElementCluster_Barrel_XY = nullptr
 
MonitorElementCluster_Endcap_Bw_XY = nullptr
 
MonitorElementCluster_Endcap_Fw_XY = nullptr
 
MonitorElementCluster_Eta = nullptr
 
MonitorElementCluster_IMem_Barrel = nullptr
 
MonitorElementCluster_IMem_Endcap_Disc = nullptr
 
MonitorElementCluster_IMem_Endcap_Ring = nullptr
 
MonitorElementCluster_IMem_Endcap_Ring_Bw [5] = {nullptr, nullptr, nullptr, nullptr, nullptr}
 
MonitorElementCluster_IMem_Endcap_Ring_Fw [5] = {nullptr, nullptr, nullptr, nullptr, nullptr}
 
MonitorElementCluster_OMem_Barrel = nullptr
 
MonitorElementCluster_OMem_Endcap_Disc = nullptr
 
MonitorElementCluster_OMem_Endcap_Ring = nullptr
 
MonitorElementCluster_OMem_Endcap_Ring_Bw [5] = {nullptr, nullptr, nullptr, nullptr, nullptr}
 
MonitorElementCluster_OMem_Endcap_Ring_Fw [5] = {nullptr, nullptr, nullptr, nullptr, nullptr}
 
MonitorElementCluster_Phi = nullptr
 
MonitorElementCluster_R = nullptr
 
MonitorElementCluster_RZ = nullptr
 
MonitorElementCluster_W = nullptr
 

Private Attributes

edm::ParameterSet conf_
 
edm::EDGetTokenT< edmNew::DetSetVector< TTCluster< Ref_Phase2TrackerDigi_ > > > tagTTClustersToken_
 
std::string topFolderName_
 

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 Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

Definition at line 48 of file OuterTrackerMonitorTTCluster.cc.

Constructor & Destructor Documentation

◆ OuterTrackerMonitorTTCluster()

OuterTrackerMonitorTTCluster::OuterTrackerMonitorTTCluster ( const edm::ParameterSet iConfig)
explicit

Definition at line 85 of file OuterTrackerMonitorTTCluster.cc.

85  : conf_(iConfig) {
86  topFolderName_ = conf_.getParameter<std::string>("TopFolderName");
87  tagTTClustersToken_ = consumes<edmNew::DetSetVector<TTCluster<Ref_Phase2TrackerDigi_>>>(
88  conf_.getParameter<edm::InputTag>("TTClusters"));
89 }

References conf_, edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, tagTTClustersToken_, and topFolderName_.

◆ ~OuterTrackerMonitorTTCluster()

OuterTrackerMonitorTTCluster::~OuterTrackerMonitorTTCluster ( )
override

Definition at line 91 of file OuterTrackerMonitorTTCluster.cc.

91  {
92  // do anything here that needs to be done at desctruction time
93  // (e.g. close files, deallocate resources etc.)
94 }

Member Function Documentation

◆ analyze()

void OuterTrackerMonitorTTCluster::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overridevirtual

Track Trigger Clusters

Geometry

Loop over the input Clusters

Reimplemented from DQMEDAnalyzer.

Definition at line 101 of file OuterTrackerMonitorTTCluster.cc.

101  {
104  iEvent.getByToken(tagTTClustersToken_, Phase2TrackerDigiTTClusterHandle);
105 
107  edm::ESHandle<TrackerTopology> tTopoHandle;
108  const TrackerTopology *tTopo;
109  iSetup.get<TrackerTopologyRcd>().get(tTopoHandle);
110  tTopo = tTopoHandle.product();
111 
112  edm::ESHandle<TrackerGeometry> tGeometryHandle;
113  const TrackerGeometry *theTrackerGeometry;
114  iSetup.get<TrackerDigiGeometryRecord>().get(tGeometryHandle);
115  theTrackerGeometry = tGeometryHandle.product();
116 
118  typename edmNew::DetSetVector<TTCluster<Ref_Phase2TrackerDigi_>>::const_iterator inputIter;
119  typename edmNew::DetSet<TTCluster<Ref_Phase2TrackerDigi_>>::const_iterator contentIter;
120 
121  // Adding protection
122  if (!Phase2TrackerDigiTTClusterHandle.isValid())
123  return;
124 
125  for (inputIter = Phase2TrackerDigiTTClusterHandle->begin(); inputIter != Phase2TrackerDigiTTClusterHandle->end();
126  ++inputIter) {
127  for (contentIter = inputIter->begin(); contentIter != inputIter->end(); ++contentIter) {
128  // Make reference cluster
130  edmNew::makeRefTo(Phase2TrackerDigiTTClusterHandle, contentIter);
131 
132  DetId detIdClu = theTrackerGeometry->idToDet(tempCluRef->getDetId())->geographicalId();
133  unsigned int memberClu = tempCluRef->getStackMember();
134  unsigned int widClu = tempCluRef->findWidth();
135 
136  MeasurementPoint mp = tempCluRef->findAverageLocalCoordinates();
137  const GeomDet *theGeomDet = theTrackerGeometry->idToDet(detIdClu);
138  Global3DPoint posClu = theGeomDet->surface().toGlobal(theGeomDet->topology().localPosition(mp));
139 
140  double r = posClu.perp();
141  double z = posClu.z();
142 
143  Cluster_W->Fill(widClu, memberClu);
144  Cluster_Eta->Fill(posClu.eta());
145  Cluster_Phi->Fill(posClu.phi());
146  Cluster_R->Fill(r);
147  Cluster_RZ->Fill(z, r);
148 
149  if (detIdClu.subdetId() == static_cast<int>(StripSubdetector::TOB)) // Phase 2 Outer Tracker Barrel
150  {
151  if (memberClu == 0)
152  Cluster_IMem_Barrel->Fill(tTopo->layer(detIdClu));
153  else
154  Cluster_OMem_Barrel->Fill(tTopo->layer(detIdClu));
155 
156  Cluster_Barrel_XY->Fill(posClu.x(), posClu.y());
157 
158  } // end if isBarrel
159  else if (detIdClu.subdetId() == static_cast<int>(StripSubdetector::TID)) // Phase 2 Outer Tracker Endcap
160  {
161  if (memberClu == 0) {
162  Cluster_IMem_Endcap_Disc->Fill(tTopo->layer(detIdClu)); // returns wheel
163  Cluster_IMem_Endcap_Ring->Fill(tTopo->tidRing(detIdClu));
164  } else {
165  Cluster_OMem_Endcap_Disc->Fill(tTopo->layer(detIdClu)); // returns wheel
166  Cluster_OMem_Endcap_Ring->Fill(tTopo->tidRing(detIdClu));
167  }
168 
169  if (posClu.z() > 0) {
170  Cluster_Endcap_Fw_XY->Fill(posClu.x(), posClu.y());
171  if (memberClu == 0)
172  Cluster_IMem_Endcap_Ring_Fw[tTopo->layer(detIdClu) - 1]->Fill(tTopo->tidRing(detIdClu));
173  else
174  Cluster_OMem_Endcap_Ring_Fw[tTopo->layer(detIdClu) - 1]->Fill(tTopo->tidRing(detIdClu));
175  } else {
176  Cluster_Endcap_Bw_XY->Fill(posClu.x(), posClu.y());
177  if (memberClu == 0)
178  Cluster_IMem_Endcap_Ring_Bw[tTopo->layer(detIdClu) - 1]->Fill(tTopo->tidRing(detIdClu));
179  else
180  Cluster_OMem_Endcap_Ring_Bw[tTopo->layer(detIdClu) - 1]->Fill(tTopo->tidRing(detIdClu));
181  }
182 
183  } // end if isEndcap
184  } // end loop contentIter
185  } // end loop inputIter
186 } // end of method

References edmNew::DetSetVector< T >::begin(), Cluster_Barrel_XY, Cluster_Endcap_Bw_XY, Cluster_Endcap_Fw_XY, Cluster_Eta, Cluster_IMem_Barrel, Cluster_IMem_Endcap_Disc, Cluster_IMem_Endcap_Ring, Cluster_IMem_Endcap_Ring_Bw, Cluster_IMem_Endcap_Ring_Fw, Cluster_OMem_Barrel, Cluster_OMem_Endcap_Disc, Cluster_OMem_Endcap_Ring, Cluster_OMem_Endcap_Ring_Bw, Cluster_OMem_Endcap_Ring_Fw, Cluster_Phi, Cluster_R, Cluster_RZ, Cluster_W, edmNew::DetSetVector< T >::end(), PV3DBase< T, PVType, FrameType >::eta(), dqm::impl::MonitorElement::Fill(), edm::EventSetup::get(), get, TrackerGeometry::idToDet(), iEvent, edm::HandleBase::isValid(), TrackerTopology::layer(), Topology::localPosition(), edmNew::makeRefTo(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), edm::ESHandle< T >::product(), alignCSCRings::r, DetId::subdetId(), GeomDet::surface(), tagTTClustersToken_, StripSubdetector::TID, TrackerTopology::tidRing(), StripSubdetector::TOB, Surface::toGlobal(), GeomDet::topology(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().

◆ bookHistograms()

void OuterTrackerMonitorTTCluster::bookHistograms ( DQMStore::IBooker iBooker,
edm::Run const &  run,
edm::EventSetup const &  es 
)
overridevirtual

Implements DQMEDAnalyzer.

Definition at line 190 of file OuterTrackerMonitorTTCluster.cc.

192  {
194  const int numDiscs = 5;
195 
196  iBooker.setCurrentFolder(topFolderName_ + "/Clusters/NClusters");
197 
198  // NClusters
199  edm::ParameterSet psTTCluster_Barrel = conf_.getParameter<edm::ParameterSet>("TH1TTCluster_Barrel");
200  HistoName = "NClusters_IMem_Barrel";
202  HistoName,
203  psTTCluster_Barrel.getParameter<int32_t>("Nbinsx"),
204  psTTCluster_Barrel.getParameter<double>("xmin"),
205  psTTCluster_Barrel.getParameter<double>("xmax"));
206  Cluster_IMem_Barrel->setAxisTitle("Barrel Layer", 1);
207  Cluster_IMem_Barrel->setAxisTitle("# L1 Clusters", 2);
208 
209  HistoName = "NClusters_OMem_Barrel";
211  HistoName,
212  psTTCluster_Barrel.getParameter<int32_t>("Nbinsx"),
213  psTTCluster_Barrel.getParameter<double>("xmin"),
214  psTTCluster_Barrel.getParameter<double>("xmax"));
215  Cluster_OMem_Barrel->setAxisTitle("Barrel Layer", 1);
216  Cluster_OMem_Barrel->setAxisTitle("# L1 Clusters", 2);
217 
218  edm::ParameterSet psTTCluster_ECDisc = conf_.getParameter<edm::ParameterSet>("TH1TTCluster_ECDiscs");
219  HistoName = "NClusters_IMem_Endcap_Disc";
221  HistoName,
222  psTTCluster_ECDisc.getParameter<int32_t>("Nbinsx"),
223  psTTCluster_ECDisc.getParameter<double>("xmin"),
224  psTTCluster_ECDisc.getParameter<double>("xmax"));
225  Cluster_IMem_Endcap_Disc->setAxisTitle("Endcap Disc", 1);
226  Cluster_IMem_Endcap_Disc->setAxisTitle("# L1 Clusters", 2);
227 
228  HistoName = "NClusters_OMem_Endcap_Disc";
230  HistoName,
231  psTTCluster_ECDisc.getParameter<int32_t>("Nbinsx"),
232  psTTCluster_ECDisc.getParameter<double>("xmin"),
233  psTTCluster_ECDisc.getParameter<double>("xmax"));
234  Cluster_OMem_Endcap_Disc->setAxisTitle("Endcap Disc", 1);
235  Cluster_OMem_Endcap_Disc->setAxisTitle("# L1 Clusters", 2);
236 
237  edm::ParameterSet psTTCluster_ECRing = conf_.getParameter<edm::ParameterSet>("TH1TTCluster_ECRings");
238  HistoName = "NClusters_IMem_Endcap_Ring";
240  HistoName,
241  psTTCluster_ECRing.getParameter<int32_t>("Nbinsx"),
242  psTTCluster_ECRing.getParameter<double>("xmin"),
243  psTTCluster_ECRing.getParameter<double>("xmax"));
244  Cluster_IMem_Endcap_Ring->setAxisTitle("Endcap Ring", 1);
245  Cluster_IMem_Endcap_Ring->setAxisTitle("# L1 Clusters", 2);
246 
247  HistoName = "NClusters_OMem_Endcap_Ring";
249  HistoName,
250  psTTCluster_ECRing.getParameter<int32_t>("Nbinsx"),
251  psTTCluster_ECRing.getParameter<double>("xmin"),
252  psTTCluster_ECRing.getParameter<double>("xmax"));
253  Cluster_OMem_Endcap_Ring->setAxisTitle("Endcap Ring", 1);
254  Cluster_OMem_Endcap_Ring->setAxisTitle("# L1 Clusters", 2);
255 
256  for (int i = 0; i < numDiscs; i++) {
257  HistoName = "NClusters_IMem_Disc+" + std::to_string(i + 1);
259  HistoName,
260  psTTCluster_ECRing.getParameter<int32_t>("Nbinsx"),
261  psTTCluster_ECRing.getParameter<double>("xmin"),
262  psTTCluster_ECRing.getParameter<double>("xmax"));
263  Cluster_IMem_Endcap_Ring_Fw[i]->setAxisTitle("Endcap Ring", 1);
264  Cluster_IMem_Endcap_Ring_Fw[i]->setAxisTitle("# L1 Clusters ", 2);
265  }
266 
267  for (int i = 0; i < numDiscs; i++) {
268  HistoName = "NClusters_IMem_Disc-" + std::to_string(i + 1);
270  HistoName,
271  psTTCluster_ECRing.getParameter<int32_t>("Nbinsx"),
272  psTTCluster_ECRing.getParameter<double>("xmin"),
273  psTTCluster_ECRing.getParameter<double>("xmax"));
274  Cluster_IMem_Endcap_Ring_Bw[i]->setAxisTitle("Endcap Ring", 1);
275  Cluster_IMem_Endcap_Ring_Bw[i]->setAxisTitle("# L1 Clusters ", 2);
276  }
277 
278  for (int i = 0; i < numDiscs; i++) {
279  HistoName = "NClusters_OMem_Disc+" + std::to_string(i + 1);
281  HistoName,
282  psTTCluster_ECRing.getParameter<int32_t>("Nbinsx"),
283  psTTCluster_ECRing.getParameter<double>("xmin"),
284  psTTCluster_ECRing.getParameter<double>("xmax"));
285  Cluster_OMem_Endcap_Ring_Fw[i]->setAxisTitle("Endcap Ring", 1);
286  Cluster_OMem_Endcap_Ring_Fw[i]->setAxisTitle("# L1 Clusters ", 2);
287  }
288 
289  for (int i = 0; i < numDiscs; i++) {
290  HistoName = "NClusters_OMem_Disc-" + std::to_string(i + 1);
292  HistoName,
293  psTTCluster_ECRing.getParameter<int32_t>("Nbinsx"),
294  psTTCluster_ECRing.getParameter<double>("xmin"),
295  psTTCluster_ECRing.getParameter<double>("xmax"));
296  Cluster_OMem_Endcap_Ring_Bw[i]->setAxisTitle("Endcap Ring", 1);
297  Cluster_OMem_Endcap_Ring_Bw[i]->setAxisTitle("# L1 Clusters ", 2);
298  }
299 
300  iBooker.setCurrentFolder(topFolderName_ + "/Clusters");
301 
302  // Cluster Width
303  edm::ParameterSet psTTClusterWidth = conf_.getParameter<edm::ParameterSet>("TH2TTCluster_Width");
304  HistoName = "Cluster_W";
305  Cluster_W = iBooker.book2D(HistoName,
306  HistoName,
307  psTTClusterWidth.getParameter<int32_t>("Nbinsx"),
308  psTTClusterWidth.getParameter<double>("xmin"),
309  psTTClusterWidth.getParameter<double>("xmax"),
310  psTTClusterWidth.getParameter<int32_t>("Nbinsy"),
311  psTTClusterWidth.getParameter<double>("ymin"),
312  psTTClusterWidth.getParameter<double>("ymax"));
313  Cluster_W->setAxisTitle("L1 Cluster Width", 1);
314  Cluster_W->setAxisTitle("Stack Member", 2);
315 
316  // Cluster eta distribution
317  edm::ParameterSet psTTClusterEta = conf_.getParameter<edm::ParameterSet>("TH1TTCluster_Eta");
318  HistoName = "Cluster_Eta";
319  Cluster_Eta = iBooker.book1D(HistoName,
320  HistoName,
321  psTTClusterEta.getParameter<int32_t>("Nbinsx"),
322  psTTClusterEta.getParameter<double>("xmin"),
323  psTTClusterEta.getParameter<double>("xmax"));
324  Cluster_Eta->setAxisTitle("#eta", 1);
325  Cluster_Eta->setAxisTitle("# L1 Clusters ", 2);
326 
327  // Cluster phi distribution
328  edm::ParameterSet psTTClusterPhi = conf_.getParameter<edm::ParameterSet>("TH1TTCluster_Phi");
329  HistoName = "Cluster_Phi";
330  Cluster_Phi = iBooker.book1D(HistoName,
331  HistoName,
332  psTTClusterPhi.getParameter<int32_t>("Nbinsx"),
333  psTTClusterPhi.getParameter<double>("xmin"),
334  psTTClusterPhi.getParameter<double>("xmax"));
335  Cluster_Phi->setAxisTitle("#phi", 1);
336  Cluster_Phi->setAxisTitle("# L1 Clusters", 2);
337 
338  // Cluster R distribution
339  edm::ParameterSet psTTClusterR = conf_.getParameter<edm::ParameterSet>("TH1TTCluster_R");
340  HistoName = "Cluster_R";
341  Cluster_R = iBooker.book1D(HistoName,
342  HistoName,
343  psTTClusterR.getParameter<int32_t>("Nbinsx"),
344  psTTClusterR.getParameter<double>("xmin"),
345  psTTClusterR.getParameter<double>("xmax"));
346  Cluster_R->setAxisTitle("R [cm]", 1);
347  Cluster_R->setAxisTitle("# L1 Clusters", 2);
348 
349  iBooker.setCurrentFolder(topFolderName_ + "/Clusters/Position");
350 
351  // Position plots
352  edm::ParameterSet psTTCluster_Barrel_XY = conf_.getParameter<edm::ParameterSet>("TH2TTCluster_Position");
353  HistoName = "Cluster_Barrel_XY";
355  HistoName,
356  psTTCluster_Barrel_XY.getParameter<int32_t>("Nbinsx"),
357  psTTCluster_Barrel_XY.getParameter<double>("xmin"),
358  psTTCluster_Barrel_XY.getParameter<double>("xmax"),
359  psTTCluster_Barrel_XY.getParameter<int32_t>("Nbinsy"),
360  psTTCluster_Barrel_XY.getParameter<double>("ymin"),
361  psTTCluster_Barrel_XY.getParameter<double>("ymax"));
362  Cluster_Barrel_XY->setAxisTitle("L1 Cluster Barrel position x [cm]", 1);
363  Cluster_Barrel_XY->setAxisTitle("L1 Cluster Barrel position y [cm]", 2);
364 
365  edm::ParameterSet psTTCluster_Endcap_Fw_XY = conf_.getParameter<edm::ParameterSet>("TH2TTCluster_Position");
366  HistoName = "Cluster_Endcap_Fw_XY";
368  HistoName,
369  psTTCluster_Endcap_Fw_XY.getParameter<int32_t>("Nbinsx"),
370  psTTCluster_Endcap_Fw_XY.getParameter<double>("xmin"),
371  psTTCluster_Endcap_Fw_XY.getParameter<double>("xmax"),
372  psTTCluster_Endcap_Fw_XY.getParameter<int32_t>("Nbinsy"),
373  psTTCluster_Endcap_Fw_XY.getParameter<double>("ymin"),
374  psTTCluster_Endcap_Fw_XY.getParameter<double>("ymax"));
375  Cluster_Endcap_Fw_XY->setAxisTitle("L1 Cluster Forward Endcap position x [cm]", 1);
376  Cluster_Endcap_Fw_XY->setAxisTitle("L1 Cluster Forward Endcap position y [cm]", 2);
377 
378  edm::ParameterSet psTTCluster_Endcap_Bw_XY = conf_.getParameter<edm::ParameterSet>("TH2TTCluster_Position");
379  HistoName = "Cluster_Endcap_Bw_XY";
381  HistoName,
382  psTTCluster_Endcap_Bw_XY.getParameter<int32_t>("Nbinsx"),
383  psTTCluster_Endcap_Bw_XY.getParameter<double>("xmin"),
384  psTTCluster_Endcap_Bw_XY.getParameter<double>("xmax"),
385  psTTCluster_Endcap_Bw_XY.getParameter<int32_t>("Nbinsy"),
386  psTTCluster_Endcap_Bw_XY.getParameter<double>("ymin"),
387  psTTCluster_Endcap_Bw_XY.getParameter<double>("ymax"));
388  Cluster_Endcap_Bw_XY->setAxisTitle("L1 Cluster Backward Endcap position x [cm]", 1);
389  Cluster_Endcap_Bw_XY->setAxisTitle("L1 Cluster Backward Endcap position y [cm]", 2);
390 
391  // TTCluster #rho vs. z
392  edm::ParameterSet psTTCluster_RZ = conf_.getParameter<edm::ParameterSet>("TH2TTCluster_RZ");
393  HistoName = "Cluster_RZ";
394  Cluster_RZ = iBooker.book2D(HistoName,
395  HistoName,
396  psTTCluster_RZ.getParameter<int32_t>("Nbinsx"),
397  psTTCluster_RZ.getParameter<double>("xmin"),
398  psTTCluster_RZ.getParameter<double>("xmax"),
399  psTTCluster_RZ.getParameter<int32_t>("Nbinsy"),
400  psTTCluster_RZ.getParameter<double>("ymin"),
401  psTTCluster_RZ.getParameter<double>("ymax"));
402  Cluster_RZ->setAxisTitle("L1 Cluster position z [cm]", 1);
403  Cluster_RZ->setAxisTitle("L1 Cluster position #rho [cm]", 2);
404 
405 } // end of method

References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), Cluster_Barrel_XY, Cluster_Endcap_Bw_XY, Cluster_Endcap_Fw_XY, Cluster_Eta, Cluster_IMem_Barrel, Cluster_IMem_Endcap_Disc, Cluster_IMem_Endcap_Ring, Cluster_IMem_Endcap_Ring_Bw, Cluster_IMem_Endcap_Ring_Fw, Cluster_OMem_Barrel, Cluster_OMem_Endcap_Disc, Cluster_OMem_Endcap_Ring, Cluster_OMem_Endcap_Ring_Bw, Cluster_OMem_Endcap_Ring_Fw, Cluster_Phi, Cluster_R, Cluster_RZ, Cluster_W, conf_, edm::ParameterSet::getParameter(), mps_fire::i, dqm::impl::MonitorElement::setAxisTitle(), dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and topFolderName_.

Member Data Documentation

◆ Cluster_Barrel_XY

MonitorElement* OuterTrackerMonitorTTCluster::Cluster_Barrel_XY = nullptr

Definition at line 71 of file OuterTrackerMonitorTTCluster.cc.

Referenced by analyze(), and bookHistograms().

◆ Cluster_Endcap_Bw_XY

MonitorElement* OuterTrackerMonitorTTCluster::Cluster_Endcap_Bw_XY = nullptr

Definition at line 73 of file OuterTrackerMonitorTTCluster.cc.

Referenced by analyze(), and bookHistograms().

◆ Cluster_Endcap_Fw_XY

MonitorElement* OuterTrackerMonitorTTCluster::Cluster_Endcap_Fw_XY = nullptr

Definition at line 72 of file OuterTrackerMonitorTTCluster.cc.

Referenced by analyze(), and bookHistograms().

◆ Cluster_Eta

MonitorElement* OuterTrackerMonitorTTCluster::Cluster_Eta = nullptr

Definition at line 69 of file OuterTrackerMonitorTTCluster.cc.

Referenced by analyze(), and bookHistograms().

◆ Cluster_IMem_Barrel

MonitorElement* OuterTrackerMonitorTTCluster::Cluster_IMem_Barrel = nullptr

Definition at line 56 of file OuterTrackerMonitorTTCluster.cc.

Referenced by analyze(), and bookHistograms().

◆ Cluster_IMem_Endcap_Disc

MonitorElement* OuterTrackerMonitorTTCluster::Cluster_IMem_Endcap_Disc = nullptr

Definition at line 57 of file OuterTrackerMonitorTTCluster.cc.

Referenced by analyze(), and bookHistograms().

◆ Cluster_IMem_Endcap_Ring

MonitorElement* OuterTrackerMonitorTTCluster::Cluster_IMem_Endcap_Ring = nullptr

Definition at line 58 of file OuterTrackerMonitorTTCluster.cc.

Referenced by analyze(), and bookHistograms().

◆ Cluster_IMem_Endcap_Ring_Bw

MonitorElement* OuterTrackerMonitorTTCluster::Cluster_IMem_Endcap_Ring_Bw[5] = {nullptr, nullptr, nullptr, nullptr, nullptr}

Definition at line 60 of file OuterTrackerMonitorTTCluster.cc.

Referenced by analyze(), and bookHistograms().

◆ Cluster_IMem_Endcap_Ring_Fw

MonitorElement* OuterTrackerMonitorTTCluster::Cluster_IMem_Endcap_Ring_Fw[5] = {nullptr, nullptr, nullptr, nullptr, nullptr}

Definition at line 59 of file OuterTrackerMonitorTTCluster.cc.

Referenced by analyze(), and bookHistograms().

◆ Cluster_OMem_Barrel

MonitorElement* OuterTrackerMonitorTTCluster::Cluster_OMem_Barrel = nullptr

Definition at line 61 of file OuterTrackerMonitorTTCluster.cc.

Referenced by analyze(), and bookHistograms().

◆ Cluster_OMem_Endcap_Disc

MonitorElement* OuterTrackerMonitorTTCluster::Cluster_OMem_Endcap_Disc = nullptr

Definition at line 62 of file OuterTrackerMonitorTTCluster.cc.

Referenced by analyze(), and bookHistograms().

◆ Cluster_OMem_Endcap_Ring

MonitorElement* OuterTrackerMonitorTTCluster::Cluster_OMem_Endcap_Ring = nullptr

Definition at line 63 of file OuterTrackerMonitorTTCluster.cc.

Referenced by analyze(), and bookHistograms().

◆ Cluster_OMem_Endcap_Ring_Bw

MonitorElement* OuterTrackerMonitorTTCluster::Cluster_OMem_Endcap_Ring_Bw[5] = {nullptr, nullptr, nullptr, nullptr, nullptr}

Definition at line 65 of file OuterTrackerMonitorTTCluster.cc.

Referenced by analyze(), and bookHistograms().

◆ Cluster_OMem_Endcap_Ring_Fw

MonitorElement* OuterTrackerMonitorTTCluster::Cluster_OMem_Endcap_Ring_Fw[5] = {nullptr, nullptr, nullptr, nullptr, nullptr}

Definition at line 64 of file OuterTrackerMonitorTTCluster.cc.

Referenced by analyze(), and bookHistograms().

◆ Cluster_Phi

MonitorElement* OuterTrackerMonitorTTCluster::Cluster_Phi = nullptr

Definition at line 67 of file OuterTrackerMonitorTTCluster.cc.

Referenced by analyze(), and bookHistograms().

◆ Cluster_R

MonitorElement* OuterTrackerMonitorTTCluster::Cluster_R = nullptr

Definition at line 68 of file OuterTrackerMonitorTTCluster.cc.

Referenced by analyze(), and bookHistograms().

◆ Cluster_RZ

MonitorElement* OuterTrackerMonitorTTCluster::Cluster_RZ = nullptr

Definition at line 74 of file OuterTrackerMonitorTTCluster.cc.

Referenced by analyze(), and bookHistograms().

◆ Cluster_W

MonitorElement* OuterTrackerMonitorTTCluster::Cluster_W = nullptr

Definition at line 66 of file OuterTrackerMonitorTTCluster.cc.

Referenced by analyze(), and bookHistograms().

◆ conf_

edm::ParameterSet OuterTrackerMonitorTTCluster::conf_
private

Definition at line 77 of file OuterTrackerMonitorTTCluster.cc.

Referenced by bookHistograms(), and OuterTrackerMonitorTTCluster().

◆ tagTTClustersToken_

edm::EDGetTokenT<edmNew::DetSetVector<TTCluster<Ref_Phase2TrackerDigi_> > > OuterTrackerMonitorTTCluster::tagTTClustersToken_
private

Definition at line 78 of file OuterTrackerMonitorTTCluster.cc.

Referenced by analyze(), and OuterTrackerMonitorTTCluster().

◆ topFolderName_

std::string OuterTrackerMonitorTTCluster::topFolderName_
private

Definition at line 79 of file OuterTrackerMonitorTTCluster.cc.

Referenced by bookHistograms(), and OuterTrackerMonitorTTCluster().

OuterTrackerMonitorTTCluster::Cluster_IMem_Endcap_Disc
MonitorElement * Cluster_IMem_Endcap_Disc
Definition: OuterTrackerMonitorTTCluster.cc:57
TrackerGeometry::idToDet
const TrackerGeomDet * idToDet(DetId) const override
Definition: TrackerGeometry.cc:193
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
Point2DBase
Definition: Point2DBase.h:9
mps_fire.i
i
Definition: mps_fire.py:428
OuterTrackerMonitorTTCluster::Cluster_RZ
MonitorElement * Cluster_RZ
Definition: OuterTrackerMonitorTTCluster.cc:74
GeomDet
Definition: GeomDet.h:27
OuterTrackerMonitorTTCluster::Cluster_IMem_Endcap_Ring
MonitorElement * Cluster_IMem_Endcap_Ring
Definition: OuterTrackerMonitorTTCluster.cc:58
PV3DBase::x
T x() const
Definition: PV3DBase.h:59
TrackerTopology
Definition: TrackerTopology.h:16
OuterTrackerMonitorTTCluster::Cluster_OMem_Endcap_Ring_Fw
MonitorElement * Cluster_OMem_Endcap_Ring_Fw[5]
Definition: OuterTrackerMonitorTTCluster.cc:64
OuterTrackerMonitorTTCluster::tagTTClustersToken_
edm::EDGetTokenT< edmNew::DetSetVector< TTCluster< Ref_Phase2TrackerDigi_ > > > tagTTClustersToken_
Definition: OuterTrackerMonitorTTCluster.cc:78
edmNew::makeRefTo
edm::Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type > makeRefTo(const HandleT &iHandle, typename HandleT::element_type::value_type::const_iterator itIter)
Definition: DetSetVectorNew.h:689
OuterTrackerMonitorTTCluster::Cluster_Eta
MonitorElement * Cluster_Eta
Definition: OuterTrackerMonitorTTCluster.cc:69
OuterTrackerMonitorTTCluster::Cluster_OMem_Endcap_Ring_Bw
MonitorElement * Cluster_OMem_Endcap_Ring_Bw[5]
Definition: OuterTrackerMonitorTTCluster.cc:65
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
TrackerTopology::layer
unsigned int layer(const DetId &id) const
Definition: TrackerTopology.cc:47
GeomDet::topology
virtual const Topology & topology() const
Definition: GeomDet.cc:67
edmNew::DetSetVector::begin
const_iterator begin(bool update=false) const
Definition: DetSetVectorNew.h:530
Topology::localPosition
virtual LocalPoint localPosition(const MeasurementPoint &) const =0
OuterTrackerMonitorTTCluster::conf_
edm::ParameterSet conf_
Definition: OuterTrackerMonitorTTCluster.cc:77
OuterTrackerMonitorTTCluster::Cluster_IMem_Endcap_Ring_Fw
MonitorElement * Cluster_IMem_Endcap_Ring_Fw[5]
Definition: OuterTrackerMonitorTTCluster.cc:59
edm::Handle
Definition: AssociativeIterator.h:50
OuterTrackerMonitorTTCluster::Cluster_OMem_Endcap_Disc
MonitorElement * Cluster_OMem_Endcap_Disc
Definition: OuterTrackerMonitorTTCluster.cc:62
TrackerTopology::tidRing
unsigned int tidRing(const DetId &id) const
Definition: TrackerTopology.h:218
edm::Ref
Definition: AssociativeIterator.h:58
PV3DBase::z
T z() const
Definition: PV3DBase.h:61
DetId
Definition: DetId.h:17
GeomDet::surface
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37
edm::EventSetup::get
T get() const
Definition: EventSetup.h:80
TrackerDigiGeometryRecord
Definition: TrackerDigiGeometryRecord.h:15
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
Surface::toGlobal
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
Definition: Surface.h:79
DDAxes::z
edm::ESHandle< TrackerTopology >
edmNew::DetSet
Definition: DetSetNew.h:22
Point3DBase< float, GlobalTag >
OuterTrackerMonitorTTCluster::Cluster_OMem_Barrel
MonitorElement * Cluster_OMem_Barrel
Definition: OuterTrackerMonitorTTCluster.cc:61
DetId::subdetId
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
Definition: DetId.h:48
OuterTrackerMonitorTTCluster::Cluster_R
MonitorElement * Cluster_R
Definition: OuterTrackerMonitorTTCluster.cc:68
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
OuterTrackerMonitorTTCluster::Cluster_Endcap_Bw_XY
MonitorElement * Cluster_Endcap_Bw_XY
Definition: OuterTrackerMonitorTTCluster.cc:73
OuterTrackerMonitorTTCluster::Cluster_IMem_Endcap_Ring_Bw
MonitorElement * Cluster_IMem_Endcap_Ring_Bw[5]
Definition: OuterTrackerMonitorTTCluster.cc:60
PV3DBase::eta
T eta() const
Definition: PV3DBase.h:73
PV3DBase::y
T y() const
Definition: PV3DBase.h:60
iEvent
int iEvent
Definition: GenABIO.cc:224
cscdqm::HistoName
std::string HistoName
Definition: CSCDQM_HistoDef.h:32
OuterTrackerMonitorTTCluster::Cluster_W
MonitorElement * Cluster_W
Definition: OuterTrackerMonitorTTCluster.cc:66
OuterTrackerMonitorTTCluster::topFolderName_
std::string topFolderName_
Definition: OuterTrackerMonitorTTCluster.cc:79
get
#define get
OuterTrackerMonitorTTCluster::Cluster_Phi
MonitorElement * Cluster_Phi
Definition: OuterTrackerMonitorTTCluster.cc:67
alignCSCRings.r
r
Definition: alignCSCRings.py:93
OuterTrackerMonitorTTCluster::Cluster_OMem_Endcap_Ring
MonitorElement * Cluster_OMem_Endcap_Ring
Definition: OuterTrackerMonitorTTCluster.cc:63
edmNew::DetSetVector
Definition: DetSetNew.h:13
edmNew::DetSetVector::end
const_iterator end(bool update=false) const
Definition: DetSetVectorNew.h:535
dqm::implementation::IBooker::book2D
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:177
OuterTrackerMonitorTTCluster::Cluster_IMem_Barrel
MonitorElement * Cluster_IMem_Barrel
Definition: OuterTrackerMonitorTTCluster.cc:56
StripSubdetector::TOB
static constexpr auto TOB
Definition: StripSubdetector.h:18
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
TTCluster
NOTE: this is needed even if it seems not.
Definition: TTCluster.h:27
OuterTrackerMonitorTTCluster::Cluster_Endcap_Fw_XY
MonitorElement * Cluster_Endcap_Fw_XY
Definition: OuterTrackerMonitorTTCluster.cc:72
OuterTrackerMonitorTTCluster::Cluster_Barrel_XY
MonitorElement * Cluster_Barrel_XY
Definition: OuterTrackerMonitorTTCluster.cc:71
TrackerTopologyRcd
Definition: TrackerTopologyRcd.h:10
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
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
PV3DBase::perp
T perp() const
Definition: PV3DBase.h:69
edm::InputTag
Definition: InputTag.h:15
PV3DBase::phi
Geom::Phi< T > phi() const
Definition: PV3DBase.h:66
StripSubdetector::TID
static constexpr auto TID
Definition: StripSubdetector.h:17
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
TrackerGeometry
Definition: TrackerGeometry.h:14