CMS 3D CMS Logo

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 public:
36  // constructor
38 
39  // constructor
41 
42  // constructor
44 
45  // copy constructor
47 
48  // destructor
49  ~L1GtMuonTemplate() override;
50 
51  // assign operator
53 
54 public:
55  // typedef for a single object template
56  struct ObjectParameter {
57  unsigned int ptHighThreshold;
58  unsigned int ptLowThreshold;
59  bool enableMip;
60  bool enableIso;
61  bool requestIso;
62  unsigned int qualityRange;
63  unsigned long long etaRange;
64  unsigned int phiHigh;
65  unsigned int phiLow;
66 
68  };
69 
70  // typedef for correlation parameters
71  // chargeCorrelation is defined always
72  // see documentation for meaning
74  unsigned int chargeCorrelation;
75  unsigned long long deltaEtaRange;
76 
77  unsigned long long deltaPhiRange0Word;
78  unsigned long long deltaPhiRange1Word;
79  unsigned int deltaPhiMaxbits;
80 
82  };
83 
84 public:
85  inline const std::vector<ObjectParameter>* objectParameter() const { return &m_objectParameter; }
86 
88 
90  void setConditionParameter(const std::vector<ObjectParameter>& objParameter,
91  const CorrelationParameter& corrParameter);
92 
94  void print(std::ostream& myCout) const override;
95 
97  friend std::ostream& operator<<(std::ostream&, const L1GtMuonTemplate&);
98 
99 private:
101  void copy(const L1GtMuonTemplate& cp);
102 
103 private:
105  std::vector<ObjectParameter> m_objectParameter;
107 
109 };
110 
111 #endif
std::vector< ObjectParameter > m_objectParameter
variables containing the parameters
L1GtConditionType
~L1GtMuonTemplate() override
void setConditionParameter(const std::vector< ObjectParameter > &objParameter, const CorrelationParameter &corrParameter)
set functions
L1GtMuonTemplate & operator=(const L1GtMuonTemplate &)
friend std::ostream & operator<<(std::ostream &, const L1GtMuonTemplate &)
output stream operator
CorrelationParameter m_correlationParameter
const CorrelationParameter * correlationParameter() const
void print(std::ostream &myCout) const override
print the condition
const std::vector< ObjectParameter > * objectParameter() const
#define COND_SERIALIZABLE
Definition: Serializable.h:39
void copy(const L1GtMuonTemplate &cp)
copy function for copy constructor and operator=