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
21 #include <string>
22 #include <iosfwd>
23 
24 // user include files
25 
26 // base class
28 
29 // forward declarations
30 
31 // class declaration
33 {
34 
35 public:
36 
37  // constructor
39 
40  // constructor
41  L1GtCaloTemplate(const std::string& );
42 
43  // constructor
44  L1GtCaloTemplate(const std::string&, const L1GtConditionType& );
45 
46  // copy constructor
48 
49  // destructor
50  virtual ~L1GtCaloTemplate();
51 
52  // assign operator
54 
55 public:
56 
59  {
60  unsigned int etThreshold;
61  unsigned int etaRange;
62  unsigned int phiRange;
63  };
64 
67  {
68  unsigned long long deltaEtaRange;
69 
70  unsigned long long deltaPhiRange;
71  unsigned int deltaPhiMaxbits;
72  };
73 
74 
75 public:
76 
77  inline const std::vector<ObjectParameter>* objectParameter() const
78  {
79  return &m_objectParameter;
80  }
81 
83  {
84  return &m_correlationParameter;
85  }
86 
87 
89  void setConditionParameter(const std::vector<ObjectParameter>& objParameter,
90  const CorrelationParameter& corrParameter);
91 
92 
94  virtual void print(std::ostream& myCout) const;
95 
97  friend std::ostream& operator<<(std::ostream&, const L1GtCaloTemplate&);
98 
99 protected:
100 
102  void copy( const L1GtCaloTemplate& cp);
103 
104 
105 protected:
106 
108  std::vector<ObjectParameter> m_objectParameter;
110 
111 };
112 
113 #endif
std::vector< ObjectParameter > m_objectParameter
variables containing the parameters
void copy(const L1GtCaloTemplate &cp)
copy function for copy constructor and operator=
L1GtCaloTemplate & operator=(const L1GtCaloTemplate &)
typedef for a single object template
typedef for correlation parameters
virtual void print(std::ostream &myCout) const
print the condition
L1GtConditionType
Definition: L1GtFwd.h:52
virtual ~L1GtCaloTemplate()
friend std::ostream & operator<<(std::ostream &, const L1GtCaloTemplate &)
output stream operator
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