File indexing completed on 2024-04-06 12:19:59
0001 #ifndef GlobalTrigger_L1GtEnergySumCondition_h
0002 #define GlobalTrigger_L1GtEnergySumCondition_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 L1GtEnergySumTemplate;
0029
0030 class L1GlobalTriggerPSB;
0031
0032
0033 class L1GtEnergySumCondition : public L1GtConditionEvaluation {
0034 public:
0035
0036
0037 L1GtEnergySumCondition();
0038
0039
0040 L1GtEnergySumCondition(const L1GtCondition *, const L1GlobalTriggerPSB *);
0041
0042
0043 L1GtEnergySumCondition(const L1GtEnergySumCondition &);
0044
0045
0046 ~L1GtEnergySumCondition() override;
0047
0048
0049 L1GtEnergySumCondition &operator=(const L1GtEnergySumCondition &);
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 L1GtEnergySumTemplate *gtEnergySumTemplate() const { return m_gtEnergySumTemplate; }
0061
0062 void setGtEnergySumTemplate(const L1GtEnergySumTemplate *);
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 L1GtEnergySumCondition &cp);
0072
0073 private:
0074
0075 const L1GtEnergySumTemplate *m_gtEnergySumTemplate;
0076
0077
0078 const L1GlobalTriggerPSB *m_gtPSB;
0079 };
0080
0081 #endif