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
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
42 
43  // constructor
45 
46  // copy constructor
48 
49  // destructor
50  virtual ~L1GtMuonTemplate();
51 
52  // assign operator
54 
55 public:
56 
57  // typedef for a single object template
59  {
60  unsigned int ptHighThreshold;
61  unsigned int ptLowThreshold;
62  bool enableMip;
63  bool enableIso;
64  bool requestIso;
65  unsigned int qualityRange;
66  unsigned long long etaRange;
67  unsigned int phiHigh;
68  unsigned int phiLow;
69  };
70 
71  // typedef for correlation parameters
72  // chargeCorrelation is defined always
73  // see documentation for meaning
75  {
76  unsigned int chargeCorrelation;
77  unsigned long long deltaEtaRange;
78 
79  unsigned long long deltaPhiRange0Word;
80  unsigned long long deltaPhiRange1Word;
81  unsigned int deltaPhiMaxbits;
82  };
83 
84 public:
85 
86  inline const std::vector<ObjectParameter>* objectParameter() const
87  {
88  return &m_objectParameter;
89  }
90 
92  {
93  return &m_correlationParameter;
94  }
95 
96 
98  void setConditionParameter(const std::vector<ObjectParameter>& objParameter,
99  const CorrelationParameter& corrParameter);
100 
101 
103  virtual void print(std::ostream& myCout) const;
104 
106  friend std::ostream& operator<<(std::ostream&, const L1GtMuonTemplate&);
107 
108 
109 private:
110 
112  void copy( const L1GtMuonTemplate& cp);
113 
114 
115 private:
116 
118  std::vector<ObjectParameter> m_objectParameter;
120 
121 };
122 
123 #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
void copy(const L1GtMuonTemplate &cp)
copy function for copy constructor and operator=