Project
Loading...
Searching...
No Matches
o2::eventgen::HepMCGenConfig Struct Reference

#include <GeneratorHepMCParam.h>

Public Attributes

int version = 0
 
uint64_t eventsToSkip = 0
 
std::string fileName = ""
 
bool prune = false
 
bool randomize = false
 
bool roundRobin = false
 
bool reshuffleOnRepeat = true
 
unsigned int rngseed = 0
 

Detailed Description

a parameter class/struct to keep the settings of the HepMC event generator and allow the user to modify them

Definition at line 32 of file GeneratorHepMCParam.h.

Member Data Documentation

◆ eventsToSkip

uint64_t o2::eventgen::HepMCGenConfig::eventsToSkip = 0

Number of events to skip at the start of the input

Definition at line 40 of file GeneratorHepMCParam.h.

◆ fileName

std::string o2::eventgen::HepMCGenConfig::fileName = ""

Deprecated. Set the name of the file to read from. Use GeneratorFileOrCmd.fileNames instead.

Definition at line 43 of file GeneratorHepMCParam.h.

◆ prune

bool o2::eventgen::HepMCGenConfig::prune = false

Wether to prune the event tree. If true, then only particles that are

  • beam particles (status == 4)
  • decayed (status == 2), or
  • final state (status == 1)

are kept. This reduces the event size. How much depends on the event generator producing the event. Use with caution, as it may corrupt the event record.

Definition at line 53 of file GeneratorHepMCParam.h.

◆ randomize

bool o2::eventgen::HepMCGenConfig::randomize = false

Serve once the events of the input file in random order

Definition at line 55 of file GeneratorHepMCParam.h.

◆ reshuffleOnRepeat

bool o2::eventgen::HepMCGenConfig::reshuffleOnRepeat = true

Draw a fresh random order on each new pass over the input file

Definition at line 59 of file GeneratorHepMCParam.h.

◆ rngseed

unsigned int o2::eventgen::HepMCGenConfig::rngseed = 0

Randomizer seed, 0 for random value.

Definition at line 61 of file GeneratorHepMCParam.h.

◆ roundRobin

bool o2::eventgen::HepMCGenConfig::roundRobin = false

Restart reading events

Definition at line 57 of file GeneratorHepMCParam.h.

◆ version

int o2::eventgen::HepMCGenConfig::version = 0

Version number of event structure to decode. Note, when reading from a file, this key is ignored. The interface will figure out the version automatically. When reading from a pipe, and the command line writes HepMC version 2 format, then this parameter should be set to 2

Definition at line 38 of file GeneratorHepMCParam.h.


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