EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
FairGenerator.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file FairGenerator.h
1
// -------------------------------------------------------------------------
2
// ----- FairGenerator header file -----
3
// ----- Created 09/06/04 by D. Bertini / V. Friese -----
4
// -------------------------------------------------------------------------
5
6
18
#ifndef FAIRGENERATOR_H
19
#define FAIRGENERATOR_H
20
21
#include "TNamed.h"
22
23
class
FairPrimaryGenerator
;
24
25
26
class
FairGenerator
:
public
TNamed
27
{
28
29
public
:
30
32
FairGenerator
();
33
34
36
FairGenerator
(
const
char
*
name
,
const
char
*
title
=
"FAIR Generator"
);
37
38
40
virtual
~FairGenerator
();
41
42
50
virtual
Bool_t
ReadEvent
(
FairPrimaryGenerator
* primGen) = 0;
51
52
54
virtual
Bool_t
Init
() {
return
kTRUE;}
55
56
ClassDef
(
FairGenerator
,1);
57
58
private
:
59
FairGenerator
(
const
FairGenerator
& G);
60
FairGenerator
&
operator=
(
const
FairGenerator
&) {
return
*
this
;}
61
62
63
};
64
65
#endif
66
67
EicRoot
blob
master
base
FairGenerator.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:32
using
1.8.2 with
EIC GitHub integration