BOSS
7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtGen.hh
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
//
3
// Environment:
4
// This software is part of the EvtGen package developed jointly
5
// for the BaBar and CLEO collaborations. If you use all or part
6
// of it, please give an appropriate acknowledgement.
7
//
8
// Copyright Information: See EvtGen/COPYRIGHT
9
// Copyright (C) 1998 Caltech, UCSB
10
//
11
// Module: EvtGen/EvtGen.hh
12
//
13
// Description:Main class to provide user interface to EvtGen.
14
//
15
// Modification history:
16
//r
17
// RYD March 24, 1998 Module created
18
//
19
// DJL August 10, 1998 Additional Event member function added
20
//
21
// RYD December 25, 1999 Any application using EvtGen will need
22
// to instantiate an instance of this class
23
// and hold on to it untill done generating
24
// events. This class will now hold data used
25
// for the lifetime of the generator.
26
//------------------------------------------------------------------------
27
28
#ifndef EVTGEN_HH
29
#define EVTGEN_HH
30
31
32
#include "
EvtGenBase/EvtPDL.hh
"
33
34
#include <CLHEP/Vector/LorentzVector.h>
//maqm add
35
36
class
EvtParticle
;
37
class
EvtRandomEngine
;
38
//class HepLorentzVector; //maqm comment
39
class
EvtVector4R
;
40
class
EvtStdHep
;
41
class
EvtSpinDensity
;
42
class
EvtAbsRadCorr
;
43
44
using
CLHEP::HepLorentzVector;
//maqm add
45
46
class
EvtGen
{
47
48
public
:
49
50
51
EvtGen
(
const
char
*
const
decayName,
const
char
*
const
pdtTableName,
52
EvtRandomEngine
* randomEngine=0,
EvtAbsRadCorr
*isrEngine=0);
53
~EvtGen
();
54
55
void
readUDecay
(
const
char
*
const
udecay_name);
56
57
void
generateDecay
(
int
stdhepid,
EvtVector4R
P
,
EvtVector4R
D,
58
EvtStdHep
*evtStdHep,
EvtSpinDensity
*spinDensity=0);
59
60
void
generateDecay
(
EvtParticle
*p);
61
62
//These two methods are obsolete
63
void
generateEvent
(
int
stdhepid, HepLorentzVector
P
, HepLorentzVector D);
64
void
generateEvent
(
EvtParticle
*p,HepLorentzVector D);
65
66
67
private
:
68
69
EvtPDL
_pdl;
70
};
71
72
73
74
#endif
75
P
double P(RecMdcKalTrack *trk)
Definition:
CalibEventSelect.cxx:87
EvtPDL.hh
EvtAbsRadCorr
Definition:
EvtAbsRadCorr.hh:28
EvtGen
Definition:
EvtGen.hh:46
EvtGen::readUDecay
void readUDecay(const char *const udecay_name)
Definition:
EvtGen.cc:126
EvtGen::~EvtGen
~EvtGen()
Definition:
EvtGen.cc:64
EvtGen::generateDecay
void generateDecay(int stdhepid, EvtVector4R P, EvtVector4R D, EvtStdHep *evtStdHep, EvtSpinDensity *spinDensity=0)
Definition:
EvtGen.cc:152
EvtGen::generateEvent
void generateEvent(int stdhepid, HepLorentzVector P, HepLorentzVector D)
Definition:
EvtGen.cc:218
EvtPDL
Definition:
EvtPDL.hh:33
EvtParticle
Definition:
EvtParticle.hh:42
EvtRandomEngine
Definition:
EvtRandomEngine.hh:26
EvtSpinDensity
Definition:
EvtSpinDensity.hh:27
EvtStdHep
Definition:
EvtStdHep.hh:30
EvtVector4R
Definition:
EvtVector4R.hh:29
source
Generator
BesEvtGen
BesEvtGen-00-04-08
src
EvtGen
EvtGen.hh
Generated by
1.9.6