BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
BesGenModule.h
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3//
4// Description:
5//
6//
7// Copyright Information:
8//
9//------------------------------------------------------------------------
10
11#ifndef BESGENMODULE_H
12#define BESGENMODULE_H
14#include <string>
15
16using std::string;
17typedef std::vector<std::string> CommandVector;
18
19class IBesRndmGenSvc;
20
21class BesGenModule:public GenModule {
22public:
23 BesGenModule(const std::string& name, ISvcLocator* pSvcLocator);
24 virtual ~BesGenModule();
25 virtual StatusCode genInitialize();
26 virtual StatusCode callGenerator();
27 virtual StatusCode genFinalize();
28 virtual StatusCode fillEvt(GenEvent* evt);
29// StatusCode writeHepevt();
30
31 // Pointer On BesRndmGenSvc
33 static std::string besMcGen_stream;
34
35protected:
36 // Setable Properties:-
37
38 //BesGenModule output file
40
41 // Event seeds
42 std::vector<long int> m_seeds;
43
44 const char* cardname;
45 std::string runname;
46 int Nr;
47 int mvec[10];
48 int nvec[10];
49
50 std::vector<int> m_par;
51
52 // event counter
54 int n;
55 int n1;
56
58
60
62
63 // besmcgen parameters
64 // Ffphot m_ffphot;
65
66 // io (LUN-s) for besmcgen
67 // Ffpholun m_ffpholun;
68
69 // Commands to setup besmcgen
70//yugw CommandVector m_BesMcGenCommandVector;
71
72 // I/O to HEPEVT
73 // StatusCode restore_Atlas_HEPEVT (void);
74
75 // static Atlas_HEPEVT* atlas_HEPEVT;
76
77};
78
79#endif
80
std::vector< std::string > CommandVector
Definition: BesGenModule.h:17
virtual StatusCode fillEvt(GenEvent *evt)
static std::string besMcGen_stream
Definition: BesGenModule.h:33
std::string runname
Definition: BesGenModule.h:45
virtual StatusCode genInitialize()
std::vector< int > m_par
Definition: BesGenModule.h:50
IBesRndmGenSvc * p_BesRndmGenSvc
Definition: BesGenModule.h:32
virtual StatusCode callGenerator()
int nvec[10]
Definition: BesGenModule.h:48
const char * cardname
Definition: BesGenModule.h:44
virtual StatusCode genFinalize()
std::vector< long int > m_seeds
Definition: BesGenModule.h:42
int mvec[10]
Definition: BesGenModule.h:47
virtual ~BesGenModule()
manage multiple CLHEP random engines as named streams