PandaRoot
PndEvtGenDirect.h
Go to the documentation of this file.
1
//****************************************************************************
2
//* This file is part of PandaRoot. *
3
//* *
4
//* PandaRoot is distributed under the terms of the *
5
//* GNU General Public License (GPL) version 3, *
6
//* copied verbatim in the file "LICENSE". *
7
//* *
8
//* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9
//* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10
//* The authors are listed in the file "AUTHORS". *
11
//****************************************************************************
12
13
// -------------------------------------------------------------------------
14
// ----- PndEvtGenDirect header file -----
15
// ----- Created 11/04/08 by M.Al-Turany -----
16
// -------------------------------------------------------------------------
17
26
#ifndef PND_EVTDIRECT_H
27
#define PND_EVTDIRECT_H
28
29
#include "
PndTargetGenerator.h
"
30
#include "TF1.h"
31
32
class
TVirtualMCStack;
33
class
FairPrimaryGenerator;
34
35
#include "EvtGenBase/EvtStdHep.hh"
36
#include "EvtGenBase/EvtId.hh"
37
38
class
EvtGen;
39
40
// class PndEvtGenDirect : public FairGenerator {
41
class
PndEvtGenDirect
:
public
PndTargetGenerator
{
42
43
public
:
45
PndEvtGenDirect
();
46
47
PndEvtGenDirect
(TString particle, TString decfile =
""
, Double_t Mom = 0, Long_t Seed = -1, TString defDECAY =
""
, TString defPDL =
""
,
48
Double_t ATarg = 0.0);
// Mom>0 -> pbar Momentum; Mom<0 -> cms Energy
49
// ATarg is for nuclear target, value is 0 for p and d, and between 3 and 238 for heavier nuclei
50
52
virtual
~PndEvtGenDirect
();
53
57
virtual
Bool_t
ReadEvent
(FairPrimaryGenerator *primGen);
58
59
void
SetStoreTree
(Bool_t store =
true
) { fStoreTree = store; };
60
inline
void
SetVerbose
(
int
v
= 1) { verbose =
v
; };
61
62
private
:
63
Bool_t fStoreTree;
64
Int_t verbose;
68
Double_t fEnergy;
69
Double_t fMomentum;
70
71
EvtGen *myGenerator;
72
EvtStdHep evtstdhep;
73
EvtId PART;
74
75
ClassDef(
PndEvtGenDirect
, 2);
76
};
77
78
#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:60
v
__m128 v
Definition:
P4_F32vec4.h:15
PndEvtGenDirect::SetStoreTree
void SetStoreTree(Bool_t store=true)
Definition:
PndEvtGenDirect.h:59
PndTargetGenerator
Definition:
PndTargetGenerator.h:36
PndEvtGenDirect
Definition:
PndEvtGenDirect.h:41
PndEvtGenDirect::PndEvtGenDirect
PndEvtGenDirect()
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
pgenerators
EvtGen
EvtGenDirect
PndEvtGenDirect.h
Generated on Fri Nov 29 2024 06:04:41 for PandaRoot by
1.8.13