thepeg
is hosted by
Hepforge
,
IPPP Durham
ThePEG
2.3.0
Handlers
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
15
namespace
ThePEG
{
16
33
class
FixedCMSLuminosity
:
public
LuminosityFunction
{
34
35
public
:
36
42
virtual
~FixedCMSLuminosity
();
44
45
public
:
46
50
Energy
energy
()
const
{
return
maximumCMEnergy
(); }
51
52
public
:
53
57
static
void
Init
();
58
59
protected
:
60
67
virtual
IBPtr
clone
()
const
;
68
73
virtual
IBPtr
fullclone
()
const
;
75
76
private
:
77
81
void
setEnergy
(
Energy
);
82
86
Energy
getEnergy
()
const
;
87
88
private
:
89
93
static
NoPIOClassDescription<FixedCMSLuminosity>
initFixedCMSLuminosity
;
94
98
FixedCMSLuminosity
&
operator=
(
const
FixedCMSLuminosity
&) =
delete
;
99
100
};
101
108
template
<>
109
struct
BaseClassTrait
<
FixedCMSLuminosity
,1>:
public
ClassTraitsType
{
111
typedef
LuminosityFunction
NthBase
;
112
};
113
118
template
<>
119
struct
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 */
ThePEG::FixedCMSLuminosity
The FixedCMSLuminosity class describes an experiment with incoming particles colliding with precicely...
Definition:
FixedCMSLuminosity.h:33
ThePEG::FixedCMSLuminosity::getEnergy
Energy getEnergy() const
Utility function used by the interface.
ThePEG::FixedCMSLuminosity::operator=
FixedCMSLuminosity & operator=(const FixedCMSLuminosity &)=delete
Private and non-existent assignment operator.
ThePEG::FixedCMSLuminosity::clone
virtual IBPtr clone() const
Make a simple clone of this object.
ThePEG::FixedCMSLuminosity::setEnergy
void setEnergy(Energy)
Utility function used by the interface.
ThePEG::FixedCMSLuminosity::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
ThePEG::FixedCMSLuminosity::initFixedCMSLuminosity
static NoPIOClassDescription< FixedCMSLuminosity > initFixedCMSLuminosity
Describe a concrete class with persistent data.
Definition:
FixedCMSLuminosity.h:93
ThePEG::FixedCMSLuminosity::~FixedCMSLuminosity
virtual ~FixedCMSLuminosity()
Destructor.
ThePEG::FixedCMSLuminosity::Init
static void Init()
Standard Init function used to initialize the interface.
ThePEG::FixedCMSLuminosity::energy
Energy energy() const
The total energy in the cms of the incoming particles.
Definition:
FixedCMSLuminosity.h:50
ThePEG::LuminosityFunction
The LuminosityFunction describes the momentum distribution of the incoming beams in an experiment.
Definition:
LuminosityFunction.h:39
ThePEG::LuminosityFunction::maximumCMEnergy
virtual Energy maximumCMEnergy() const
Return the maximum possible center of mass energy for an event.
ThePEG::NoPIOClassDescription
A concreate implementation of ClassDescriptionBase describing a concrete class without persistent dat...
Definition:
ClassDescription.h:381
ThePEG::Pointer::RCPtr
RCPtr is a reference counted (smart) pointer.
Definition:
RCPtr.h:60
ThePEG::Qty< 0, 1, 0 >
ThePEG
This is the main namespace within which all identifiers in ThePEG are declared.
Definition:
FactoryBase.h:28
ThePEG::BaseClassTrait
BaseClassTraits describes the base classes of the templated class.
Definition:
ClassTraits.h:156
ThePEG::BaseClassTrait::NthBase
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
Definition:
ClassTraits.h:161
ThePEG::ClassTraitsBase::className
static string className()
Return the name of class T.
Definition:
ClassTraits.h:66
ThePEG::ClassTraitsBase::library
static string library()
The name of a file containing the dynamic library where the class T is implemented.
Definition:
ClassTraits.h:85
ThePEG::ClassTraitsType
ClassTraitsType is an empty, non-polymorphic, base class.
Definition:
ClassTraits.h:30
Generated on Thu Jun 20 2024 14:47:00 for ThePEG by
1.9.6