test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GEMBaseValidation.h
Go to the documentation of this file.
1 #ifndef GEMBaseValidation_H
2 #define GEMBaseValidation_H
3 
7 
10 
16 #include <unordered_map>
17 
19 {
20 public:
21  explicit GEMBaseValidation( const edm::ParameterSet& ps );
22  virtual ~GEMBaseValidation();
23  virtual void analyze(const edm::Event& e, const edm::EventSetup&) = 0 ;
24  MonitorElement* BookHistZR( DQMStore::IBooker &, const char* name, const char* label, unsigned int region_num, unsigned int station_num, unsigned int layer_num =99 );
25  MonitorElement* BookHistXY( DQMStore::IBooker &, const char* name, const char* label, unsigned int region_num, unsigned int station_num, unsigned int layer_num =99 );
26  std::string getSuffixName(int region, int station, int layer);
27  std::string getSuffixName(int region, int station);
28  std::string getSuffixName(int region);
29 
30  std::string getSuffixTitle(int region, int station, int layer);
31  std::string getSuffixTitle(int region, int station);
32  std::string getSuffixTitle(int region);
33 
36 
37  MonitorElement* getSimpleZR( DQMStore::IBooker &, TString, TString) ;
38  MonitorElement* getDCEta(DQMStore::IBooker& , const GEMStation*, TString, TString) ;
39 
40  unsigned int nRegion() { return nregion; }
41  unsigned int nStation() { return nstation; }
42  unsigned int nStationForLabel() { return nstationForLabel; }
43  unsigned int nPart() { return npart; }
44 
46 protected:
47  int nBinXY_;
48  std::vector<double> nBinZR_;
49  std::vector<double> RangeZR_;
50 
51 private :
52  std::vector< std::string > regionLabel;
53  std::vector< std::string > layerLabel;
57 };
58 
59 #endif
unsigned int nRegion()
virtual ~GEMBaseValidation()
int i
Definition: DBlmapReader.cc:9
unsigned int nStation()
unsigned int nPart()
unsigned int nstationForLabel
MonitorElement * BookHistZR(DQMStore::IBooker &, const char *name, const char *label, unsigned int region_num, unsigned int station_num, unsigned int layer_num=99)
unsigned int nregion
virtual void analyze(const edm::Event &e, const edm::EventSetup &)=0
MonitorElement * getSimpleZR(DQMStore::IBooker &, TString, TString)
MonitorElement * BookHistXY(DQMStore::IBooker &, const char *name, const char *label, unsigned int region_num, unsigned int station_num, unsigned int layer_num=99)
std::vector< std::string > regionLabel
std::string getSuffixTitle(int region, int station, int layer)
const GEMGeometry * initGeometry(const edm::EventSetup &)
std::vector< double > RangeZR_
std::string getSuffixName(int region, int station, int layer)
unsigned int nStationForLabel()
void setNStationForLabel(unsigned int number)
unsigned int nstation
GEMBaseValidation(const edm::ParameterSet &ps)
std::vector< std::string > layerLabel
edm::EDGetToken InputTagToken_
std::vector< double > nBinZR_
MonitorElement * getDCEta(DQMStore::IBooker &, const GEMStation *, TString, TString)
std::string getStationLabel(int i)