This file is indexed.

/usr/include/Rivet/Projections/CentralEtHCM.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
// -*- C++ -*-
#ifndef RIVET_CentralEtHCM_HH
#define RIVET_CentralEtHCM_HH

#include "Rivet/Particle.hh"
#include "Rivet/Event.hh"
#include "Rivet/Projections/DISFinalState.hh"

namespace Rivet {


  /// @brief Summed \f$ E_\perp \f$ of central particles in HCM system.
  ///
  /// Sum up \f$ E_\perp \f$ of all particles in the hadronic final state in the
  /// central rapidity bin of the HCM system.
  class CentralEtHCM : public Projection {
  public:

    /// The default constructor. Must specify a FinalStateHCM projection
    /// object which is guaranteed to live throughout the run.
    CentralEtHCM(const DISFinalState& fs)
    {
      setName("CentralEtHCM");
      addProjection(fs, "FS");
    }

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


  protected:

    /// Apply the projection on to the Event.
    void project(const Event& e);

    /// Compare with other projections
    int compare(const Projection& p) const {
      return mkNamedPCmp(p, "FS");
    }


  public:

    /// The sum of the Et in the central rapidity bin.
    double sumEt() const { return _sumet; }


  private:

    /// The sum of the Et in the central rapidity bin.
    double _sumet;

  };

}


#endif