Thermal-FIST
1.3
Package for hadron resonance gas model applications
|
Structure holding information about a single event in the event generator. More...
#include <SimpleEvent.h>
Classes | |
struct | EventOutputConfig |
Configuration for the event output. More... | |
Public Member Functions | |
SimpleEvent () | |
Default constructor, empty event. More... | |
void | RapidityBoost (double dY) |
Rapidity boost by Y -> Y + dY for all particles. More... | |
void | writeToFile (std::ofstream &fout, const EventOutputConfig &config=EventOutputConfig(), int eventnumber=1) |
Writes the event to an output file stream. More... | |
void | writeToFile (std::ofstream &fout, int eventnumber=1) |
Writes the event to an output file stream. More... | |
Static Public Member Functions | |
static SimpleEvent | MergeEvents (const SimpleEvent &evt1, const SimpleEvent &evt2) |
Merge particles from two events (e.g. two patches, two canonical volumes, etc.) More... | |
Public Attributes | |
double | weight |
Event weight factor. More... | |
double | logweight |
Log of the event weight factor. More... | |
std::vector< SimpleParticle > | Particles |
Vector of all final particles in the event. More... | |
std::vector< SimpleParticle > | AllParticles |
Vector of all particles which ever appeared in the event (including those that decay and photons/leptons) More... | |
std::vector< SimpleParticle > | PhotonsLeptons |
Vector of all decay photons/leptons. More... | |
std::vector< int > | DecayMap |
std::vector< int > | DecayMapFinal |
Vector for each Particles element pointing to the index of the primordial resonance from which this particle originated. More... | |
Structure holding information about a single event in the event generator.
Definition at line 19 of file SimpleEvent.h.
|
inline |
Default constructor, empty event.
Definition at line 43 of file SimpleEvent.h.
|
static |
Merge particles from two events (e.g. two patches, two canonical volumes, etc.)
Definition at line 84 of file SimpleEvent.cpp.
void thermalfist::SimpleEvent::RapidityBoost | ( | double | dY | ) |
Rapidity boost by Y -> Y + dY for all particles.
Definition at line 78 of file SimpleEvent.cpp.
void thermalfist::SimpleEvent::writeToFile | ( | std::ofstream & | fout, |
const EventOutputConfig & | config = EventOutputConfig() , |
||
int | eventnumber = 1 |
||
) |
Writes the event to an output file stream.
Definition at line 14 of file SimpleEvent.cpp.
|
inline |
Writes the event to an output file stream.
Definition at line 74 of file SimpleEvent.h.
std::vector<SimpleParticle> thermalfist::SimpleEvent::AllParticles |
Vector of all particles which ever appeared in the event (including those that decay and photons/leptons)
Definition at line 30 of file SimpleEvent.h.
std::vector<int> thermalfist::SimpleEvent::DecayMap |
Vector for each AllParticles element pointing to the index of the mother resonance. If the element corresponds to a primordial particle, the id is -1.
Definition at line 37 of file SimpleEvent.h.
std::vector<int> thermalfist::SimpleEvent::DecayMapFinal |
Vector for each Particles element pointing to the index of the primordial resonance from which this particle originated.
Definition at line 40 of file SimpleEvent.h.
double thermalfist::SimpleEvent::logweight |
Log of the event weight factor.
Definition at line 24 of file SimpleEvent.h.
std::vector<SimpleParticle> thermalfist::SimpleEvent::Particles |
Vector of all final particles in the event.
Definition at line 27 of file SimpleEvent.h.
std::vector<SimpleParticle> thermalfist::SimpleEvent::PhotonsLeptons |
Vector of all decay photons/leptons.
Definition at line 33 of file SimpleEvent.h.
double thermalfist::SimpleEvent::weight |