This file is indexed.

/usr/include/ThePEG/Handlers/ZGenerator.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
90
91
// -*- C++ -*-
//
// ZGenerator.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_ZGenerator_H
#define ThePEG_ZGenerator_H
// This is the declaration of the ZGenerator class.

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

namespace ThePEG {

/**
 * ZGenerator is the base class for all classes implementing models to
 * generate the momentum fraction, \f$z\f$, taken by hadrons produced in a
 * hadronization scenario.
 * 
 * It inherits from <code>HandlerBase</code> class which among other
 * things provides forward access to the random number generator of
 * the EventGenerator class.
 * 
 * @see \ref ZGeneratorInterfaces "The interfaces"
 * defined for ZGenerator.
 * @see HandlerBase
 * @see EventGenerator
 */
class ZGenerator: public HandlerBase {

public:

  /** @name Virtual functions mandated by the ZGenerator base class. */
  //@{
  /**
   * Return the momentum fraction. Assume that an initial
   * (anti-)(di-)quark \a q1 produces a hadron and leaves behind
   * another (anti-)(di-)quark \a q2. The hadron is assumed to have a
   * squared transverse mass, \a mT2, w.r.t. the initial quark
   * direction.
   * @return the energy fraction.
   */
  virtual double generate(cPDPtr q1, cPDPtr q2, Energy2 mT2 ) const =0;
  //@}

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


private:

  /**
   * Describe an abstract class without persistent data.
   */
  static AbstractClassDescription<ZGenerator> initZGenerator;

};


/** @cond TRAITSPECIALIZATIONS */

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

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

}

#endif /* ThePEG_ZGenerator_H */