Project
Loading...
Searching...
No Matches
O2simHepmcPublisher Struct Reference

Public Member Functions

void init (o2::framework::InitContext &)
 
void run (o2::framework::ProcessingContext &pc)
 

Public Attributes

Configurable< std::string > hepmcFileName {"hepmc", "input.hepmc", "name of the input file with HepMC events"}
 
Configurable< intaggregate {"aggregate-timeframe", 300, "Number of events to put in a timeframe"}
 
Configurable< intmaxEvents {"nevents", -1, "Maximum number of events to convert"}
 
Configurable< bool > hepmcv2 {"v2", false, "If the input is HepMCv2"}
 
int eventCounter = 0
 
int tfCounter = 0
 
std::shared_ptr< HepMC3::Reader > hepMCReader
 
bool eos = false
 
std::vector< o2::MCTrackmcTracks
 

Detailed Description

Definition at line 30 of file o2sim_hepmc_publisher.cxx.

Member Function Documentation

◆ init()

void O2simHepmcPublisher::init ( o2::framework::InitContext )
inline

Definition at line 42 of file o2sim_hepmc_publisher.cxx.

◆ run()

void O2simHepmcPublisher::run ( o2::framework::ProcessingContext pc)
inline

Definition at line 56 of file o2sim_hepmc_publisher.cxx.

Member Data Documentation

◆ aggregate

Configurable<int> O2simHepmcPublisher::aggregate {"aggregate-timeframe", 300, "Number of events to put in a timeframe"}

Definition at line 32 of file o2sim_hepmc_publisher.cxx.

◆ eos

bool O2simHepmcPublisher::eos = false

Definition at line 39 of file o2sim_hepmc_publisher.cxx.

◆ eventCounter

int O2simHepmcPublisher::eventCounter = 0

Definition at line 36 of file o2sim_hepmc_publisher.cxx.

◆ hepmcFileName

Configurable<std::string> O2simHepmcPublisher::hepmcFileName {"hepmc", "input.hepmc", "name of the input file with HepMC events"}

Definition at line 31 of file o2sim_hepmc_publisher.cxx.

◆ hepMCReader

std::shared_ptr<HepMC3::Reader> O2simHepmcPublisher::hepMCReader

Definition at line 38 of file o2sim_hepmc_publisher.cxx.

◆ hepmcv2

Configurable<bool> O2simHepmcPublisher::hepmcv2 {"v2", false, "If the input is HepMCv2"}

Definition at line 34 of file o2sim_hepmc_publisher.cxx.

◆ maxEvents

Configurable<int> O2simHepmcPublisher::maxEvents {"nevents", -1, "Maximum number of events to convert"}

Definition at line 33 of file o2sim_hepmc_publisher.cxx.

◆ mcTracks

std::vector<o2::MCTrack> O2simHepmcPublisher::mcTracks

Definition at line 40 of file o2sim_hepmc_publisher.cxx.

◆ tfCounter

int O2simHepmcPublisher::tfCounter = 0

Definition at line 37 of file o2sim_hepmc_publisher.cxx.


The documentation for this struct was generated from the following file: