This file is indexed.

/usr/include/ThePEG/Config/ThePEG.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
 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
151
152
153
154
155
// -*- C++ -*-
//
// ThePEG.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_H
#define ThePEG_H

/** \file ThePEG.h
 * This is the main config header file for ThePEG. Do not make
 * changes in this file. If you need to modify anything, edit a copy
 * of the file which can be included instead of this file using the
 * macro <code>ThePEG_ALTERNATE_CONFIG</code>.
 */

#ifndef ThePEG_ALTERNATE_CONFIG

#include "ThePEG/Pointer/Ptr.h"
#include "ThePEG/Pointer/PtrTraits.h"
#include "ThePEG/Pointer/RCPtr.h"
#include "ThePEG/Utilities/Rebinder.fh"
#include "ThePEG/Utilities/Interval.fh"
#include "ThePEG/Utilities/ClassDescription.fh"
#include "ThePEG/Interface/InterfaceBase.fh"
#include "ThePEG/Persistency/PersistentOStream.fh"
#include "ThePEG/Persistency/PersistentIStream.fh"
#include "TemplateTools.h"
#include "Complex.h"
#include "Unitsystem.h"
#include "Constants.h"
#include "std.h"


/**
 * This is the main namespace within which all identifiers in ThePEG
 * are declared. External packages based on ThePEG should not
 * introduce identifiers in the ThePEG namespace, but in a separate
 * namespace which need not be nested within the ThePEG namespace.
 */
namespace ThePEG {

// Introduce some identifiers in the ThePEG namespace/
using namespace ThePEG::Pointer;
using ThePEG::Pointer::Ptr;
using namespace ThePEG::Units;

/**
 * Define the base class from which all (polymorphic) classes in
 * ThePEG are derived.
 */
struct Base: public ReferenceCounted {

  /** The virtual destructor */
  virtual ~Base() {}

  /**
   * The standard Init function used to initialize the interfaces.
   * Called exactly once for each class by the class description system
   * before the main function starts or
   * when this class is dynamically loaded.
   */
  static void Init() {}

  /**
   * Print out debugging information for this object on std::cerr. To
   * be called from within a debugger. Simply calls the virtual
   * debugme() function.
   */
  void debug() const;

  /**
   * Print out debugging information for this object on std::cerr. To
   * be called from within a debugger via the debug() function.
   */
  virtual void debugme() const;

};

/**
 * Define the base class from which all persistent classes in
 * ThePEG are derived.
 */
typedef Base PersistentBase;

/**
 * TraitsType is an empty, non-polymorphic, base class. It is used as
 * a base class of all traits classes in ThePEG in order to group them
 * together in the documentation. It currently serves no other
 * purpose.
 */
struct TraitsType {};

/**
 * A standard exception class to be used for vetoing a whole event.
 */
struct Veto {

  /** the default constructor. */
  Veto();
};

/**
 * A standard exception class to be used to temporarily stop the
 * generation of an event.
 */
struct Stop {};

/**
 * The square function should really have been included in the
 * standard C++ library.
 */
template <typename T>
inline typename BinaryOpTraits<T,T>::MulT sqr(const T& x) {
  return x*x;
}

/**
 * The templated abs function should really have been included in the
 * standard C++ library.
 */
template <typename T>
inline T abs(const T & t) {
  return t < T()? -t: t;
}

// Debugging in ThePEG may be swithced off completely by this
// compilation swithc, eliminating possible overhead in error
// checking.
#ifndef ThePEG_NO_DEBUG
/** Macro for accessing debug functions to enable compile-time disabling. */
#define ThePEG_DEBUG_LEVEL Debug::level
/** Macro for accessing debug functions to enable compile-time disabling. */
#define ThePEG_DEBUG_ITEM(item) Debug::debugItem(item)
#else
/** Macro for accessing debug functions to enable compile-time disabling. */
#define ThePEG_DEBUG_LEVEL 0
/** Macro for accessing debug functions to enable compile-time disabling. */
#define ThePEG_DEBUG_ITEM(item) false
#endif

}

#include "Pointers.h"
#include "Containers.h"

#else

#include ThePEG_ALTERNATIVE_CONFIG

#endif

#endif /* ThePEG_H */