CMS 3D CMS Logo

ExternalCondition.h
Go to the documentation of this file.
1 #ifndef L1Trigger_L1TGlobal_ExternalCondition_h
2 #define L1Trigger_L1TGlobal_ExternalCondition_h
3 
18 // system include files
19 #include <iosfwd>
20 #include <string>
21 
22 // user include files
23 // base classes
25 
26 // forward declarations
27 class GlobalCondition;
28 class ExternalTemplate;
29 
30 namespace l1t {
31 
32  class L1Candidate;
33 
34  class GlobalBoard;
35 
36  // class declaration
38  public:
42 
45 
46  // copy constructor
48 
49  // destructor
50  ~ExternalCondition() override;
51 
52  // assign operator
54 
55  public:
57  const bool evaluateCondition(const int bxEval) const override;
58 
60  void print(std::ostream& myCout) const override;
61 
62  public:
64  inline const ExternalTemplate* gtExternalTemplate() const { return m_gtExternalTemplate; }
65 
67 
69  inline const GlobalBoard* getuGtB() const { return m_uGtB; }
70 
71  void setuGtB(const GlobalBoard*);
72 
73  private:
75  void copy(const ExternalCondition& cp);
76 
77  private:
80 
83  };
84 
85 } // namespace l1t
86 #endif
l1t::GlobalBoard
Definition: GlobalBoard.h:52
l1t::ExternalCondition::m_gtExternalTemplate
const ExternalTemplate * m_gtExternalTemplate
pointer to a ExternalTemplate
Definition: ExternalCondition.h:79
l1t::ExternalCondition::setGtExternalTemplate
void setGtExternalTemplate(const ExternalTemplate *)
Definition: ExternalCondition.cc:81
l1t::ExternalCondition::setuGtB
void setuGtB(const GlobalBoard *)
set the pointer to uGT GlobalBoard
Definition: ExternalCondition.cc:86
l1t::ExternalCondition::getuGtB
const GlobalBoard * getuGtB() const
get / set the pointer to uGt GlobalBoard
Definition: ExternalCondition.h:69
ExternalTemplate
Definition: ExternalTemplate.h:32
l1t::ExternalCondition::print
void print(std::ostream &myCout) const override
print condition
Definition: ExternalCondition.cc:152
GlobalBoard
l1t
delete x;
Definition: CaloConfig.h:22
l1t::ExternalCondition::gtExternalTemplate
const ExternalTemplate * gtExternalTemplate() const
get / set the pointer to a L1GtCondition
Definition: ExternalCondition.h:64
ConditionEvaluation.h
l1t::ExternalCondition::copy
void copy(const ExternalCondition &cp)
copy function for copy constructor and operator=
Definition: ExternalCondition.cc:56
l1t::ExternalCondition::operator=
ExternalCondition & operator=(const ExternalCondition &)
Definition: ExternalCondition.cc:75
l1t::ExternalCondition::ExternalCondition
ExternalCondition()
Definition: ExternalCondition.cc:38
l1t::ExternalCondition::m_uGtB
const GlobalBoard * m_uGtB
pointer to uGt GlobalBoard, to be able to get the trigger objects
Definition: ExternalCondition.h:82
l1t::ConditionEvaluation
Definition: ConditionEvaluation.h:39
l1t::ExternalCondition::~ExternalCondition
~ExternalCondition() override
Definition: ExternalCondition.cc:70
l1t::ExternalCondition::evaluateCondition
const bool evaluateCondition(const int bxEval) const override
the core function to check if the condition matches
Definition: ExternalCondition.cc:89
l1t::ExternalCondition
Definition: ExternalCondition.h:37
GlobalCondition
Definition: GlobalCondition.h:33
CommonMethods.cp
def cp(fromDir, toDir, listOfFiles, overwrite=False, smallList=False)
Definition: CommonMethods.py:192