CMS 3D CMS Logo

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

#include <DTSegmentAnalysisTask.h>

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

Public Member Functions

void analyze (const edm::Event &event, const edm::EventSetup &setup) override
 
void dqmBeginRun (const edm::Run &, const edm::EventSetup &) override
 BeginRun. More...
 
 DTSegmentAnalysisTask (const edm::ParameterSet &pset)
 Constructor. More...
 
 ~DTSegmentAnalysisTask () 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
 
 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
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 

Protected Member Functions

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

Private Member Functions

void bookHistos (DQMStore::IBooker &ibooker, DTChamberId chamberId)
 
void fillHistos (DTChamberId chamberId, int nHits, float chi2)
 

Private Attributes

bool checkNoisyChannels
 
bool detailedAnalysis
 
const DTGeometrydtGeom
 
std::map< DTChamberId, std::vector< MonitorElement * > > histosPerCh
 
bool hltDQMMode
 
edm::ESGetToken< DTGeometry, MuonGeometryRecordmuonGeomToken_
 
MonitorElementnEventMonitor
 
int nevents
 
int nhitsCut
 
double phiSegmCut
 
edm::EDGetTokenT< DTRecSegment4DCollectionrecHits4DToken_
 
const DTStatusFlagstatusMap
 
edm::ESGetToken< DTStatusFlag, DTStatusFlagRcdstatusMapToken_
 
std::map< int, MonitorElement * > summaryHistos
 
std::string topHistoFolder
 

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 >
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::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

DQM Analysis of 4D DT segments, it produces plots about:

Author
G. Cerminara - INFN Torino

Definition at line 42 of file DTSegmentAnalysisTask.h.

Constructor & Destructor Documentation

◆ DTSegmentAnalysisTask()

DTSegmentAnalysisTask::DTSegmentAnalysisTask ( const edm::ParameterSet pset)

Constructor.

Definition at line 33 of file DTSegmentAnalysisTask.cc.

34  : muonGeomToken_(esConsumes<edm::Transition::BeginRun>()), statusMapToken_(esConsumes()), nevents(0) {
35  edm::LogVerbatim("DTDQM|DTMonitorModule|DTSegmentAnalysisTask") << "[DTSegmentAnalysisTask] Constructor called!";
36 
37  // switch for detailed analysis
38  detailedAnalysis = pset.getUntrackedParameter<bool>("detailedAnalysis", false);
39  // the name of the 4D rec hits collection
40  recHits4DToken_ = consumes<DTRecSegment4DCollection>(edm::InputTag(pset.getParameter<string>("recHits4DLabel")));
41  // Get the map of noisy channels
42  checkNoisyChannels = pset.getUntrackedParameter<bool>("checkNoisyChannels", false);
43  phiSegmCut = pset.getUntrackedParameter<double>("phiSegmCut", 30.);
44  nhitsCut = pset.getUntrackedParameter<int>("nhitsCut", 12);
45 
46  // top folder for the histograms in DQMStore
47  topHistoFolder = pset.getUntrackedParameter<string>("topHistoFolder", "DT/02-Segments");
48  // hlt DQM mode
49  hltDQMMode = pset.getUntrackedParameter<bool>("hltDQMMode", false);
50 }

References checkNoisyChannels, detailedAnalysis, hltDQMMode, nhitsCut, phiSegmCut, muonDTDigis_cfi::pset, recHits4DToken_, and topHistoFolder.

◆ ~DTSegmentAnalysisTask()

DTSegmentAnalysisTask::~DTSegmentAnalysisTask ( )
override

Destructor.

Definition at line 52 of file DTSegmentAnalysisTask.cc.

52  {
53  //FR moved fron endjob
54  edm::LogVerbatim("DTDQM|DTMonitorModule|DTSegmentAnalysisTask") << "[DTSegmentAnalysisTask] Destructor called!";
55 }

Member Function Documentation

◆ analyze()

void DTSegmentAnalysisTask::analyze ( const edm::Event event,
const edm::EventSetup setup 
)
overridevirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 105 of file DTSegmentAnalysisTask.cc.

