CMS 3D CMS Logo

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 // class declaration
52 public:
53  // constructor(s)
54  explicit L1GetHistLimits(const edm::EventSetup& evSetup);
55 
56  // destructor
57  virtual ~L1GetHistLimits();
58 
64  struct L1HistLimits {
65  int nrBins;
66  double lowerBinValue;
67  double upperBinValue;
68  std::vector<float> binThresholds;
69  };
70 
71 public:
74  const L1HistLimits& l1HistLimits(const L1GtObject& l1GtObject, const std::string& quantity);
75 
78  const L1HistLimits& l1HistLimits(const L1GtObject& l1GtObject,
79  const std::string& quantity,
80  const double histMinValue,
81  const double histMaxValue);
82 
85  const int l1HistNrBins(const L1GtObject& l1GtObject, const std::string& quantity);
86 
89  const double l1HistLowerBinValue(const L1GtObject& l1GtObject, const std::string& quantity);
90 
93  const double l1HistUpperBinValue(const L1GtObject& l1GtObject, const std::string& quantity);
94 
97  const std::vector<float>& l1HistBinThresholds(const L1GtObject& l1GtObject, const std::string& quantity);
98 
99 private:
103  void getHistLimits(const L1GtObject& l1GtObject, const std::string& quantity);
104 
105 private:
107 
110 };
111 
112 #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)