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
32 class CaloTemplate : public GtCondition
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 etThreshold;
61  unsigned int etaRange;
62  unsigned int phiRange;
63 
64  unsigned int isolationLUT;
65 
66  unsigned int etaWindowLower;
67  unsigned int etaWindowUpper;
68  unsigned int etaWindowVetoLower;
69  unsigned int etaWindowVetoUpper;
70 
71  unsigned int phiWindowLower;
72  unsigned int phiWindowUpper;
73  unsigned int phiWindowVetoLower;
74  unsigned int phiWindowVetoUpper;
75 
76  };
77 
80  {
81  unsigned long long deltaEtaRange;
82 
83  unsigned long long deltaPhiRange;
84  unsigned int deltaPhiMaxbits;
85 
86  unsigned int deltaEtaRangeLower;
87  unsigned int deltaEtaRangeUpper;
88 
89  unsigned int deltaPhiRangeLower;
90  unsigned int deltaPhiRangeUpper;
91 
92  };
93 
94 
95 public:
96 
97  inline const std::vector<ObjectParameter>* objectParameter() const
98  {
99  return &m_objectParameter;
100  }
101 
103  {
104  return &m_correlationParameter;
105  }
106 
107 
109  void setConditionParameter(const std::vector<ObjectParameter>& objParameter,
110  const CorrelationParameter& corrParameter);
111 
112 
114  virtual void print(std::ostream& myCout) const;
115 
117  friend std::ostream& operator<<(std::ostream&, const CaloTemplate&);
118 
119 protected:
120 
122  void copy( const CaloTemplate& cp);
123 
124 
125 protected:
126 
128  std::vector<ObjectParameter> m_objectParameter;
130 
131 };
132 
133 #endif
const std::vector< ObjectParameter > * objectParameter() const
Definition: CaloTemplate.h:97
GtConditionType
Definition: GtDefinitions.h:99
CorrelationParameter m_correlationParameter
Definition: CaloTemplate.h:129
unsigned long long deltaEtaRange
Definition: CaloTemplate.h:81
unsigned long long deltaPhiRange
Definition: CaloTemplate.h:83
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:73
friend std::ostream & operator<<(std::ostream &, const CaloTemplate &)
output stream operator
std::vector< ObjectParameter > m_objectParameter
variables containing the parameters
Definition: CaloTemplate.h:128
CaloTemplate & operator=(const CaloTemplate &)
Definition: CaloTemplate.cc:79
void setConditionParameter(const std::vector< ObjectParameter > &objParameter, const CorrelationParameter &corrParameter)
set functions
Definition: CaloTemplate.cc:88
typedef for correlation parameters
Definition: CaloTemplate.h:79
virtual void print(std::ostream &myCout) const
print the condition
Definition: CaloTemplate.cc:98
const CorrelationParameter * correlationParameter() const
Definition: CaloTemplate.h:102