This file is indexed.

/usr/include/ThePEG/PDT/MassGenerator.h is in libthepeg-dev 1.8.0-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
83
84
85
86
87
88
89
// -*- C++ -*-
//
// MassGenerator.h is a part of ThePEG - Toolkit for HEP Event Generation
// Copyright (C) 1999-2011 Leif Lonnblad
//
// ThePEG is licenced under version 2 of the GPL, see COPYING for details.
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
//
#ifndef ThePEG_MassGenerator_H
#define ThePEG_MassGenerator_H
// This is the declaration of the MassGenerator class.

#include "ThePEG/Config/ThePEG.h"
#include "ThePEG/Interface/Interfaced.h"
#include "MassGenerator.fh"

namespace ThePEG {

/**
 * MassGenerator is an abstract base class used by the ParticleData
 * class to generate a mass for a Particle instance.
 *
 * @see \ref MassGeneratorInterfaces "The interfaces"
 * defined for MassGenerator.
 * @see ParticleData
 */
class MassGenerator: public Interfaced {

public:

  /** @name Virtual functions to be overridden by sub-classes. */
  //@{
  /**
   * Return true if this mass generator can handle the given particle
   * type.
   */
  virtual bool accept(const ParticleData &) const = 0;

  /**
   * Generate a mass for an instance of a given particle type.
   */
  virtual Energy mass(const ParticleData &) const = 0;
  //@}

public:

  /**
   * Standard Init function used to initialize the interface.
   */
  static void Init();

private:

  /**
   * The static object used to initialize the description of this class.
   * Indicates that this is an abstract class without persistent data.
   */
  static AbstractNoPIOClassDescription<MassGenerator> initMassGenerator;

  /**
   *  Private and non-existent assignment operator.
   */
  MassGenerator & operator=(const MassGenerator &);

};

/** @cond TRAITSPECIALIZATIONS */

/** This template specialization informs ThePEG about the base classes
 *  of MassGenerator. */
template <>
struct BaseClassTrait<MassGenerator,1>: public ClassTraitsType {
  /** Typedef of the first base class of MassGenerator. */
  typedef Interfaced NthBase;
};

/** This template specialization informs ThePEG about the name of the
 *  MassGenerator class. */
template <>
struct ClassTraits<MassGenerator>: public ClassTraitsBase<MassGenerator> {
  /** Return a platform-independent class name */
  static string className() { return "ThePEG::MassGenerator"; }
};

/** @endcond */

}

#endif /* ThePEG_MassGenerator_H */