CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 {
36 
37 public:
38 
39  // constructor
41 
42  // constructor
44 
45  // constructor
47 
48  // copy constructor
50 
51  // destructor
52  virtual ~L1GtCaloTemplate();
53 
54  // assign operator
56 
57 public:
58 
61  {
62  unsigned int etThreshold;
63  unsigned int etaRange;
64  unsigned int phiRange;
65 
67 };
68 
71  {
72  unsigned long long deltaEtaRange;
73 
74  unsigned long long deltaPhiRange;
75  unsigned int deltaPhiMaxbits;
76 
78 };
79 
80 
81 public:
82 
83  inline const std::vector<ObjectParameter>* objectParameter() const
84  {
85  return &m_objectParameter;
86  }
87 
89  {
90  return &m_correlationParameter;
91  }
92 
93 
95  void setConditionParameter(const std::vector<ObjectParameter>& objParameter,
96  const CorrelationParameter& corrParameter);
97 
98 
100  virtual void print(std::ostream& myCout) const;
101 
103  friend std::ostream& operator<<(std::ostream&, const L1GtCaloTemplate&);
104 
105 protected:
106 
108  void copy( const L1GtCaloTemplate& cp);
109 
110 
111 protected:
112 
114  std::vector<ObjectParameter> m_objectParameter;
116 
117 
119 };
120 
121 #endif
std::vector< ObjectParameter > m_objectParameter
variables containing the parameters
void copy(const L1GtCaloTemplate &cp)
copy function for copy constructor and operator=
L1GtConditionType
L1GtCaloTemplate & operator=(const L1GtCaloTemplate &)
typedef for a single object template
typedef for correlation parameters
virtual void print(std::ostream &myCout) const
print the condition
virtual ~L1GtCaloTemplate()
friend std::ostream & operator<<(std::ostream &, const L1GtCaloTemplate &)
output stream operator
#define COND_SERIALIZABLE
Definition: Serializable.h:38
const CorrelationParameter * correlationParameter() const
const std::vector< ObjectParameter > * objectParameter() const
void setConditionParameter(const std::vector< ObjectParameter > &objParameter, const CorrelationParameter &corrParameter)
set functions
CorrelationParameter m_correlationParameter