CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1GetHistLimits.h
Go to the documentation of this file.
1 #ifndef L1Trigger_GlobalTriggerAnalyzer_L1GetHistLimits_h
2 #define L1Trigger_GlobalTriggerAnalyzer_L1GetHistLimits_h
3 
20 // system include files
21 #include <iosfwd>
22 #include <memory>
23 #include <vector>
24 #include <string>
25 
26 // user include files
27 //
29 
32 
33 // scales
36 
44 
49 
50 // forward declarations
51 
52 
53 // class declaration
55 
56 public:
57 
58  // constructor(s)
59  explicit L1GetHistLimits(const edm::EventSetup& evSetup);
60 
61  // destructor
62  virtual ~L1GetHistLimits();
63 
69  struct L1HistLimits {
70  int nrBins;
71  double lowerBinValue;
72  double upperBinValue;
73  std::vector<float> binThresholds;
74  };
75 
76 public:
77 
80  const L1HistLimits& l1HistLimits(const L1GtObject& l1GtObject,
81  const std::string& quantity);
82 
85  const L1HistLimits& l1HistLimits(const L1GtObject& l1GtObject,
86  const std::string& quantity, const double histMinValue,
87  const double histMaxValue);
88 
89 
92  const int l1HistNrBins(const L1GtObject& l1GtObject,
93  const std::string& quantity);
94 
97  const double l1HistLowerBinValue(const L1GtObject& l1GtObject,
98  const std::string& quantity);
99 
102  const double l1HistUpperBinValue(const L1GtObject& l1GtObject,
103  const std::string& quantity);
104 
107  const std::vector<float>& l1HistBinThresholds(const L1GtObject& l1GtObject,
108  const std::string& quantity);
109 
110 private:
111 
115  void getHistLimits(const L1GtObject& l1GtObject,
116  const std::string& quantity);
117 
118 
119 private:
120 
122 
125 
126 };
127 
128 #endif
void getHistLimits(const L1GtObject &l1GtObject, const std::string &quantity)
const edm::EventSetup & m_evSetup
L1HistLimits m_l1HistLimits
all limits for a histogram
const double l1HistUpperBinValue(const L1GtObject &l1GtObject, const std::string &quantity)
const std::vector< float > & l1HistBinThresholds(const L1GtObject &l1GtObject, const std::string &quantity)
const int l1HistNrBins(const L1GtObject &l1GtObject, const std::string &quantity)
virtual ~L1GetHistLimits()
std::vector< float > binThresholds
L1GetHistLimits(const edm::EventSetup &evSetup)
const double l1HistLowerBinValue(const L1GtObject &l1GtObject, const std::string &quantity)
const L1HistLimits & l1HistLimits(const L1GtObject &l1GtObject, const std::string &quantity)