CMS 3D CMS Logo

CaloTemplate.h
Go to the documentation of this file.
1 #ifndef L1Trigger_L1TGlobal_CaloTemplate_h
2 #define L1Trigger_L1TGlobal_CaloTemplate_h
3 
21 // system include files
22 #include <string>
23 #include <iosfwd>
24 
25 // user include files
26 
27 // base class
29 
30 // forward declarations
31 
32 // class declaration
34 {
35 
36 public:
37 
38  // constructor
39  CaloTemplate();
40 
41  // constructor
42  CaloTemplate(const std::string& );
43 
44  // constructor
46 
47  // copy constructor
48  CaloTemplate( const CaloTemplate& );
49 
50  // destructor
51  virtual ~CaloTemplate();
52 
53  // assign operator
55 
56 public:
57 
60  {
61  unsigned int etLowThreshold;
62  unsigned int etHighThreshold;
63  unsigned int indexLow;
64  unsigned int indexHigh;
65  unsigned int etaRange;
66  unsigned int phiRange;
67 
68  unsigned int isolationLUT;
69  unsigned int qualityLUT;
70 
71  unsigned int etaWindow1Lower;
72  unsigned int etaWindow1Upper;
73  unsigned int etaWindow2Lower;
74  unsigned int etaWindow2Upper;
75 
76  unsigned int phiWindow1Lower;
77  unsigned int phiWindow1Upper;
78  unsigned int phiWindow2Lower;
79  unsigned int phiWindow2Upper;
80 
81  };
82 
85  {
86  unsigned long long deltaEtaRange;
87 
88  unsigned long long deltaPhiRange;
89  unsigned int deltaPhiMaxbits;
90 
91  unsigned int deltaEtaRangeLower;
92  unsigned int deltaEtaRangeUpper;
93 
94  unsigned int deltaPhiRangeLower;
95  unsigned int deltaPhiRangeUpper;
96 
97  };
98 
99 
100 public:
101 
102  inline const std::vector<ObjectParameter>* objectParameter() const
103  {
104  return &m_objectParameter;
105  }
106 
108  {
109  return &m_correlationParameter;
110  }
111 
112 
114  void setConditionParameter(const std::vector<ObjectParameter>& objParameter,
115  const CorrelationParameter& corrParameter);
116 
117 
119  virtual void print(std::ostream& myCout) const;
120 
122  friend std::ostream& operator<<(std::ostream&, const CaloTemplate&);
123 
124 protected:
125 
127  void copy( const CaloTemplate& cp);
128 
129 
130 protected:
131 
133  std::vector<ObjectParameter> m_objectParameter;
135 
136 };
137 
138 #endif
const std::vector< ObjectParameter > * objectParameter() const
Definition: CaloTemplate.h:102
CorrelationParameter m_correlationParameter
Definition: CaloTemplate.h:134
unsigned long long deltaEtaRange
Definition: CaloTemplate.h:86
unsigned long long deltaPhiRange
Definition: CaloTemplate.h:88
void copy(const CaloTemplate &cp)
copy function for copy constructor and operator=
typedef for a single object template
Definition: CaloTemplate.h:59
virtual ~CaloTemplate()
Definition: CaloTemplate.cc:72
friend std::ostream & operator<<(std::ostream &, const CaloTemplate &)
output stream operator
std::vector< ObjectParameter > m_objectParameter
variables containing the parameters
Definition: CaloTemplate.h:133
CaloTemplate & operator=(const CaloTemplate &)
Definition: CaloTemplate.cc:78
void setConditionParameter(const std::vector< ObjectParameter > &objParameter, const CorrelationParameter &corrParameter)
set functions
Definition: CaloTemplate.cc:87
typedef for correlation parameters
Definition: CaloTemplate.h:84
virtual void print(std::ostream &myCout) const
print the condition
Definition: CaloTemplate.cc:97
const CorrelationParameter * correlationParameter() const
Definition: CaloTemplate.h:107