CMS 3D CMS Logo

DTtTrigDBValidation.h
Go to the documentation of this file.
1 #ifndef DTtTrigDBValidation_H
2 #define DTtTrigDBValidation_H
3 
12 
15 
16 #include <fstream>
17 #include <string>
18 #include <vector>
19 
20 // class DTTtrig;
21 class TFile;
22 
24 public:
27 
29  ~DTtTrigDBValidation() override;
30 
32  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
33  void analyze(const edm::Event &, const edm::EventSetup &) override;
34 
35 private:
36  // Switch for verbosity
38  // The DB label
41 
44 
45  // The DTGeometry
47 
48  // Map of the tTrig and sigma by super-layer
49  std::map<DTSuperLayerId, std::pair<float, float>> tTrigRefMap_;
50  std::map<DTSuperLayerId, std::pair<float, float>> tTrigMap_;
51 
52  // Map of the tTrig difference histos by (wheel,sector)
53  std::map<std::pair<int, int>, MonitorElement *> tTrigDiffHistos_;
54  std::map<int, MonitorElement *> tTrigDiffWheel_;
55 
56  void bookHistos(DQMStore::IBooker &, int, int);
57  void bookHistos(DQMStore::IBooker &, int wheel);
58  // Compute the station from the bin number of mean and sigma histos
59  int stationFromBin(int bin) const;
60  // Compute the sl from the bin number of mean and sigma histos
61  int slFromBin(int bin) const;
62 };
63 #endif
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
DTtTrigDBValidation::labelDB_
std::string labelDB_
Definition: DTtTrigDBValidation.h:40
ESHandle.h
edm::Run
Definition: Run.h:45
DTtTrigDBValidation::stationFromBin
int stationFromBin(int bin) const
Definition: DTtTrigDBValidation.cc:196
DTtTrigDBValidation::~DTtTrigDBValidation
~DTtTrigDBValidation() override
Destructor.
Definition: DTtTrigDBValidation.cc:41
DQMStore.h
MakerMacros.h
DTtTrigDBValidation::dtGeom_
edm::ESHandle< DTGeometry > dtGeom_
Definition: DTtTrigDBValidation.h:46
Service.h
edm::ESHandle< DTGeometry >
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DTGeometry.h
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
edm::ParameterSet
Definition: ParameterSet.h:47
DTtTrigDBValidation
Definition: DTtTrigDBValidation.h:23
DTtTrigDBValidation::tTrigRefMap_
std::map< DTSuperLayerId, std::pair< float, float > > tTrigRefMap_
Definition: DTtTrigDBValidation.h:49
DTtTrigDBValidation::slFromBin
int slFromBin(int bin) const
Definition: DTtTrigDBValidation.cc:198
DTtTrigDBValidation::tTrigDiffHistos_
std::map< std::pair< int, int >, MonitorElement * > tTrigDiffHistos_
Definition: DTtTrigDBValidation.h:53
makeMuonMisalignmentScenario.wheel
wheel
Definition: makeMuonMisalignmentScenario.py:319
DTtTrigDBValidation::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Operations.
Definition: DTtTrigDBValidation.cc:43
DTtTrigDBValidation::tTrigMap_
std::map< DTSuperLayerId, std::pair< float, float > > tTrigMap_
Definition: DTtTrigDBValidation.h:50
DTtTrigDBValidation::labelDBRef_
std::string labelDBRef_
Definition: DTtTrigDBValidation.h:39
edm::EventSetup
Definition: EventSetup.h:58
DTtTrigDBValidation::higherLimit_
int higherLimit_
Definition: DTtTrigDBValidation.h:43
DTtTrigDBValidation::lowerLimit_
int lowerLimit_
Definition: DTtTrigDBValidation.h:42
newFWLiteAna.bin
bin
Definition: newFWLiteAna.py:161
DTtTrigDBValidation::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: DTtTrigDBValidation.cc:206
DTtTrigDBValidation::metname_
std::string metname_
Definition: DTtTrigDBValidation.h:37
Frameworkfwd.h
DTtTrigDBValidation::bookHistos
void bookHistos(DQMStore::IBooker &, int, int)
Definition: DTtTrigDBValidation.cc:142
MuonServiceProxy.h
DTtTrigDBValidation::tTrigDiffWheel_
std::map< int, MonitorElement * > tTrigDiffWheel_
Definition: DTtTrigDBValidation.h:54
dqm::implementation::IBooker
Definition: DQMStore.h:43
ParameterSet.h
DTSuperLayerId.h
DTtTrigDBValidation::DTtTrigDBValidation
DTtTrigDBValidation(const edm::ParameterSet &pset)
Constructor.
Definition: DTtTrigDBValidation.cc:32
edm::Event
Definition: Event.h:73
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27