test
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 
18 // system include files
19 #include <iosfwd>
20 #include <memory>
21 #include <vector>
22 #include <string>
23 
24 // user include files
25 //
27 
30 
31 // scales
34 
42 
47 
48 // forward declarations
49 
50 
51 // class declaration
53 
54 public:
55 
56  // constructor(s)
57  explicit L1GetHistLimits(const edm::EventSetup& evSetup);
58 
59  // destructor
60  virtual ~L1GetHistLimits();
61 
67  struct L1HistLimits {
68  int nrBins;
69  double lowerBinValue;
70  double upperBinValue;
71  std::vector<float> binThresholds;
72  };
73 
74 public:
75 
78  const L1HistLimits& l1HistLimits(const L1GtObject& l1GtObject,
79  const std::string& quantity);
80 
83  const L1HistLimits& l1HistLimits(const L1GtObject& l1GtObject,
84  const std::string& quantity, const double histMinValue,
85  const double histMaxValue);
86 
87 
90  const int l1HistNrBins(const L1GtObject& l1GtObject,
91  const std::string& quantity);
92 
95  const double l1HistLowerBinValue(const L1GtObject& l1GtObject,
96  const std::string& quantity);
97 
100  const double l1HistUpperBinValue(const L1GtObject& l1GtObject,
101  const std::string& quantity);
102 
105  const std::vector<float>& l1HistBinThresholds(const L1GtObject& l1GtObject,
106  const std::string& quantity);
107 
108 private:
109 
113  void getHistLimits(const L1GtObject& l1GtObject,
114  const std::string& quantity);
115 
116 
117 private:
118 
120 
123 
124 };
125 
126 #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)