PandaRoot
PndEvtGenDirect.h
Go to the documentation of this file.
1
// -------------------------------------------------------------------------
2
// ----- PndEvtGenDirect header file -----
3
// ----- Created 11/04/08 by M.Al-Turany -----
4
// -------------------------------------------------------------------------
5
14
#ifndef PND_EVTDIRECT_H
15
#define PND_EVTDIRECT_H
16
17
#include "
PndTargetGenerator.h
"
18
#include "TF1.h"
19
20
class
TVirtualMCStack;
21
class
FairPrimaryGenerator;
22
23
#include "EvtGenBase/EvtStdHep.hh"
24
#include "EvtGenBase/EvtId.hh"
25
26
class
EvtGen;
27
28
// class PndEvtGenDirect : public FairGenerator {
29
class
PndEvtGenDirect
:
public
PndTargetGenerator
{
30
31
public
:
33
PndEvtGenDirect
();
34
35
PndEvtGenDirect
(TString particle, TString decfile =
""
, Double_t Mom = 0, Long_t Seed = -1, TString defDECAY =
""
, TString defPDL =
""
,
36
Double_t ATarg = 0.0);
// Mom>0 -> pbar Momentum; Mom<0 -> cms Energy
37
// ATarg is for nuclear target, value is 0 for p and d, and between 3 and 238 for heavier nuclei
38
40
virtual
~PndEvtGenDirect
();
41
45
virtual
Bool_t
ReadEvent
(FairPrimaryGenerator *primGen);
46
47
void
SetStoreTree
(Bool_t store =
true
) { fStoreTree = store; };
48
inline
void
SetVerbose
(
int
v
= 1) { verbose =
v
; };
49
50
private
:
51
Bool_t fStoreTree;
52
Int_t verbose;
56
Double_t fEnergy;
57
Double_t fMomentum;
58
59
EvtGen *myGenerator;
60
EvtStdHep evtstdhep;
61
EvtId PART;
62
63
ClassDef(
PndEvtGenDirect
, 2);
64
};
65
66
#endif
PndEvtGenDirect::ReadEvent
virtual Bool_t ReadEvent(FairPrimaryGenerator *primGen)
PndTargetGenerator.h
PndEvtGenDirect::~PndEvtGenDirect
virtual ~PndEvtGenDirect()
PndEvtGenDirect::SetVerbose
void SetVerbose(int v=1)
Definition:
PndEvtGenDirect.h:48
v
__m128 v
Definition:
P4_F32vec4.h:3
PndEvtGenDirect::SetStoreTree
void SetStoreTree(Bool_t store=true)
Definition:
PndEvtGenDirect.h:47
PndTargetGenerator
Definition:
PndTargetGenerator.h:24
PndEvtGenDirect
Definition:
PndEvtGenDirect.h:29
PndEvtGenDirect::PndEvtGenDirect
PndEvtGenDirect()
home
gitlab-runner
builds
LYZoAKaU
0
PandaRootGroup
PandaRoot
pgenerators
EvtGen
EvtGenDirect
PndEvtGenDirect.h
Generated on Fri Oct 21 2022 07:03:58 for PandaRoot by
1.8.13