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
EventMC.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file EventMC.h
1
10
#ifndef INCLUDE_EICSMEAR_HADRONIC_EVENTMC_H_
11
#define INCLUDE_EICSMEAR_HADRONIC_EVENTMC_H_
12
13
#include <vector>
14
15
#include <TClonesArray.h>
16
17
#include <
eicsmear/hadronic/ParticleMC.h
>
18
#include "
eicsmear/erhic/VirtualEvent.h
"
19
20
namespace
erhic {
21
namespace
hadronic {
22
23
class
ParticleMC
;
24
29
class
EventMC
:
public
erhic::VirtualEvent
{
30
public
:
34
virtual
~EventMC
();
35
39
EventMC
();
40
45
virtual
const
ParticleMC
*
GetTrack
(UInt_t)
const
;
46
51
virtual
ParticleMC
*
GetTrack
(UInt_t);
52
56
virtual
UInt_t
GetNTracks
()
const
;
57
63
virtual
UInt_t
Add
(
ParticleMC
*
particle
);
64
68
virtual
Double_t
GetCentreOfMassEnergy
()
const
;
69
73
virtual
void
Clear
(Option_t* =
""
);
74
75
protected
:
76
TClonesArray
mTracks
;
77
78
ClassDef(
erhic::hadronic::EventMC
, 1)
79
};
80
81
}
// namespace hadronic
82
}
// namespace erhic
83
84
#endif // INCLUDE_EICSMEAR_HADRONIC_EVENTMC_H_
eic-smear
blob
master
include
eicsmear
hadronic
EventMC.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:32
using
1.8.2 with
EIC GitHub integration