This file is indexed.

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

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

namespace Rivet {


  /// @brief Get the total energy vector, allowing missing \f$ E_T \f$ etc. to be calculated.
  /// @deprecated This is confusing because the visibility is not automatic. Use MissingMomentum instead.
  class TotalVisibleMomentum : public Projection {

  public:

    /// Constructor. Make sure you supply an appropriately vetoed FS!
    TotalVisibleMomentum(const FinalState& fsp)
    {
      setName("TotalVisibleMomentum");
      addProjection(fsp, "FS");
      getLog() << Log::WARNING << "TotalVisibleMomentum projection is deprecated: "
               << "please use the MissingMomentum projection instead." << endl;
    }

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


  public:
    /// The projected four-momentum vector
    FourMomentum& momentum() { return _momentum; }

    /// The projected four-momentum vector
    const FourMomentum& momentum() const { return _momentum; }

    /// The projected scalar transverse energy
    double scalarET() const { return _set; }


  protected:

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

    /// Compare projections.
    int compare(const Projection& p) const;

  private:

    /// The total visible momentum
    FourMomentum _momentum;

    /// Scalar transverse energy
    double _set;

  };

}


#endif