test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
GeneratorInterface
Hydjet2Interface
interface
InitialState.h
Go to the documentation of this file.
1
/*
2
Ludmila Malinina malinina@lav01.sinp.msu.ru, SINP MSU/Moscow and JINR/Dubna
3
Ionut Arsene i.c.arsene@fys.uio.no, Oslo University and ISS-Bucharest
4
Date : 2007/05/30
5
*/
6
7
#ifndef INITIALSTATE
8
#define INITIALSTATE
9
// Virtual class for the initial state classes
10
// Include here common methods, but always declare them as virtual
11
#include "
Particle.h
"
12
#include "
DatabasePDG.h
"
13
14
class
InitialState
{
15
protected
:
16
DatabasePDG
*
fDatabase
;
17
public
:
18
InitialState
() {
19
fDatabase
=
new
DatabasePDG
();
20
fDatabase
->
LoadData
();
21
fDatabase
->
SetMassRange
(0.0, 200.);
22
fDatabase
->
SetWidthRange
(0., 10.);
23
};
24
virtual
~InitialState
() {
25
delete
fDatabase
;
26
};
27
28
virtual
bool
RunDecays
() = 0;
29
virtual
double
GetWeakDecayLimit
() = 0;
30
31
virtual
void
Evolve
(
List_t
&secondaries,
ParticleAllocator
&allocator,
double
weakDecayLimit);
32
};
33
34
#endif
InitialState::RunDecays
virtual bool RunDecays()=0
DatabasePDG.h
DatabasePDG::SetMassRange
void SetMassRange(double min, double max)
Definition:
DatabasePDG.cc:514
DatabasePDG
Definition:
DatabasePDG.h:34
List_t
std::list< Particle > List_t
Definition:
Particle.h:141
ParticleAllocator
Definition:
Particle.h:144
InitialState
Definition:
InitialState.h:14
Particle.h
InitialState::Evolve
virtual void Evolve(List_t &secondaries, ParticleAllocator &allocator, double weakDecayLimit)
Definition:
InitialState.cc:13
DatabasePDG::LoadData
bool LoadData()
Definition:
DatabasePDG.cc:66
DatabasePDG::SetWidthRange
void SetWidthRange(double min, double max)
Definition:
DatabasePDG.cc:464
InitialState::~InitialState
virtual ~InitialState()
Definition:
InitialState.h:24
InitialState::fDatabase
DatabasePDG * fDatabase
Definition:
InitialState.h:16
InitialState::GetWeakDecayLimit
virtual double GetWeakDecayLimit()=0
InitialState::InitialState
InitialState()
Definition:
InitialState.h:18
Generated for CMSSW Reference Manual by
1.8.5