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

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

Namespaces

Name
Rivet

Classes

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

Source code

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

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

namespace Rivet {


  class TriggerCDFRun0Run1 : public Projection {
  public:

    TriggerCDFRun0Run1() {
      setName("TriggerCDFRun0Run1");

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

    DEFAULT_RIVET_PROJ_CLONE(TriggerCDFRun0Run1);


    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