105  {
106  nevents++;
108 
109  edm::LogVerbatim("DTDQM|DTMonitorModule|DTSegmentAnalysisTask")
110  << "[DTSegmentAnalysisTask] Analyze #Run: " << event.id().run() << " #Event: " << event.id().event();
111  if (!(event.id().event() % 1000))
112  edm::LogVerbatim("DTDQM|DTMonitorModule|DTSegmentAnalysisTask")
113  << "[DTSegmentAnalysisTask] Analyze #Run: " << event.id().run() << " #Event: " << event.id().event();
114 
115  if (checkNoisyChannels) {
116  statusMap = &setup.getData(statusMapToken_);
117  }
118 
119  // -- 4D segment analysis -----------------------------------------------------
120 
121  // Get the 4D segment collection from the event
123  event.getByToken(recHits4DToken_, all4DSegments);
124 
125  if (!all4DSegments.isValid())
126  return;
127 
128  // Loop over all chambers containing a segment
130  for (chamberId = all4DSegments->id_begin(); chamberId != all4DSegments->id_end(); ++chamberId) {
131  // Get the range for the corresponding ChamerId
132  DTRecSegment4DCollection::range range = all4DSegments->get(*chamberId);
133 
134  edm::LogVerbatim("DTDQM|DTMonitorModule|DTSegmentAnalysisTask")
135  << " Chamber: " << *chamberId << " has " << distance(range.first, range.second) << " 4D segments";
136 
137  // Loop over the rechits of this ChamerId
138  for (DTRecSegment4DCollection::const_iterator segment4D = range.first; segment4D != range.second; ++segment4D) {
139  //FOR NOISY CHANNELS////////////////////////////////
140  bool segmNoisy = false;
141  if (checkNoisyChannels) {
142  if ((*segment4D).hasPhi()) {
143  const DTChamberRecSegment2D* phiSeg = (*segment4D).phiSegment();
144  vector<DTRecHit1D> phiHits = phiSeg->specificRecHits();
145  map<DTSuperLayerId, vector<DTRecHit1D> > hitsBySLMap;
146  for (vector<DTRecHit1D>::const_iterator hit = phiHits.begin(); hit != phiHits.end(); ++hit) {
147  DTWireId wireId = (*hit).wireId();
148 
149  // Check for noisy channels to skip them
150  bool isNoisy = false;
151  bool isFEMasked = false;
152  bool isTDCMasked = false;
153  bool isTrigMask = false;
154  bool isDead = false;
155  bool isNohv = false;
156  statusMap->cellStatus(wireId, isNoisy, isFEMasked, isTDCMasked, isTrigMask, isDead, isNohv);
157  if (isNoisy) {
158  edm::LogVerbatim("DTDQM|DTMonitorModule|DTSegmentAnalysisTask")
159  << "Wire: " << wireId << " is noisy, skipping!";
160  segmNoisy = true;
161  }
162  }
163  }
164 
165  if ((*segment4D).hasZed()) {
166  const DTSLRecSegment2D* zSeg = (*segment4D).zSegment(); // zSeg lives in the SL RF
167  // Check for noisy channels to skip them
168  vector<DTRecHit1D> zHits = zSeg->specificRecHits();
169  for (vector<DTRecHit1D>::const_iterator hit = zHits.begin(); hit != zHits.end(); ++hit) {
170  DTWireId wireId = (*hit).wireId();
171  bool isNoisy = false;
172  bool isFEMasked = false;
173  bool isTDCMasked = false;
174  bool isTrigMask = false;
175  bool isDead = false;
176  bool isNohv = false;
177  statusMap->cellStatus(wireId, isNoisy, isFEMasked, isTDCMasked, isTrigMask, isDead, isNohv);
178  if (isNoisy) {
179  edm::LogVerbatim("DTDQM|DTMonitorModule|DTSegmentAnalysisTask")
180  << "Wire: " << wireId << " is noisy, skipping!";
181  segmNoisy = true;
182  }
183  }
184  }
185 
186  } // end of switch on noisy channels
187  if (segmNoisy) {
188  edm::LogVerbatim("DTDQM|DTMonitorModule|DTSegmentAnalysisTask")
189  << "skipping the segment: it contains noisy cells";
190  continue;
191  }
192  //END FOR NOISY CHANNELS////////////////////////////////
193 
194  int nHits = 0;
195  if ((*segment4D).hasPhi())
196  nHits = (((*segment4D).phiSegment())->specificRecHits()).size();
197  if ((*segment4D).hasZed())
198  nHits = nHits + ((((*segment4D).zSegment())->specificRecHits()).size());
199 
200  double anglePhiSegm(0.);
201  if ((*segment4D).hasPhi()) {
202  double xdir = (*segment4D).phiSegment()->localDirection().x();
203  double zdir = (*segment4D).phiSegment()->localDirection().z();
204 
205  anglePhiSegm = atan(xdir / zdir) * 180. / TMath::Pi();
206  }
207  if (fabs(anglePhiSegm) > phiSegmCut)
208  continue;
209  // If the segment is in Wh+-2/SecX/MB1, get the DT chambers just above and check if there is a segment
210  // to validate the segment present in MB1
211  if (fabs((*chamberId).wheel()) == 2 && (*chamberId).station() == 1) {
212  bool segmOk = false;
213  int mb(2);
214  while (mb < 4) {
215  DTChamberId checkMB((*chamberId).wheel(), mb, (*chamberId).sector());
216  DTRecSegment4DCollection::range ckrange = all4DSegments->get(checkMB);
217 
218  for (DTRecSegment4DCollection::const_iterator cksegment4D = ckrange.first; cksegment4D != ckrange.second;
219  ++cksegment4D) {
220  int nHits = 0;
221  if ((*cksegment4D).hasPhi())
222  nHits = (((*cksegment4D).phiSegment())->specificRecHits()).size();
223  if ((*cksegment4D).hasZed())
224  nHits = nHits + ((((*cksegment4D).zSegment())->specificRecHits()).size());
225 
226  if (nHits >= nhitsCut)
227  segmOk = true;
228  }
229  mb++;
230  }
231 
232  if (!segmOk)
233  continue;
234  }
235  fillHistos(*chamberId, nHits, (*segment4D).chi2() / (*segment4D).degreesOfFreedom());
236  }
237  }
238 
239  // -----------------------------------------------------------------------------
240 }

