CMS 3D CMS Logo

L1GtCaloTemplate.h
Go to the documentation of this file.
1 #ifndef CondFormats_L1TObjects_L1GtCaloTemplate_h
2 #define CondFormats_L1TObjects_L1GtCaloTemplate_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  ~L1GtCaloTemplate() override;
50 
51  // assign operator
53 
54 public:
56  struct ObjectParameter {
57  unsigned int etThreshold;
58  unsigned int etaRange;
59  unsigned int phiRange;
60 
62  };
63 
66  unsigned long long deltaEtaRange;
67 
68  unsigned long long deltaPhiRange;
69  unsigned int deltaPhiMaxbits;
70 
72  };
73 
74 public:
75  inline const std::vector<ObjectParameter>* objectParameter() const { return &m_objectParameter; }
76 
78 
80  void setConditionParameter(const std::vector<ObjectParameter>& objParameter,
81  const CorrelationParameter& corrParameter);
82 
84  void print(std::ostream& myCout) const override;
85 
87  friend std::ostream& operator<<(std::ostream&, const L1GtCaloTemplate&);
88 
89 protected:
91  void copy(const L1GtCaloTemplate& cp);
92 
93 protected:
95  std::vector<ObjectParameter> m_objectParameter;
97 
99 };
100 
101 #endif
L1GtCondition
Definition: L1GtCondition.h:35
L1GtCaloTemplate::~L1GtCaloTemplate
~L1GtCaloTemplate() override
Definition: L1GtCaloTemplate.cc:54
L1GtCaloTemplate::ObjectParameter
typedef for a single object template
Definition: L1GtCaloTemplate.h:56
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
hgcal_conditions::parameters
Definition: HGCConditions.h:86
L1GtCaloTemplate::operator<<
friend std::ostream & operator<<(std::ostream &, const L1GtCaloTemplate &)
output stream operator
Definition: L1GtCaloTemplate.cc:112
L1GtCaloTemplate::CorrelationParameter::deltaPhiRange
unsigned long long deltaPhiRange
Definition: L1GtCaloTemplate.h:68
L1GtCaloTemplate::CorrelationParameter
typedef for correlation parameters
Definition: L1GtCaloTemplate.h:65
L1GtCaloTemplate::CorrelationParameter::deltaEtaRange
unsigned long long deltaEtaRange
Definition: L1GtCaloTemplate.h:66
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
L1GtCaloTemplate::setConditionParameter
void setConditionParameter(const std::vector< ObjectParameter > &objParameter, const CorrelationParameter &corrParameter)
set functions
Definition: L1GtCaloTemplate.cc:65
L1GtCaloTemplate::CorrelationParameter::deltaPhiMaxbits
unsigned int deltaPhiMaxbits
Definition: L1GtCaloTemplate.h:69
L1GtConditionType
L1GtConditionType
Definition: L1GtDefinitions.h:4
L1GtCaloTemplate::m_correlationParameter
CorrelationParameter m_correlationParameter
Definition: L1GtCaloTemplate.h:96
L1GtCondition.h
L1GtCaloTemplate::objectParameter
const std::vector< ObjectParameter > * objectParameter() const
Definition: L1GtCaloTemplate.h:75
L1GtCaloTemplate::ObjectParameter::phiRange
unsigned int phiRange
Definition: L1GtCaloTemplate.h:59
L1GtCaloTemplate::L1GtCaloTemplate
L1GtCaloTemplate()
Definition: L1GtCaloTemplate.cc:35
L1GtCaloTemplate
Definition: L1GtCaloTemplate.h:34
Serializable.h
L1GtCaloTemplate::m_objectParameter
std::vector< ObjectParameter > m_objectParameter
variables containing the parameters
Definition: L1GtCaloTemplate.h:95
L1GtCaloTemplate::copy
void copy(const L1GtCaloTemplate &cp)
copy function for copy constructor and operator=
Definition: L1GtCaloTemplate.cc:99
L1GtCaloTemplate::correlationParameter
const CorrelationParameter * correlationParameter() const
Definition: L1GtCaloTemplate.h:77
L1GtCaloTemplate::print
void print(std::ostream &myCout) const override
print the condition
Definition: L1GtCaloTemplate.cc:71
L1GtCaloTemplate::ObjectParameter::etaRange
unsigned int etaRange
Definition: L1GtCaloTemplate.h:58
L1GtCaloTemplate::ObjectParameter::etThreshold
unsigned int etThreshold
Definition: L1GtCaloTemplate.h:57
L1GtCaloTemplate::operator=
L1GtCaloTemplate & operator=(const L1GtCaloTemplate &)
Definition: L1GtCaloTemplate.cc:59