thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
FixedCMSLuminosity.h
1// -*- C++ -*-
2//
3// FixedCMSLuminosity.h is a part of ThePEG - Toolkit for HEP Event Generation
4// Copyright (C) 1999-2019 Leif Lonnblad
5//
6// ThePEG is licenced under version 3 of the GPL, see COPYING for details.
7// Please respect the MCnet academic guidelines, see GUIDELINES for details.
8//
9#ifndef ThePEG_FixedCMSLuminosity_H
10#define ThePEG_FixedCMSLuminosity_H
11// This is the declaration of the FixedCMSLuminosity class.
12
13#include "LuminosityFunction.h"
14
15namespace ThePEG {
16
34
35public:
36
44
45public:
46
50 Energy energy() const { return maximumCMEnergy(); }
51
52public:
53
57 static void Init();
58
59protected:
60
67 virtual IBPtr clone() const;
68
73 virtual IBPtr fullclone() const;
75
76private:
77
82
87
88private:
89
94
99
100};
101
108template <>
112};
113
118template <>
119struct ClassTraits<FixedCMSLuminosity>:
120 public ClassTraitsBase<FixedCMSLuminosity> {
122 static string className() { return "ThePEG::FixedCMSLuminosity"; }
126 static string library() { return "FixedCMSLuminosity.so"; }
127};
128
131}
132
133#endif /* ThePEG_FixedCMSLuminosity_H */
The FixedCMSLuminosity class describes an experiment with incoming particles colliding with precicely...
Energy getEnergy() const
Utility function used by the interface.
FixedCMSLuminosity & operator=(const FixedCMSLuminosity &)=delete
Private and non-existent assignment operator.
virtual IBPtr clone() const
Make a simple clone of this object.
void setEnergy(Energy)
Utility function used by the interface.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
static NoPIOClassDescription< FixedCMSLuminosity > initFixedCMSLuminosity
Describe a concrete class with persistent data.
virtual ~FixedCMSLuminosity()
Destructor.
static void Init()
Standard Init function used to initialize the interface.
Energy energy() const
The total energy in the cms of the incoming particles.
The LuminosityFunction describes the momentum distribution of the incoming beams in an experiment.
virtual Energy maximumCMEnergy() const
Return the maximum possible center of mass energy for an event.
A concreate implementation of ClassDescriptionBase describing a concrete class without persistent dat...
RCPtr is a reference counted (smart) pointer.
Definition: RCPtr.h:60
This is the main namespace within which all identifiers in ThePEG are declared.
Definition: FactoryBase.h:28
BaseClassTraits describes the base classes of the templated class.
Definition: ClassTraits.h:156
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
Definition: ClassTraits.h:161
static string className()
Return the name of class T.
Definition: ClassTraits.h:66
static string library()
The name of a file containing the dynamic library where the class T is implemented.
Definition: ClassTraits.h:85
ClassTraitsType is an empty, non-polymorphic, base class.
Definition: ClassTraits.h:30