CMS 3D CMS Logo

EnergySumTemplate.h
Go to the documentation of this file.
1 #ifndef L1Trigger_L1TGlobal_EnergySumTemplate_h
2 #define L1Trigger_L1TGlobal_EnergySumTemplate_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 public:
34  // constructor
36 
37  // constructor
39 
40  // constructor
42 
43  // copy constructor
45 
46  // destructor
47  ~EnergySumTemplate() override;
48 
49  // assign operator
51 
52 public:
54  struct ObjectParameter {
55  unsigned int etLowThreshold;
56  unsigned int etHighThreshold;
58 
59  unsigned int phiWindow1Lower;
60  unsigned int phiWindow1Upper;
61  unsigned int phiWindow2Lower;
62  unsigned int phiWindow2Upper;
63 
64  // two words used only for ETM (ETM phi has 72 bins - two 64-bits words)
65  // one word used for HTM
66  unsigned long long phiRange0Word;
67  unsigned long long phiRange1Word;
68  };
69 
70 public:
71  inline const std::vector<ObjectParameter>* objectParameter() const { return &m_objectParameter; }
72 
74  void setConditionParameter(const std::vector<ObjectParameter>&);
75 
77  void print(std::ostream& myCout) const override;
78 
80  friend std::ostream& operator<<(std::ostream&, const EnergySumTemplate&);
81 
82 private:
84  void copy(const EnergySumTemplate& cp);
85 
86 private:
88  std::vector<ObjectParameter> m_objectParameter;
89 };
90 
91 #endif
EnergySumTemplate::ObjectParameter::phiRange0Word
unsigned long long phiRange0Word
Definition: EnergySumTemplate.h:66
EnergySumTemplate::ObjectParameter::energyOverflow
bool energyOverflow
Definition: EnergySumTemplate.h:57
EnergySumTemplate::copy
void copy(const EnergySumTemplate &cp)
copy function for copy constructor and operator=
Definition: EnergySumTemplate.cc:98
EnergySumTemplate::setConditionParameter
void setConditionParameter(const std::vector< ObjectParameter > &)
set functions
Definition: EnergySumTemplate.cc:66
EnergySumTemplate::operator=
EnergySumTemplate & operator=(const EnergySumTemplate &)
Definition: EnergySumTemplate.cc:60
hgcal_conditions::parameters
Definition: HGCConditions.h:86
GlobalCondition.h
EnergySumTemplate::operator<<
friend std::ostream & operator<<(std::ostream &, const EnergySumTemplate &)
output stream operator
Definition: EnergySumTemplate.cc:111
EnergySumTemplate::ObjectParameter::phiWindow1Upper
unsigned int phiWindow1Upper
Definition: EnergySumTemplate.h:60
EnergySumTemplate::ObjectParameter::phiWindow2Upper
unsigned int phiWindow2Upper
Definition: EnergySumTemplate.h:62
l1t::GtConditionType
GtConditionType
Definition: GlobalDefinitions.h:48
EnergySumTemplate::ObjectParameter
typedef for a single object template
Definition: EnergySumTemplate.h:54
EnergySumTemplate::EnergySumTemplate
EnergySumTemplate()
Definition: EnergySumTemplate.cc:32
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EnergySumTemplate::print
void print(std::ostream &myCout) const override
print the condition
Definition: EnergySumTemplate.cc:70
EnergySumTemplate
Definition: EnergySumTemplate.h:32
EnergySumTemplate::~EnergySumTemplate
~EnergySumTemplate() override
Definition: EnergySumTemplate.cc:55
EnergySumTemplate::ObjectParameter::phiRange1Word
unsigned long long phiRange1Word
Definition: EnergySumTemplate.h:67
EnergySumTemplate::ObjectParameter::phiWindow1Lower
unsigned int phiWindow1Lower
Definition: EnergySumTemplate.h:59
EnergySumTemplate::ObjectParameter::etLowThreshold
unsigned int etLowThreshold
Definition: EnergySumTemplate.h:55
EnergySumTemplate::m_objectParameter
std::vector< ObjectParameter > m_objectParameter
variables containing the parameters
Definition: EnergySumTemplate.h:88
EnergySumTemplate::objectParameter
const std::vector< ObjectParameter > * objectParameter() const
Definition: EnergySumTemplate.h:71
EnergySumTemplate::ObjectParameter::phiWindow2Lower
unsigned int phiWindow2Lower
Definition: EnergySumTemplate.h:61
GlobalCondition
Definition: GlobalCondition.h:33
EnergySumTemplate::ObjectParameter::etHighThreshold
unsigned int etHighThreshold
Definition: EnergySumTemplate.h:56