CMS 3D CMS Logo

L1GtJetCountsTemplate.h
Go to the documentation of this file.
1 #ifndef CondFormats_L1TObjects_L1GtJetCountsTemplate_h
2 #define CondFormats_L1TObjects_L1GtJetCountsTemplate_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  ~L1GtJetCountsTemplate() override;
50 
51  // assign operator
53 
54 public:
56  struct ObjectParameter {
58  unsigned int countIndex;
59  unsigned int countThreshold;
60 
62 
64  };
65 
66 public:
67  inline const std::vector<ObjectParameter>* objectParameter() const { return &m_objectParameter; }
68 
70  void setConditionParameter(const std::vector<ObjectParameter>&);
71 
73  void print(std::ostream& myCout) const override;
74 
76  friend std::ostream& operator<<(std::ostream&, const L1GtJetCountsTemplate&);
77 
78 private:
80  void copy(const L1GtJetCountsTemplate& cp);
81 
82 private:
84  std::vector<ObjectParameter> m_objectParameter;
85 
87 };
88 
89 #endif
L1GtCondition
Definition: L1GtCondition.h:35
L1GtJetCountsTemplate::~L1GtJetCountsTemplate
~L1GtJetCountsTemplate() override
Definition: L1GtJetCountsTemplate.cc:62
L1GtJetCountsTemplate::ObjectParameter::ObjectParameter
ObjectParameter()
Definition: L1GtJetCountsTemplate.h:57
funct::false
false
Definition: Factorize.h:29
L1GtJetCountsTemplate::print
void print(std::ostream &myCout) const override
print the condition
Definition: L1GtJetCountsTemplate.cc:77
L1GtJetCountsTemplate::copy
void copy(const L1GtJetCountsTemplate &cp)
copy function for copy constructor and operator=
Definition: L1GtJetCountsTemplate.cc:96
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
L1GtJetCountsTemplate::operator<<
friend std::ostream & operator<<(std::ostream &, const L1GtJetCountsTemplate &)
output stream operator
Definition: L1GtJetCountsTemplate.cc:108
hgcal_conditions::parameters
Definition: HGCConditions.h:86
L1GtJetCountsTemplate::ObjectParameter::countThreshold
unsigned int countThreshold
Definition: L1GtJetCountsTemplate.h:59
L1GtJetCountsTemplate::ObjectParameter
typedef for a single object template
Definition: L1GtJetCountsTemplate.h:56
L1GtJetCountsTemplate::ObjectParameter::countIndex
unsigned int countIndex
Definition: L1GtJetCountsTemplate.h:58
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
L1GtConditionType
L1GtConditionType
Definition: L1GtDefinitions.h:4
L1GtCondition.h
L1GtJetCountsTemplate::m_objectParameter
std::vector< ObjectParameter > m_objectParameter
variables containing the parameters
Definition: L1GtJetCountsTemplate.h:84
Serializable.h
L1GtJetCountsTemplate::setConditionParameter
void setConditionParameter(const std::vector< ObjectParameter > &)
set functions
Definition: L1GtJetCountsTemplate.cc:73
L1GtJetCountsTemplate::operator=
L1GtJetCountsTemplate & operator=(const L1GtJetCountsTemplate &)
Definition: L1GtJetCountsTemplate.cc:67
L1GtJetCountsTemplate::ObjectParameter::countOverflow
bool countOverflow
Definition: L1GtJetCountsTemplate.h:61
L1GtJetCountsTemplate::objectParameter
const std::vector< ObjectParameter > * objectParameter() const
Definition: L1GtJetCountsTemplate.h:67
L1GtJetCountsTemplate
Definition: L1GtJetCountsTemplate.h:34
L1GtJetCountsTemplate::L1GtJetCountsTemplate
L1GtJetCountsTemplate()
Definition: L1GtJetCountsTemplate.cc:35