/usr/include/ThePEG/PDT/BreitWignerMass.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 | // -*- C++ -*-
//
// BreitWignerMass.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_BreitWignerMass_H
#define ThePEG_BreitWignerMass_H
// This is the declaration of the BreitWignerMass class.
#include "ThePEG/PDT/MassGenerator.h"
namespace ThePEG {
/**
* BreitWignerMass is derived from MassGenerator and is able to
* generate the mass for a particle given its nominal mass and its
* with.
*
*
* @see MassGenerator
* @see ParticleData
*
*/
class BreitWignerMass: public MassGenerator {
public:
/** @name Virtual methods required by the MassGenerator base class. */
//@{
/**
* Return true if this mass generator can handle the given particle
* type.
*/
virtual bool accept(const ParticleData &) const { return true; }
/**
* Generate a mass for an instance of a given particle type.
*/
virtual Energy mass(const ParticleData &) 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 concrete class without persistent data.
*/
static NoPIOClassDescription<BreitWignerMass> initBreitWignerMass;
/**
* Private and non-existent assignment operator.
*/
BreitWignerMass & operator=(const BreitWignerMass &);
};
/** @cond TRAITSPECIALIZATIONS */
ThePEG_DECLARE_DYNAMIC_CLASS_TRAITS(BreitWignerMass,MassGenerator,"BreitWignerMass.so");
/** @endcond */
}
#endif /* ThePEG_BreitWignerMass_H */
|