This file is indexed.

/usr/include/ThePEG/Handlers/PtGenerator.h is in libthepeg-dev 1.8.0-3build1.

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
90
91
// -*- C++ -*-
//
// PtGenerator.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_PtGenerator_H
#define ThePEG_PtGenerator_H
// This is the declaration of the PtGenerator class.

#include "ThePEG/Config/ThePEG.h"
#include "ThePEG/Handlers/HandlerBase.h"

namespace ThePEG {

/**
 * PtGenerator is the base for all classes implementing alternative
 * models for transverse momentum generation.  It inherits from the
 * HandlerBase which among other things provides forward access to the
 * random number object held by the EventGenerator object.
 *
 * @see \ref PtGeneratorInterfaces "The interfaces"
 * defined for PtGenerator.
 * @see HandlerBase
 * @see EventGenerator
 */
class PtGenerator: public HandlerBase {

public:

  /** @name Virtual functions to be implemented by sub-classes. */
  //@{
  /**
   * Generate (\f$k_x, k_y\f$) components of the transverse
   * momentum.
   */
  virtual TransverseMomentum generate() const =0;
  //@}

public:

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

private:

  /**
   * Describe an abstract class without persistent data.
   */
  static AbstractClassDescription<PtGenerator> initPtGenerator;

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

};


/** @cond TRAITSPECIALIZATIONS */

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

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


/** @endcond */

}

#endif /* ThePEG_PtGenerator_H */