This file is indexed.

/usr/include/Rivet/Projections/TriggerUA5.hh is in librivet-dev 1.8.3-1.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
// -*- C++ -*-
#ifndef RIVET_TriggerUA5_HH
#define RIVET_TriggerUA5_HH

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

namespace Rivet {


  /// @brief Access to the min bias triggers used by UA5
  class TriggerUA5 : public Projection {
  public:

    /// Default constructor.
    TriggerUA5();

    /// Clone on the heap.
    virtual const Projection* clone() const {
      return new TriggerUA5(*this);
    }


  public:

    /// The trigger result for non-single diffractive (2 arm) trigger
    bool sdDecision() const {
      return _decision_sd;
    }

    /// The trigger result for non-single diffractive (2 arm) trigger
    bool nsdDecision() const {
      return _decision_nsd_1;
    }

    /// The trigger result for non-single diffractive (2 arm) trigger
    /// with special ">= 2" trigger for ppbar bg rejection
    bool nsd2Decision() const {
      return _decision_nsd_2;
    }

    /// The trigger result
    bool samebeams() const {
      return _samebeams;
    }

    /// Number of hits in <-,+> eta hodoscopes
    pair<unsigned int, unsigned int> numHits() {
      return make_pair(_n_plus, _n_minus);
    }

    /// Project on to the event
    void project(const Event& evt);


  protected:

    /// Compare with other projections.
    virtual int compare(const Projection& UNUSED(p)) const {
      return EQUIVALENT;
    }


  private:

    /// The min bias trigger decisions
    bool _decision_sd, _decision_nsd_1, _decision_nsd_2;

    /// Is it a pp collision?
    bool _samebeams;

    /// Number of hits in hodoscopes
    unsigned int _n_plus, _n_minus;

  };


}

#endif