/usr/include/ThePEG/Repository/ThePEGStrategy.h is in libthepeg-dev 1.8.0-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 | // -*- C++ -*-
//
// ThePEGStrategy.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_ThePEGStrategy_H
#define ThePEG_ThePEGStrategy_H
// This is the declaration of the ThePEGStrategy class.
#include "ThePEG/Repository/Strategy.h"
namespace ThePEG {
/**
* The ThePEGStrategy class is a sub-class of the Strategy class,
* simply implementing the correct citation for ThePEG in the
* ClassDocumentation interface.
*
* @see Strategy
*
*/
class ThePEGStrategy: public Strategy {
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 concrete class without persistent data.
*/
static NoPIOClassDescription<ThePEGStrategy> initThePEGStrategy;
/**
* Private and non-existent assignment operator.
*/
ThePEGStrategy & operator=(const ThePEGStrategy &);
};
/** @cond TRAITSPECIALIZATIONS */
/** This template specialization informs ThePEG about the base classes
* of ThePEGStrategy. */
template <>
struct BaseClassTrait<ThePEGStrategy,1>: public ClassTraitsType {
/** Typedef of the first base class of ThePEGStrategy. */
typedef Strategy NthBase;
};
/** This template specialization informs ThePEG about the name of the
* ThePEGStrategy class and the shared object where it is
* defined. */
template <>
struct ClassTraits<ThePEGStrategy>: public ClassTraitsBase<ThePEGStrategy> {
/** Return a platform-independent class name */
static string className() { return "ThePEG::ThePEGStrategy"; }
/** Return the name of the shared library be loaded to get access to
* the ThePEGStrategy class and every other class it uses
* (except the base class). */
static string library() { return "ThePEGStrategy.so"; }
};
/** @endcond */
}
#endif /* ThePEG_ThePEGStrategy_H */
|