Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-06-28 02:36:27

0001 #ifndef L1Trigger_L1TGlobal_CICADACondition_h
0002 #define L1Trigger_L1TGlobal_CICADACondition_h
0003 
0004 #include <iosfwd>
0005 #include <string>
0006 
0007 #include "L1Trigger/L1TGlobal/interface/ConditionEvaluation.h"
0008 
0009 class GlobalCondition;
0010 class CICADATemplate;
0011 
0012 namespace l1t {
0013   class GlobalBoard;
0014 
0015   class CICADACondition : public ConditionEvaluation {
0016   public:
0017     CICADACondition();
0018     CICADACondition(const GlobalCondition*, const GlobalBoard*);
0019     CICADACondition(const CICADACondition&);
0020     ~CICADACondition() override = default;
0021 
0022     CICADACondition& operator=(const CICADACondition&);
0023 
0024     const bool evaluateCondition(const int bxEval) const override;
0025 
0026     void print(std::ostream& myCout) const override;
0027 
0028     inline const CICADATemplate* gtCICADATemplate() const { return m_gtCICADATemplate; }
0029 
0030     void setGtCICADATemplate(const CICADATemplate* cicadaTemplate) { m_gtCICADATemplate = cicadaTemplate; }
0031 
0032     inline const GlobalBoard* getuGtB() const { return m_uGtB; }
0033 
0034     void setuGtB(const GlobalBoard* ptrGTB) { m_uGtB = ptrGTB; }
0035 
0036   private:
0037     void copy(const CICADACondition& cp);
0038 
0039     const CICADATemplate* m_gtCICADATemplate;
0040 
0041     const GlobalBoard* m_uGtB;
0042   };
0043 }  // namespace l1t
0044 #endif