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
Fun4All-lmon
fun4all_coresoftware
blob
master
calibrations
generators
decayFinder
FermiMotionAfterburner
flowAfterburner
hijing
JETSCAPE
JEWEL
phhepmc
Fun4AllHepMCInputManager.cc
Fun4AllHepMCInputManager.h
Fun4AllHepMCOutputManager.cc
Fun4AllHepMCOutputManager.h
Fun4AllHepMCPileupInputManager.cc
Fun4AllHepMCPileupInputManager.h
Fun4AllOscarInputManager.cc
Fun4AllOscarInputManager.h
HepMCFlowAfterBurner.cc
HepMCFlowAfterBurner.h
PHGenIntegral.cc
PHGenIntegral.h
PHGenIntegralLinkDef.h
PHGenIntegralv1.cc
PHGenIntegralv1.h
PHGenIntegralv1LinkDef.h
PHHepMC_ioLinkDef.h
PHHepMCGenEvent.cc
PHHepMCGenEvent.h
PHHepMCGenEventLinkDef.h
PHHepMCGenEventMap.cc
PHHepMCGenEventMap.h
PHHepMCGenEventMapLinkDef.h
PHHepMCGenEventv1.cc
PHHepMCGenEventv1.h
PHHepMCGenEventv1LinkDef.h
PHHepMCGenHelper.cc
PHHepMCGenHelper.h
PHHepMCParticleSelectorDecayProductChain.cc
PHHepMCParticleSelectorDecayProductChain.h
PHPythia6
PHPythia8
PHSartre
sHEPGen
sHijing
offline
simulation
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
Fun4AllHepMCOutputManager.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file Fun4AllHepMCOutputManager.h
1
#ifndef PHHEPMC_FUN4ALLHEPMCOUTPUTMANAGER_H
2
#define PHHEPMC_FUN4ALLHEPMCOUTPUTMANAGER_H
3
4
#include <
fun4all/Fun4AllOutputManager.h
>
5
6
#include <fstream>
7
#include <string>
8
9
namespace
HepMC
10
{
11
class
IO_GenEvent;
12
}
13
14
class
PHCompositeNode
;
15
16
class
Fun4AllHepMCOutputManager
:
public
Fun4AllOutputManager
17
{
18
public
:
19
Fun4AllHepMCOutputManager
(
const
std::string &myname =
"HEPMCOUT"
,
20
const
std::string &
filename
=
"hepmcout.txt"
);
21
22
~Fun4AllHepMCOutputManager
()
override
;
23
24
int
outfileopen
(
const
std::string &
/*fname*/
)
override
{
return
0; }
25
26
void
Print
(
const
std::string &what =
"ALL"
)
const override
;
27
28
int
Write
(
PHCompositeNode
*startNode)
override
;
29
30
int
AddComment
(
const
std::string &text);
31
36
int
get_embedding_id
()
const
{
return
_embedding_id
; }
37
//
42
void
set_embedding_id
(
int
id
) {
_embedding_id
= id; }
43
44
protected
:
45
std::string
outfilename
;
46
HepMC::IO_GenEvent *
ascii_out
;
47
std::string
comment
;
48
int
comment_written
;
49
50
// some pointers for use in compression handling
51
std::ofstream *
filestream
;
// holds compressed filestream
52
std::ostream *
zipstream
;
// feed into HepMC
53
57
int
_embedding_id
;
58
};
59
60
#endif
/* PHHEPMC_FUN4ALLHEPMCOUTPUTMANAGER_H */
fun4all_coresoftware
blob
master
generators
phhepmc
Fun4AllHepMCOutputManager.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:42
using
1.8.2 with
EIC GitHub integration