File indexing completed on 2025-05-12 09:05:03
0001
0002 #ifndef RIVET_TriggerCDFRun0Run1_HH
0003 #define RIVET_TriggerCDFRun0Run1_HH
0004
0005 #include "Rivet/Projection.hh"
0006 #include "Rivet/Event.hh"
0007 #include "Rivet/Particle.hh"
0008 #include "Rivet/Projections/Beam.hh"
0009
0010 namespace Rivet {
0011
0012
0013
0014
0015
0016 class TriggerCDFRun0Run1 : public Projection {
0017 public:
0018
0019
0020 TriggerCDFRun0Run1() {
0021 setName("TriggerCDFRun0Run1");
0022
0023 declare(ChargedFinalState(Cuts::etaIn(-5.9, 5.9)), "CFS");
0024 }
0025
0026
0027 RIVET_DEFAULT_PROJ_CLONE(TriggerCDFRun0Run1);
0028
0029
0030 using Projection::operator =;
0031
0032
0033
0034 bool minBiasDecision() const {
0035 return _decision_mb;
0036 }
0037
0038
0039 void project(const Event& evt);
0040
0041
0042 protected:
0043
0044
0045 virtual CmpState compare(const Projection&) const {
0046 return CmpState::EQ;
0047 }
0048
0049
0050 protected:
0051
0052
0053 bool _decision_mb;
0054
0055 };
0056
0057
0058 }
0059
0060 #endif