File indexing completed on 2024-04-06 12:19:59
0001 #ifndef GlobalTrigger_L1GtJetCountsCondition_h
0002 #define GlobalTrigger_L1GtJetCountsCondition_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019 #include <iosfwd>
0020 #include <string>
0021
0022
0023
0024 #include "L1Trigger/GlobalTrigger/interface/L1GtConditionEvaluation.h"
0025
0026
0027 class L1GtCondition;
0028 class L1GtJetCountsTemplate;
0029
0030 class L1GlobalTriggerPSB;
0031
0032
0033 class L1GtJetCountsCondition : public L1GtConditionEvaluation {
0034 public:
0035
0036
0037 L1GtJetCountsCondition();
0038
0039
0040 L1GtJetCountsCondition(const L1GtCondition *, const L1GlobalTriggerPSB *, const int nrL1JetCounts);
0041
0042
0043 L1GtJetCountsCondition(const L1GtJetCountsCondition &);
0044
0045
0046 ~L1GtJetCountsCondition() override;
0047
0048
0049 L1GtJetCountsCondition &operator=(const L1GtJetCountsCondition &);
0050
0051 public:
0052
0053 const bool evaluateCondition() const override;
0054
0055
0056 void print(std::ostream &myCout) const override;
0057
0058 public:
0059
0060 inline const L1GtJetCountsTemplate *gtJetCountsTemplate() const { return m_gtJetCountsTemplate; }
0061
0062 void setGtJetCountsTemplate(const L1GtJetCountsTemplate *);
0063
0064
0065 inline const L1GlobalTriggerPSB *gtPSB() const { return m_gtPSB; }
0066
0067 void setGtPSB(const L1GlobalTriggerPSB *);
0068
0069 private:
0070
0071 void copy(const L1GtJetCountsCondition &cp);
0072
0073 private:
0074
0075 const L1GtJetCountsTemplate *m_gtJetCountsTemplate;
0076
0077
0078 const L1GlobalTriggerPSB *m_gtPSB;
0079
0080
0081 unsigned int m_numberL1JetCounts;
0082 };
0083
0084 #endif