file /home/anarendran/Documents/temp/rivet/include/Rivet/Projections/TriggerCDFRun2.hh

/home/anarendran/Documents/temp/rivet/include/Rivet/Projections/TriggerCDFRun2.hh

Namespaces

Name
Rivet

Classes

Name
classRivet::TriggerCDFRun2
Access to the min bias triggers used by CDF in Run 0 and Run 1.

Source code

// -*- C++ -*-
#ifndef RIVET_TriggerCDFRun2_HH
#define RIVET_TriggerCDFRun2_HH

#include "Rivet/Projection.hh"
#include "Rivet/Event.hh"
#include "Rivet/Particle.hh"
#include "Rivet/Projections/Beam.hh"

namespace Rivet {


  class TriggerCDFRun2 : public Projection {
  public:

    TriggerCDFRun2() {
      setName("TriggerCDFRun2");

      declare(ChargedFinalState(Cuts::etaIn(-4.7, 4.7)), "CFS");
    }

    DEFAULT_RIVET_PROJ_CLONE(TriggerCDFRun2);


    bool minBiasDecision() const {
      return _decision_mb;
    }

    void project(const Event& evt);


  protected:

    virtual CmpState compare(const Projection&) const {
      return CmpState::EQ;
    }


  private:

    bool _decision_mb;

  };


}

#endif

Updated on 2022-08-07 at 20:17:18 +0100