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
EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
BeastMagneticField
delphes_EIC
Doxygen_Assist
east
eic-smear
EicRoot
eicsmear-jetexample
eicsmeardetectors
EicToyModel
estarlight
blob
master
external
include
beam.h
beambeamsystem.h
bessel.h
e_narrowResonanceCrossSection.h
e_starlight.h
e_starlightStandalone.h
e_wideResonanceCrossSection.h
eventchannel.h
eventfilewriter.h
eXevent.h
filewriter.h
gammaaluminosity.h
gammaavm.h
gammaeluminosity.h
gammagammasingle.h
hepmc3writer.h
incoherentPhotonNucleusLuminosity.h
incoherentVMCrossSection.h
inputParameters.h
inputParser.h
lorentzvector.h
narrowResonanceCrossSection.h
nBodyPhaseSpaceGen.h
nucleus.h
photonNucleusCrossSection.h
pythiadecayer.h
PythiaStarlight.h
randomgenerator.h
readinluminosity.h
reportingUtils.h
spectrum.h
spectrumprotonnucleus.h
starlightconstants.h
starlightlimits.h
starlightparticle.h
starlightparticlecodes.h
starlightpythia.h
twophotonluminosity.h
vector3.h
wideResonanceCrossSection.h
pythia6
src
utils
Fun4All-lmon
fun4all_coresoftware
fun4all_eic_qa
fun4all_eic_tutorials
fun4all_eicdetectors
fun4all_eicmacros
fun4all_g4jleic
fun4all_GenFit
fun4all_macros
fun4all_tutorials
g4exampledetector
g4lblvtx
online_distribution
PEPSI
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
hepmc3writer.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file hepmc3writer.h
1
2
#ifndef HEPMC3WRITER_H
3
#define HEPMC3WRITER_H
4
5
#include "
inputParameters.h
"
6
#include "
eXevent.h
"
7
#include "HepMC3/WriterAscii.h"
8
#include "HepMC3/FourVector.h"
9
10
using
HepMC3::WriterAscii;
11
using
HepMC3::FourVector;
12
13
class
hepMC3Writer
14
{
15
16
public
:
18
hepMC3Writer
();
19
~hepMC3Writer
();
20
22
int
initWriter
(
const
inputParameters
& param);
23
25
int
writeEvent
(
const
eXEvent
&event,
int
eventnumber);
26
27
/* closes file */
28
void
close
(){
_hepmc3_output
->close(); };
29
30
private
:
31
33
int
initBeamHepMC3
(
const
inputParameters
¶m);
34
35
WriterAscii *
_hepmc3_output
;
36
FourVector
hepmc3_electronBeam_four_vector_
;
37
FourVector
hepmc3_targetBeam_four_vector_
;
38
int
electronBeam_pdg_id_
;
39
int
targetBeam_pdg_id_
;
40
41
};
42
43
#endif // HEPMC3WRITER_H
estarlight
blob
master
include
hepmc3writer.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:38
using
1.8.2 with
EIC GitHub integration