Rivet
1.8.0
|
00001 // -*- C++ -*- 00002 #ifndef RIVET_TriggerCDFRun2_HH 00003 #define RIVET_TriggerCDFRun2_HH 00004 00005 #include "Rivet/Projection.hh" 00006 #include "Rivet/Event.hh" 00007 #include "Rivet/Particle.hh" 00008 #include "Rivet/Projections/Beam.hh" 00009 00010 namespace Rivet { 00011 00012 00014 class TriggerCDFRun2 : public Projection { 00015 public: 00016 00018 TriggerCDFRun2() { 00019 setName("TriggerCDFRun2"); 00020 00021 addProjection(ChargedFinalState(-4.7, 4.7), "CFS"); 00022 } 00023 00025 virtual const Projection* clone() const { 00026 return new TriggerCDFRun2(*this); 00027 } 00028 00029 00030 public: 00031 00033 bool minBiasDecision() const { 00034 return _decision_mb; 00035 } 00036 00038 void project(const Event& evt); 00039 00040 00041 protected: 00042 00044 virtual int compare(const Projection& UNUSED(p)) const { 00045 return EQUIVALENT; 00046 } 00047 00048 00049 private: 00050 00052 bool _decision_mb; 00053 00054 }; 00055 00056 00057 } 00058 00059 #endif