References DTStatusFlag::cellStatus(), checkNoisyChannels, HLT_FULL_cff::distance, dqm::impl::MonitorElement::Fill(), fillHistos(), edm::HandleBase::isValid(), nEventMonitor, nevents, nHits, nhitsCut, phiSegmCut, Pi, FastTimerService_cff::range, recHits4DToken_, singleTopDQM_cfi::setup, findQualityFiles::size, DTRecSegment2D::specificRecHits(), statusMap, statusMapToken_, and xdir.

◆ bookHistograms()

void DTSegmentAnalysisTask::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  iRun,
edm::EventSetup const &  context 
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 62 of file DTSegmentAnalysisTask.cc.

64  {
65  if (!hltDQMMode) {
66  ibooker.setCurrentFolder("DT/EventInfo/Counters");
67  nEventMonitor = ibooker.bookFloat("nProcessedEventsSegment");
68  }
69 
70  for (int wh = -2; wh <= 2; wh++) {
71  stringstream wheel;
72  wheel << wh;
73  ibooker.setCurrentFolder(topHistoFolder + "/Wheel" + wheel.str());
74  string histoName = "numberOfSegments_W" + wheel.str();
75 
76  summaryHistos[wh] = ibooker.book2D(histoName.c_str(), histoName.c_str(), 12, 1, 13, 4, 1, 5);
77  summaryHistos[wh]->setAxisTitle("Sector", 1);
78  summaryHistos[wh]->setBinLabel(1, "1", 1);
79  summaryHistos[wh]->setBinLabel(2, "2", 1);
80  summaryHistos[wh]->setBinLabel(3, "3", 1);
81  summaryHistos[wh]->setBinLabel(4, "4", 1);
82  summaryHistos[wh]->setBinLabel(5, "5", 1);
83  summaryHistos[wh]->setBinLabel(6, "6", 1);
84  summaryHistos[wh]->setBinLabel(7, "7", 1);
85  summaryHistos[wh]->setBinLabel(8, "8", 1);
86  summaryHistos[wh]->setBinLabel(9, "9", 1);
87  summaryHistos[wh]->setBinLabel(10, "10", 1);
88  summaryHistos[wh]->setBinLabel(11, "11", 1);
89  summaryHistos[wh]->setBinLabel(12, "12", 1);
90  summaryHistos[wh]->setBinLabel(1, "MB1", 2);
91  summaryHistos[wh]->setBinLabel(2, "MB2", 2);
92  summaryHistos[wh]->setBinLabel(3, "MB3", 2);
93  summaryHistos[wh]->setBinLabel(4, "MB4", 2);
94  }
95 
96  // loop over all the DT chambers & book the histos
97  const vector<const DTChamber*>& chambers = dtGeom->chambers();
98  vector<const DTChamber*>::const_iterator ch_it = chambers.begin();
99  vector<const DTChamber*>::const_iterator ch_end = chambers.end();
100  for (; ch_it != ch_end; ++ch_it) {
101  bookHistos(ibooker, (*ch_it)->id());
102  }
103 }

References dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::bookFloat(), bookHistos(), DTGeometry::chambers(), chambers, dtGeom, HltBtagPostValidation_cff::histoName, hltDQMMode, nEventMonitor, dqm::implementation::NavigatorBase::setCurrentFolder(), summaryHistos, topHistoFolder, and makeMuonMisalignmentScenario::wheel.

◆ bookHistos()

void DTSegmentAnalysisTask::bookHistos ( DQMStore::IBooker ibooker,
DTChamberId  chamberId 
)
private

Definition at line 243 of file DTSegmentAnalysisTask.cc.

243  {
244  edm::LogVerbatim("DTDQM|DTMonitorModule|DTSegmentAnalysisTask") << " Booking histos for chamber: " << chamberId;
245 
246  // Compose the chamber name
247  stringstream wheel;
248  wheel << chamberId.wheel();
249  stringstream station;
250  station << chamberId.station();
251  stringstream sector;
252  sector << chamberId.sector();
253 
254  string chamberHistoName = "_W" + wheel.str() + "_St" + station.str() + "_Sec" + sector.str();
255 
256  ibooker.setCurrentFolder(topHistoFolder + "/Wheel" + wheel.str() + "/Sector" + sector.str() + "/Station" +
257  station.str());
258 
259  // Create the monitor elements
260  vector<MonitorElement*> histos;
261  histos.push_back(ibooker.book1D("h4DSegmNHits" + chamberHistoName, "# of hits per segment", 16, 0.5, 16.5));
262  if (detailedAnalysis) {
263  histos.push_back(ibooker.book1D("h4DChi2" + chamberHistoName, "4D Segment reduced Chi2", 20, 0, 20));
264  }
265  histosPerCh[chamberId] = histos;
266 }

References dqm::implementation::IBooker::book1D(), detailedAnalysis, combine::histos, histosPerCh, DTChamberId::sector(), dqm::implementation::NavigatorBase::setCurrentFolder(), DTChamberId::station(), relativeConstraints::station, topHistoFolder, DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.

Referenced by bookHistograms().

◆ dqmBeginRun()

void DTSegmentAnalysisTask::dqmBeginRun ( const edm::Run run,
const edm::EventSetup context 
)
overridevirtual

BeginRun.

Reimplemented from DQMEDAnalyzer.

Definition at line 57 of file DTSegmentAnalysisTask.cc.

57  {
58  // Get the DT Geometry
59  dtGeom = &context.getData(muonGeomToken_);
60 }

References visDQMUpload::context, dtGeom, and muonGeomToken_.

◆ fillHistos()

void DTSegmentAnalysisTask::fillHistos ( DTChamberId  chamberId,
int  nHits,
float  chi2 
)
private

Definition at line 269 of file DTSegmentAnalysisTask.cc.

269  {
270  int sector = chamberId.sector();
271  if (chamberId.sector() == 13) {
272  sector = 4;
273  } else if (chamberId.sector() == 14) {
274  sector = 10;
275  }
276 
277  summaryHistos[chamberId.wheel()]->Fill(sector, chamberId.station());
278 
279  vector<MonitorElement*> histos = histosPerCh[chamberId];
280  histos[0]->Fill(nHits);
281  if (detailedAnalysis) {
282  histos[1]->Fill(chi2);
283  }
284 }

References hltPixelTracks_cff::chi2, detailedAnalysis, combine::histos, histosPerCh, nHits, DTChamberId::sector(), DTChamberId::station(), summaryHistos, and DTChamberId::wheel().

Referenced by analyze().

Member Data Documentation

◆ checkNoisyChannels

bool DTSegmentAnalysisTask::checkNoisyChannels
private

Definition at line 76 of file DTSegmentAnalysisTask.h.

Referenced by analyze(), and DTSegmentAnalysisTask().

◆ detailedAnalysis

bool DTSegmentAnalysisTask::detailedAnalysis
private

Definition at line 62 of file DTSegmentAnalysisTask.h.

Referenced by bookHistos(), DTSegmentAnalysisTask(), and fillHistos().

◆ dtGeom

