CMS 3D CMS Logo

L1GtHfRingEtSumsTemplate.h
Go to the documentation of this file.
1 #ifndef CondFormats_L1TObjects_L1GtHfRingEtSumsTemplate_h
2 #define CondFormats_L1TObjects_L1GtHfRingEtSumsTemplate_h
3 
20 // system include files
22 
23 #include <string>
24 #include <iosfwd>
25 
26 // user include files
27 
28 // base class
30 
31 // forward declarations
32 
33 // class declaration
35 public:
36  // constructor
38 
39  // constructor
41 
42  // constructor
44 
45  // copy constructor
47 
48  // destructor
49  ~L1GtHfRingEtSumsTemplate() override;
50 
51  // assign operator
53 
54 public:
56  struct ObjectParameter {
57  unsigned int etSumIndex;
58  unsigned int etSumThreshold;
59 
61  };
62 
63 public:
64  inline const std::vector<ObjectParameter>* objectParameter() const { return &m_objectParameter; }
65 
67  void setConditionParameter(const std::vector<ObjectParameter>&);
68 
70  void print(std::ostream& myCout) const override;
71 
73  friend std::ostream& operator<<(std::ostream&, const L1GtHfRingEtSumsTemplate&);
74 
75 private:
77  void copy(const L1GtHfRingEtSumsTemplate& cp);
78 
79 private:
81  std::vector<ObjectParameter> m_objectParameter;
82 
84 };
85 
86 #endif
L1GtCondition
Definition: L1GtCondition.h:35
L1GtHfRingEtSumsTemplate::ObjectParameter::etSumIndex
unsigned int etSumIndex
Definition: L1GtHfRingEtSumsTemplate.h:57
L1GtHfRingEtSumsTemplate::ObjectParameter
typedef for a single object template
Definition: L1GtHfRingEtSumsTemplate.h:56
L1GtHfRingEtSumsTemplate
Definition: L1GtHfRingEtSumsTemplate.h:34
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
hgcal_conditions::parameters
Definition: HGCConditions.h:86
L1GtHfRingEtSumsTemplate::copy
void copy(const L1GtHfRingEtSumsTemplate &cp)
copy function for copy constructor and operator=
Definition: L1GtHfRingEtSumsTemplate.cc:101
L1GtHfRingEtSumsTemplate::L1GtHfRingEtSumsTemplate
L1GtHfRingEtSumsTemplate()
Definition: L1GtHfRingEtSumsTemplate.cc:35
L1GtHfRingEtSumsTemplate::setConditionParameter
void setConditionParameter(const std::vector< ObjectParameter > &)
set functions
Definition: L1GtHfRingEtSumsTemplate.cc:73
L1GtConditionType
L1GtConditionType
Definition: L1GtDefinitions.h:4
L1GtHfRingEtSumsTemplate::~L1GtHfRingEtSumsTemplate
~L1GtHfRingEtSumsTemplate() override
Definition: L1GtHfRingEtSumsTemplate.cc:62
L1GtCondition.h
L1GtHfRingEtSumsTemplate::ObjectParameter::etSumThreshold
unsigned int etSumThreshold
Definition: L1GtHfRingEtSumsTemplate.h:58
Serializable.h
L1GtHfRingEtSumsTemplate::objectParameter
const std::vector< ObjectParameter > * objectParameter() const
Definition: L1GtHfRingEtSumsTemplate.h:64
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
L1GtHfRingEtSumsTemplate::operator=
L1GtHfRingEtSumsTemplate & operator=(const L1GtHfRingEtSumsTemplate &)
Definition: L1GtHfRingEtSumsTemplate.cc:67
L1GtHfRingEtSumsTemplate::operator<<
friend std::ostream & operator<<(std::ostream &, const L1GtHfRingEtSumsTemplate &)
output stream operator
Definition: L1GtHfRingEtSumsTemplate.cc:96
L1GtHfRingEtSumsTemplate::m_objectParameter
std::vector< ObjectParameter > m_objectParameter
variables containing the parameters
Definition: L1GtHfRingEtSumsTemplate.h:81
L1GtHfRingEtSumsTemplate::print
void print(std::ostream &myCout) const override
print the condition
Definition: L1GtHfRingEtSumsTemplate.cc:77