BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Generator/BesGenModule/BesGenModule-00-00-13/BesGenModule/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
13#include "GeneratorModule/GenModule.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
virtual StatusCode fillEvt(GenEvent *evt)
virtual StatusCode genInitialize()
virtual StatusCode callGenerator()
virtual StatusCode genFinalize()
virtual ~BesGenModule()
manage multiple CLHEP random engines as named streams