test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTtTrigDBValidation.h
Go to the documentation of this file.
1 #ifndef DTtTrigDBValidation_H
2 #define DTtTrigDBValidation_H
3 
12 
15 
16 #include <string>
17 #include <fstream>
18 #include <vector>
19 
20 //class DTTtrig;
21 class TFile;
22 
24 
25 public:
28 
30  virtual ~DTtTrigDBValidation();
31 
33  virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
34  virtual void analyze( const edm::Event&, const edm::EventSetup&) override;
35 
36 private:
37 
38  // Switch for verbosity
40  // The DB label
43 
46 
47  // The DTGeometry
49 
50  // Map of the tTrig and sigma by super-layer
51  std::map<DTSuperLayerId, std::pair<float,float> > tTrigRefMap_;
52  std::map<DTSuperLayerId, std::pair<float,float> > tTrigMap_;
53 
54  // Map of the tTrig difference histos by (wheel,sector)
55  std::map<std::pair<int,int>, MonitorElement* > tTrigDiffHistos_;
56  std::map<int, MonitorElement* > tTrigDiffWheel_;
57 
58  void bookHistos(DQMStore::IBooker &, int, int);
59  void bookHistos(DQMStore::IBooker &, int wheel);
60  // Compute the station from the bin number of mean and sigma histos
61  int stationFromBin(int bin) const;
62  // Compute the sl from the bin number of mean and sigma histos
63  int slFromBin(int bin) const;
64 };
65 #endif
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Operations.
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
std::map< int, MonitorElement * > tTrigDiffWheel_
int slFromBin(int bin) const
std::map< std::pair< int, int >, MonitorElement * > tTrigDiffHistos_
edm::ESHandle< DTGeometry > dtGeom_
int stationFromBin(int bin) const
virtual ~DTtTrigDBValidation()
Destructor.
std::map< DTSuperLayerId, std::pair< float, float > > tTrigRefMap_
DTtTrigDBValidation(const edm::ParameterSet &pset)
Constructor.
std::map< DTSuperLayerId, std::pair< float, float > > tTrigMap_
void bookHistos(DQMStore::IBooker &, int, int)
Definition: Run.h:42