const DTGeometry* DTSegmentAnalysisTask::dtGeom
private

Definition at line 66 of file DTSegmentAnalysisTask.h.

Referenced by bookHistograms(), and dqmBeginRun().

◆ histosPerCh

std::map<DTChamberId, std::vector<MonitorElement*> > DTSegmentAnalysisTask::histosPerCh
private

Definition at line 84 of file DTSegmentAnalysisTask.h.

Referenced by bookHistos(), and fillHistos().

◆ hltDQMMode

bool DTSegmentAnalysisTask::hltDQMMode
private

Definition at line 91 of file DTSegmentAnalysisTask.h.

Referenced by bookHistograms(), and DTSegmentAnalysisTask().

◆ muonGeomToken_

edm::ESGetToken<DTGeometry, MuonGeometryRecord> DTSegmentAnalysisTask::muonGeomToken_
private

Definition at line 65 of file DTSegmentAnalysisTask.h.

Referenced by dqmBeginRun().

◆ nEventMonitor

MonitorElement* DTSegmentAnalysisTask::nEventMonitor
private

Definition at line 97 of file DTSegmentAnalysisTask.h.

Referenced by analyze(), and bookHistograms().

◆ nevents

int DTSegmentAnalysisTask::nevents
private

Definition at line 87 of file DTSegmentAnalysisTask.h.

Referenced by analyze().

◆ nhitsCut

int DTSegmentAnalysisTask::nhitsCut
private

Definition at line 95 of file DTSegmentAnalysisTask.h.

Referenced by analyze(), and DTSegmentAnalysisTask().

◆ phiSegmCut

double DTSegmentAnalysisTask::phiSegmCut
private

Definition at line 93 of file DTSegmentAnalysisTask.h.

Referenced by analyze(), and DTSegmentAnalysisTask().

◆ recHits4DToken_

edm::EDGetTokenT<DTRecSegment4DCollection> DTSegmentAnalysisTask::recHits4DToken_
private

Definition at line 73 of file DTSegmentAnalysisTask.h.

Referenced by analyze(), and DTSegmentAnalysisTask().

◆ statusMap

const DTStatusFlag* DTSegmentAnalysisTask::statusMap
private

Definition at line 70 of file DTSegmentAnalysisTask.h.

Referenced by analyze().

◆ statusMapToken_

edm::ESGetToken<DTStatusFlag, DTStatusFlagRcd> DTSegmentAnalysisTask::statusMapToken_
private

Definition at line 69 of file DTSegmentAnalysisTask.h.

Referenced by analyze().

◆ summaryHistos

std::map<int, MonitorElement*> DTSegmentAnalysisTask::summaryHistos
private

Definition at line 85 of file DTSegmentAnalysisTask.h.

Referenced by bookHistograms(), and fillHistos().

◆ topHistoFolder

std::string DTSegmentAnalysisTask::topHistoFolder
private

Definition at line 89 of file DTSegmentAnalysisTask.h.

Referenced by bookHistograms(), bookHistos(), and DTSegmentAnalysisTask().

