CMS 3D CMS Logo

CICADACondition.h
Go to the documentation of this file.
1 #ifndef L1Trigger_L1TGlobal_CICADACondition_h
2 #define L1Trigger_L1TGlobal_CICADACondition_h
3 
4 #include <iosfwd>
5 #include <string>
6 
8 
9 class GlobalCondition;
10 class CICADATemplate;
11 
12 namespace l1t {
13  class GlobalBoard;
14 
16  public:
20  ~CICADACondition() override = default;
21 
23 
24  const bool evaluateCondition(const int bxEval) const override;
25 
26  void print(std::ostream& myCout) const override;
27 
28  inline const CICADATemplate* gtCICADATemplate() const { return m_gtCICADATemplate; }
29 
30  void setGtCICADATemplate(const CICADATemplate* cicadaTemplate) { m_gtCICADATemplate = cicadaTemplate; }
31 
32  inline const GlobalBoard* getuGtB() const { return m_uGtB; }
33 
34  void setuGtB(const GlobalBoard* ptrGTB) { m_uGtB = ptrGTB; }
35 
36  private:
37  void copy(const CICADACondition& cp);
38 
40 
42  };
43 } // namespace l1t
44 #endif
const bool evaluateCondition(const int bxEval) const override
the core function to check if the condition matches
const CICADATemplate * m_gtCICADATemplate
delete x;
Definition: CaloConfig.h:22
void setuGtB(const GlobalBoard *ptrGTB)
void print(std::ostream &myCout) const override
print condition
void copy(const CICADACondition &cp)
CICADACondition & operator=(const CICADACondition &)
~CICADACondition() override=default
void setGtCICADATemplate(const CICADATemplate *cicadaTemplate)
const GlobalBoard * getuGtB() const
const CICADATemplate * gtCICADATemplate() const
const GlobalBoard * m_uGtB