CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1GtMuonTemplate.h
Go to the documentation of this file.
1 #ifndef CondFormats_L1TObjects_L1GtMuonTemplate_h
2 #define CondFormats_L1TObjects_L1GtMuonTemplate_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 ~L1GtMuonTemplate();
53 
54  // assign operator
56 
57 public:
58 
59  // typedef for a single object template
61  {
62  unsigned int ptHighThreshold;
63  unsigned int ptLowThreshold;
64  bool enableMip;
65  bool enableIso;
66  bool requestIso;
67  unsigned int qualityRange;
68  unsigned long long etaRange;
69  unsigned int phiHigh;
70  unsigned int phiLow;
71 
73 };
74 
75  // typedef for correlation parameters
76  // chargeCorrelation is defined always
77  // see documentation for meaning
79  {
80  unsigned int chargeCorrelation;
81  unsigned long long deltaEtaRange;
82 
83  unsigned long long deltaPhiRange0Word;
84  unsigned long long deltaPhiRange1Word;
85  unsigned int deltaPhiMaxbits;
86 
88 };
89 
90 public:
91 
92  inline const std::vector<ObjectParameter>* objectParameter() const
93  {
94  return &m_objectParameter;
95  }
96 
98  {
99  return &m_correlationParameter;
100  }
101 
102 
104  void setConditionParameter(const std::vector<ObjectParameter>& objParameter,
105  const CorrelationParameter& corrParameter);
106 
107 
109  virtual void print(std::ostream& myCout) const;
110 
112  friend std::ostream& operator<<(std::ostream&, const L1GtMuonTemplate&);
113 
114 
115 private:
116 
118  void copy( const L1GtMuonTemplate& cp);
119 
120 
121 private:
122 
124  std::vector<ObjectParameter> m_objectParameter;
126 
127 
129 };
130 
131 #endif
const CorrelationParameter * correlationParameter() const
std::vector< ObjectParameter > m_objectParameter
variables containing the parameters
virtual ~L1GtMuonTemplate()
L1GtConditionType
void setConditionParameter(const std::vector< ObjectParameter > &objParameter, const CorrelationParameter &corrParameter)
set functions
L1GtMuonTemplate & operator=(const L1GtMuonTemplate &)
const std::vector< ObjectParameter > * objectParameter() const
friend std::ostream & operator<<(std::ostream &, const L1GtMuonTemplate &)
output stream operator
CorrelationParameter m_correlationParameter
virtual void print(std::ostream &myCout) const
print the condition
#define COND_SERIALIZABLE
Definition: Serializable.h:37
void copy(const L1GtMuonTemplate &cp)
copy function for copy constructor and operator=