DTSegmentAnalysisTask::topHistoFolder
std::string topHistoFolder
Definition: DTSegmentAnalysisTask.h:89
DTSegmentAnalysisTask::statusMap
const DTStatusFlag * statusMap
Definition: DTSegmentAnalysisTask.h:70
DTSLRecSegment2D
Definition: DTSLRecSegment2D.h:15
DTSegmentAnalysisTask::nhitsCut
int nhitsCut
Definition: DTSegmentAnalysisTask.h:95
FastTimerService_cff.range
range
Definition: FastTimerService_cff.py:34
DTSegmentAnalysisTask::checkNoisyChannels
bool checkNoisyChannels
Definition: DTSegmentAnalysisTask.h:76
DTStatusFlag::cellStatus
int cellStatus(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool &noiseFlag, bool &feMask, bool &tdcMask, bool &trigMask, bool &deadFlag, bool &nohvFlag) const
get content
Definition: DTStatusFlag.h:88
dqm::implementation::IBooker::bookFloat
MonitorElement * bookFloat(TString const &name, FUNC onbooking=NOOP())
Definition: DQMStore.h:80
DTSegmentAnalysisTask::dtGeom
const DTGeometry * dtGeom
Definition: DTSegmentAnalysisTask.h:66
relativeConstraints.station
station
Definition: relativeConstraints.py:67
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
DTSegmentAnalysisTask::statusMapToken_
edm::ESGetToken< DTStatusFlag, DTStatusFlagRcd > statusMapToken_
Definition: DTSegmentAnalysisTask.h:69
hltPixelTracks_cff.chi2
chi2
Definition: hltPixelTracks_cff.py:25
edm::Handle< DTRecSegment4DCollection >
edm::RangeMap::id_iterator
identifier iterator
Definition: RangeMap.h:130
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
visDQMUpload.context
context
Definition: visDQMUpload.py:37
DTSegmentAnalysisTask::muonGeomToken_
edm::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
Definition: DTSegmentAnalysisTask.h:65
DTWireId
Definition: DTWireId.h:12
nHits
const caConstants::TupleMultiplicity *__restrict__ const HitsOnGPU *__restrict__ double *__restrict__ float *__restrict__ double *__restrict__ uint32_t nHits
Definition: BrokenLineFitOnGPU.h:27
DTGeometry::chambers
const std::vector< const DTChamber * > & chambers() const
Return a vector of all Chamber.
Definition: DTGeometry.cc:84
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
DTSegmentAnalysisTask::fillHistos
void fillHistos(DTChamberId chamberId, int nHits, float chi2)
Definition: DTSegmentAnalysisTask.cc:269
edm::RangeMap::const_iterator
C::const_iterator const_iterator
constant access iterator type
Definition: RangeMap.h:43
makeMuonMisalignmentScenario.wheel
wheel
Definition: makeMuonMisalignmentScenario.py:319
DTChamberRecSegment2D
Definition: DTChamberRecSegment2D.h:31
chambers
static char chambers[264][20]
Definition: ReadPGInfo.cc:243
xdir
Definition: DeviationsFromFileSensor2D.cc:15
combine.histos
histos
Definition: combine.py:4
DTSegmentAnalysisTask::nEventMonitor
MonitorElement * nEventMonitor
Definition: DTSegmentAnalysisTask.h:97
DTChamberId::sector
int sector() const
Definition: DTChamberId.h:49
edm::RangeMap::range
std::pair< const_iterator, const_iterator > range
iterator range
Definition: RangeMap.h:50
DTSegmentAnalysisTask::hltDQMMode
bool hltDQMMode
Definition: DTSegmentAnalysisTask.h:91
DTSegmentAnalysisTask::histosPerCh
std::map< DTChamberId, std::vector< MonitorElement * > > histosPerCh
Definition: DTSegmentAnalysisTask.h:84
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
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
DTSegmentAnalysisTask::detailedAnalysis
bool detailedAnalysis
Definition: DTSegmentAnalysisTask.h:62
DTRecSegment2D::specificRecHits
std::vector< DTRecHit1D > specificRecHits() const
Access to specific components.
Definition: DTRecSegment2D.cc:104
HltBtagPostValidation_cff.histoName
histoName
Definition: HltBtagPostValidation_cff.py:17
DTSegmentAnalysisTask::summaryHistos
std::map< int, MonitorElement * > summaryHistos
Definition: DTSegmentAnalysisTask.h:85
Pi
const double Pi
Definition: CosmicMuonParameters.h:18
DTSegmentAnalysisTask::recHits4DToken_
edm::EDGetTokenT< DTRecSegment4DCollection > recHits4DToken_
Definition: DTSegmentAnalysisTask.h:73
DTSegmentAnalysisTask::bookHistos
void bookHistos(DQMStore::IBooker &ibooker, DTChamberId chamberId)
Definition: DTSegmentAnalysisTask.cc:243
DTChamberId
Definition: DTChamberId.h:14
DTSegmentAnalysisTask::nevents
int nevents
Definition: DTSegmentAnalysisTask.h:87
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
event
Definition: event.py:1
DeDxTools::esConsumes
ESGetTokenH3DDVariant esConsumes(std::string const &Reccord, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283
HLT_FULL_cff.distance
distance
Definition: HLT_FULL_cff.py:7746
DTSegmentAnalysisTask::phiSegmCut
double phiSegmCut
Definition: DTSegmentAnalysisTask.h:93
DTChamberId::wheel
int wheel() const
Return the wheel number.
Definition: DTChamberId.h:39
edm::InputTag
Definition: InputTag.h:15
DTChamberId::station
int station() const
Return the station number.
Definition: DTChamberId.h:42
hit
Definition: SiStripHitEffFromCalibTree.cc:88
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
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
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443