CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CaloTemplate.h
Go to the documentation of this file.
1 #ifndef L1Trigger_L1TGlobal_CaloTemplate_h
2 #define L1Trigger_L1TGlobal_CaloTemplate_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
38  CaloTemplate();
39 
40  // constructor
41  CaloTemplate(const std::string& );
42 
43  // constructor
45 
46  // copy constructor
47  CaloTemplate( const CaloTemplate& );
48 
49  // destructor
50  virtual ~CaloTemplate();
51 
52  // assign operator
54 
55 public:
56 
59  {
60  unsigned int etLowThreshold;
61  unsigned int etHighThreshold;
62  unsigned int etaRange;
63  unsigned int phiRange;
64 
65  unsigned int isolationLUT;
66  unsigned int qualityLUT;
67 
68  unsigned int etaWindow1Lower;
69  unsigned int etaWindow1Upper;
70  unsigned int etaWindow2Lower;
71  unsigned int etaWindow2Upper;
72 
73  unsigned int phiWindow1Lower;
74  unsigned int phiWindow1Upper;
75  unsigned int phiWindow2Lower;
76  unsigned int phiWindow2Upper;
77 
78  };
79 
82  {
83  unsigned long long deltaEtaRange;
84 
85  unsigned long long deltaPhiRange;
86  unsigned int deltaPhiMaxbits;
87 
88  unsigned int deltaEtaRangeLower;
89  unsigned int deltaEtaRangeUpper;
90 
91  unsigned int deltaPhiRangeLower;
92  unsigned int deltaPhiRangeUpper;
93 
94  };
95 
96 
97 public:
98 
99  inline const std::vector<ObjectParameter>* objectParameter() const
100  {
101  return &m_objectParameter;
102  }
103 
105  {
106  return &m_correlationParameter;
107  }
108 
109 
111  void setConditionParameter(const std::vector<ObjectParameter>& objParameter,
112  const CorrelationParameter& corrParameter);
113 
114 
116  virtual void print(std::ostream& myCout) const;
117 
119  friend std::ostream& operator<<(std::ostream&, const CaloTemplate&);
120 
121 protected:
122 
124  void copy( const CaloTemplate& cp);
125 
126 
127 protected:
128 
130  std::vector<ObjectParameter> m_objectParameter;
132 
133 };
134 
135 #endif
const std::vector< ObjectParameter > * objectParameter() const
Definition: CaloTemplate.h:99
CorrelationParameter m_correlationParameter
Definition: CaloTemplate.h:131
unsigned long long deltaEtaRange
Definition: CaloTemplate.h:83
unsigned long long deltaPhiRange
Definition: CaloTemplate.h:85
void copy(const CaloTemplate &cp)
copy function for copy constructor and operator=
typedef for a single object template
Definition: CaloTemplate.h:58
virtual ~CaloTemplate()
Definition: CaloTemplate.cc:71
friend std::ostream & operator<<(std::ostream &, const CaloTemplate &)
output stream operator
std::vector< ObjectParameter > m_objectParameter
variables containing the parameters
Definition: CaloTemplate.h:130
CaloTemplate & operator=(const CaloTemplate &)
Definition: CaloTemplate.cc:77
void setConditionParameter(const std::vector< ObjectParameter > &objParameter, const CorrelationParameter &corrParameter)
set functions
Definition: CaloTemplate.cc:86
typedef for correlation parameters
Definition: CaloTemplate.h:81
virtual void print(std::ostream &myCout) const
print the condition
Definition: CaloTemplate.cc:96
const CorrelationParameter * correlationParameter() const
Definition: CaloTemplate.h:104