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
L1EmEtScaleRcd.h
L1GetHistLimits::m_l1HistLimits
L1HistLimits m_l1HistLimits
all limits for a histogram
Definition: L1GetHistLimits.h:109
L1GetHistLimits::l1HistLimits
const L1HistLimits & l1HistLimits(const L1GtObject &l1GtObject, const std::string &quantity)
Definition: L1GetHistLimits.cc:491
L1GctJetFinderParamsRcd.h
L1GlobalTriggerReadoutSetupFwd.h
L1MuTriggerPtScaleRcd.h
L1GetHistLimits::L1HistLimits::nrBins
int nrBins
Definition: L1GetHistLimits.h:65
L1GetHistLimits::m_evSetup
const edm::EventSetup & m_evSetup
Definition: L1GetHistLimits.h:106
L1GetHistLimits::L1HistLimits::lowerBinValue
double lowerBinValue
Definition: L1GetHistLimits.h:66
L1MuTriggerScalesRcd.h
L1GctJetFinderParams.h
L1HtMissScaleRcd.h
L1GetHistLimits
Definition: L1GetHistLimits.h:51
L1GetHistLimits::l1HistNrBins
const int l1HistNrBins(const L1GtObject &l1GtObject, const std::string &quantity)
Definition: L1GetHistLimits.cc:604
L1GetHistLimits::l1HistLowerBinValue
const double l1HistLowerBinValue(const L1GtObject &l1GtObject, const std::string &quantity)
Definition: L1GetHistLimits.cc:609
L1GetHistLimits::~L1GetHistLimits
virtual ~L1GetHistLimits()
Definition: L1GetHistLimits.cc:40
L1GetHistLimits::L1HistLimits::upperBinValue
double upperBinValue
Definition: L1GetHistLimits.h:67
L1GetHistLimits::l1HistBinThresholds
const std::vector< float > & l1HistBinThresholds(const L1GtObject &l1GtObject, const std::string &quantity)
Definition: L1GetHistLimits.cc:619
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MjjMonitor_cfi.quantity
quantity
Definition: MjjMonitor_cfi.py:10
L1CaloGeometryRecord.h
L1MuTriggerPtScale.h
L1MuTriggerScales.h
L1HfRingEtScaleRcd.h
L1GetHistLimits::l1HistUpperBinValue
const double l1HistUpperBinValue(const L1GtObject &l1GtObject, const std::string &quantity)
Definition: L1GetHistLimits.cc:614
edm::EventSetup
Definition: EventSetup.h:58
L1GetHistLimits::L1GetHistLimits
L1GetHistLimits(const edm::EventSetup &evSetup)
Definition: L1GetHistLimits.cc:35
L1CaloEtScale.h
Frameworkfwd.h
EventSetup.h
L1JetEtScaleRcd.h
L1CaloGeometry.h
L1GetHistLimits::L1HistLimits
Definition: L1GetHistLimits.h:64
L1GetHistLimits::getHistLimits
void getHistLimits(const L1GtObject &l1GtObject, const std::string &quantity)
Definition: L1GetHistLimits.cc:44
L1GtObject
L1GetHistLimits::L1HistLimits::binThresholds
std::vector< float > binThresholds
Definition: L1GetHistLimits.h:68