This file is indexed.

/usr/include/ThePEG/PDF/LeptonLeptonPDF.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
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
// -*- C++ -*-
//
// LeptonLeptonPDF.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_LeptonLeptonPDF_H
#define ThePEG_LeptonLeptonPDF_H
// This is the declaration of the LeptonLeptonPDF class.

#include "ThePEG/PDF/PDFBase.h"

namespace ThePEG {

/**
 * LeptonLeptonPDF inherits from PDFBase and encodes the distribution
 * of leptons within leptons, ie. the energy loss of leptons due to
 * radiation of soft photons.
 *
 * @see \ref LeptonLeptonPDFInterfaces "The interfaces"
 * defined for LeptonLeptonPDF.
 */
class LeptonLeptonPDF: public PDFBase {

public:

  /** @name Virtual functions required by the PDFBase class. */
  //@{
  /**
   * Return true if this PDF can handle the extraction of parton from the
   * given particle ie. if the particle is a lepton.
   */
  virtual bool canHandleParticle(tcPDPtr particle) const;

  /**
   * Return true if this PDF has a pole at $x=1$ for the given \a
   * particle and \a parton. Returns true if \a parton and \a particle
   * are the same.
   */
  virtual bool hasPoleIn1(tcPDPtr particle, tcPDPtr parton) const;

  /**
   * Return a vector of partons handled by this PDF (always the same
   * lepton as the incoming particle).
   */
  virtual cPDVector partons(tcPDPtr p) const;

  /**
   * Return the value of the density function at a given
   * l\f$=\log(1/x)\f$ and scale for the given parton.
   */
  virtual double xfl(tcPDPtr particle, tcPDPtr parton, Energy2 partonScale,
		     double l, Energy2 particleScale = ZERO) const;

  /**
   * Return the the valens part of the true pdf for the given
   * parameters, with the momentum fraction given as
   * l\f$=\log(1/x)\f$. This version simply returns the full pdf.
   */
  virtual double xfvl(tcPDPtr particle, tcPDPtr parton, Energy2 partonScale,
		     double l, Energy2 particleScale = ZERO) const;

  /**
   * Return the the valens part of the true pdf for the given
   * parameters, with the momentum fraction given as x. This version
   * simply returns the full pdf.
   */
  virtual double xfvx(tcPDPtr particle, tcPDPtr parton, Energy2 partonScale,
		      double x, double eps, Energy2 particleScale) const;

  /**
   * If the PDF contains strange peaks which can be difficult to
   * handle, this function may be overwritten to return an appropriate
   * l\f$=\log(1/x)\f$ for a z given by a flat distribution in
   * ]0,1[. Also the jacobobian of the l(z) function must be
   * returned. The default version will simly use the function l(z) =
   * lmin + z*(lmax-lmin).
   */
  virtual double flattenL(tcPDPtr particle, tcPDPtr parton, const PDFCuts &,
			  double z, double & jacobian) const;
  //@}

public:

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

protected:

  /** @name Clone Methods. */
  //@{
  /**
   * Make a simple clone of this object.
   * @return a pointer to the new object.
   */
  virtual IBPtr clone() const;

  /** Make a clone of this object, possibly modifying the cloned object
   * to make it sane.
   * @return a pointer to the new object.
   */
  virtual IBPtr fullclone() const;
  //@}

private:

  /**
   * Describe a concrete class without persistent data.
   */
  static NoPIOClassDescription<LeptonLeptonPDF> initLeptonLeptonPDF;

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

};

/** @cond TRAITSPECIALIZATIONS */

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

/** This template specialization informs ThePEG about the name of the
 *  LeptonLeptonPDF class and the shared object where it is
 *  defined. */
template <>
struct ClassTraits<LeptonLeptonPDF>: public ClassTraitsBase<LeptonLeptonPDF> {
  /** Return a platform-independent class name */
  static string className() { return "ThePEG::LeptonLeptonPDF"; }
  /** Return the name of the shared library be loaded to get access to
   *  the LeptonLeptonPDF class and every other class it uses (except
   *  the base class). */
  static string library() { return "LeptonLeptonPDF.so"; }
};

/** @endcond */

}

#endif /* ThePEG_LeptonLeptonPDF_H */