CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DTSegmentAnalysisTask.h
Go to the documentation of this file.
1 
2 #ifndef DTSegmentAnalysisTask_H
3 #define DTSegmentAnalysisTask_H
4 
23 
26 
28 
29 //RecHit
31 
34 
35 #include <string>
36 #include <map>
37 #include <vector>
38 
39 class DTGeometry;
40 class DTStatusFlag;
41 
43 public:
46 
48  ~DTSegmentAnalysisTask() override;
49 
51  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
52 
53  // Operations
54  void analyze(const edm::Event& event, const edm::EventSetup& setup) override;
55 
56 protected:
57  // Book the histograms
58  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
59 
60 private:
61  // Switch for detailed analysis
63 
64  // Get the DT Geometry
67 
68  // Get the status Map
71 
72  // Label of 4D segments in the event
74 
75  // Get the map of noisy channels
77 
78  // book the histos
79  void bookHistos(DQMStore::IBooker& ibooker, DTChamberId chamberId);
80  // Fill a set of histograms for a given chamber
81  void fillHistos(DTChamberId chamberId, int nHits, float chi2);
82 
83  // the histos
84  std::map<DTChamberId, std::vector<MonitorElement*> > histosPerCh;
85  std::map<int, MonitorElement*> summaryHistos;
86 
87  int nevents;
88  // top folder for the histograms in DQMStore
90  // hlt DQM mode
91  bool hltDQMMode;
92  // max phi angle of reconstructed segments
93  double phiSegmCut;
94  // min # hits of segment used to validate a segment in WB+-2/SecX/MB1
95  int nhitsCut;
96 
98 };
99 #endif
100 
101 /* Local Variables: */
102 /* show-trailing-whitespace: t */
103 /* truncate-lines: t */
104 /* End: */
void fillHistos(DTChamberId chamberId, int nHits, float chi2)
const DTGeometry * dtGeom
void analyze(const edm::Event &event, const edm::EventSetup &setup) override
edm::ESGetToken< DTStatusFlag, DTStatusFlagRcd > statusMapToken_
edm::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
std::map< DTChamberId, std::vector< MonitorElement * > > histosPerCh
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
~DTSegmentAnalysisTask() override
Destructor.
void bookHistos(DQMStore::IBooker &ibooker, DTChamberId chamberId)
const DTStatusFlag * statusMap
caConstants::TupleMultiplicity const CAHitNtupletGeneratorKernelsGPU::HitToTuple const cms::cuda::AtomicPairCounter GPUCACell const *__restrict__ uint32_t const *__restrict__ gpuPixelDoublets::CellNeighborsVector const gpuPixelDoublets::CellTracksVector const GPUCACell::OuterHitOfCell const int32_t nHits
MonitorElement * nEventMonitor
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
BeginRun.
std::map< int, MonitorElement * > summaryHistos
edm::EDGetTokenT< DTRecSegment4DCollection > recHits4DToken_
DTSegmentAnalysisTask(const edm::ParameterSet &pset)
Constructor.
Definition: Run.h:45