Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/generators/phhepmc/HepMCFlowAfterBurner.h>
Public Member Functions | |
HepMCFlowAfterBurner (const std::string &name="HEPMCFLOWAFTERBURNER") | |
~HepMCFlowAfterBurner () override | |
int | Init (PHCompositeNode *) override |
int | process_event (PHCompositeNode *) override |
void | Print (const std::string &what="ALL") const override |
void | setAlgorithmName (const std::string &name) |
void | setMinEta (const float f) |
void | setMaxEta (const float f) |
void | setMinPt (const float f) |
void | setMaxPt (const float f) |
void | setSeed (const long il) |
void | SaveRandomState (const std::string &savefile="HepMCFlowAfterBurner.ransave") |
void | RestoreRandomState (const std::string &savefile="HepMCFlowAfterBurner.ransave") |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
virtual int | End (PHCompositeNode *) |
Called at the end of all processing. | |
virtual int | EndRun (const int) |
Called at the end of each run. | |
virtual int | InitRun (PHCompositeNode *) |
virtual int | Reset (PHCompositeNode *) |
Reset. | |
virtual int | ResetEvent (PHCompositeNode *) |
Clean up after each event. | |
void | Print (const std::string &="ALL") const override |
Public Member Functions inherited from Fun4AllBase | |
virtual | ~Fun4AllBase () |
virtual const std::string | Name () const |
Returns the name of this module. | |
virtual void | Name (const std::string &name) |
Sets the name of this module. | |
virtual void | Verbosity (const int ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual void | Verbosity (enu_Verbosity ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual int | Verbosity () const |
Gets the verbosity of this module. | |
Protected Attributes | |
std::string | config_filename |
std::string | algorithmName = "MINBIAS" |
float | mineta = -5. |
float | maxeta = 5. |
float | minpt = 0. |
float | maxpt = 100. |
int | seedset = 0 |
long | seed = 0 |
long | randomSeed = 11793 |
Additional Inherited Members | |
Public Types inherited from Fun4AllBase | |
enum | enu_Verbosity { VERBOSITY_QUIET = 0, VERBOSITY_SOME = 1, VERBOSITY_MORE = 2, VERBOSITY_EVEN_MORE = 3, VERBOSITY_A_LOT = 4, VERBOSITY_MAX = std::numeric_limits<int>::max() - 10 } |
Protected Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Definition at line 13 of file HepMCFlowAfterBurner.h.
View newest version in sPHENIX GitHub at line 13 of file HepMCFlowAfterBurner.h
HepMCFlowAfterBurner::HepMCFlowAfterBurner | ( | const std::string & | name = "HEPMCFLOWAFTERBURNER" | ) |
Definition at line 39 of file HepMCFlowAfterBurner.cc.
View newest version in sPHENIX GitHub at line 39 of file HepMCFlowAfterBurner.cc
|
inlineoverride |
Definition at line 17 of file HepMCFlowAfterBurner.h.
View newest version in sPHENIX GitHub at line 17 of file HepMCFlowAfterBurner.h
|
overridevirtual |
Called during initialization. Typically this is where you can book histograms, and e.g. register them to Fun4AllServer (so they can be output to file using Fun4AllServer::dumpHistos() method).
Reimplemented from SubsysReco.
Definition at line 44 of file HepMCFlowAfterBurner.cc.
View newest version in sPHENIX GitHub at line 44 of file HepMCFlowAfterBurner.cc
References engine, randomSeed, seed, and seedset.
|
overridevirtual |
Print out some info about this module.
what | can be used to specify what to print exactly. |
Reimplemented from Fun4AllBase.
Definition at line 120 of file HepMCFlowAfterBurner.cc.
View newest version in sPHENIX GitHub at line 120 of file HepMCFlowAfterBurner.cc
References algorithmName, maxeta, maxpt, mineta, and minpt.
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 60 of file HepMCFlowAfterBurner.cc.
View newest version in sPHENIX GitHub at line 60 of file HepMCFlowAfterBurner.cc
References Fun4AllReturnCodes::ABORTEVENT, algorithmName, engine, Fun4AllReturnCodes::EVENT_OK, flowAfterburner(), PHHepMCGenEvent::getEvent(), maxeta, maxpt, mineta, minpt, PHWHERE, PHHepMCGenEventMap::rbegin(), PHHepMCGenEventMap::rend(), and Fun4AllBase::Verbosity().
void HepMCFlowAfterBurner::RestoreRandomState | ( | const std::string & | savefile = "HepMCFlowAfterBurner.ransave" | ) |
Definition at line 110 of file HepMCFlowAfterBurner.cc.
View newest version in sPHENIX GitHub at line 110 of file HepMCFlowAfterBurner.cc
void HepMCFlowAfterBurner::SaveRandomState | ( | const std::string & | savefile = "HepMCFlowAfterBurner.ransave" | ) |
Definition at line 100 of file HepMCFlowAfterBurner.cc.
View newest version in sPHENIX GitHub at line 100 of file HepMCFlowAfterBurner.cc
void HepMCFlowAfterBurner::setAlgorithmName | ( | const std::string & | name | ) |
Definition at line 131 of file HepMCFlowAfterBurner.cc.
View newest version in sPHENIX GitHub at line 131 of file HepMCFlowAfterBurner.cc
References algorithmName, algoset, and it.
|
inline |
Definition at line 30 of file HepMCFlowAfterBurner.h.
View newest version in sPHENIX GitHub at line 30 of file HepMCFlowAfterBurner.h
|
inline |
Definition at line 38 of file HepMCFlowAfterBurner.h.
View newest version in sPHENIX GitHub at line 38 of file HepMCFlowAfterBurner.h
|
inline |
Definition at line 26 of file HepMCFlowAfterBurner.h.
View newest version in sPHENIX GitHub at line 26 of file HepMCFlowAfterBurner.h
|
inline |
Definition at line 34 of file HepMCFlowAfterBurner.h.
View newest version in sPHENIX GitHub at line 34 of file HepMCFlowAfterBurner.h
void HepMCFlowAfterBurner::setSeed | ( | const long | il | ) |
Definition at line 85 of file HepMCFlowAfterBurner.cc.
View newest version in sPHENIX GitHub at line 85 of file HepMCFlowAfterBurner.cc
References engine, randomSeed, seed, and seedset.
|
protected |
Definition at line 49 of file HepMCFlowAfterBurner.h.
View newest version in sPHENIX GitHub at line 49 of file HepMCFlowAfterBurner.h
Referenced by Print(), process_event(), and setAlgorithmName().
|
protected |
Definition at line 48 of file HepMCFlowAfterBurner.h.
View newest version in sPHENIX GitHub at line 48 of file HepMCFlowAfterBurner.h
|
protected |
Definition at line 52 of file HepMCFlowAfterBurner.h.
View newest version in sPHENIX GitHub at line 52 of file HepMCFlowAfterBurner.h
Referenced by Print(), process_event(), and setMaxEta().
|
protected |
Definition at line 55 of file HepMCFlowAfterBurner.h.
View newest version in sPHENIX GitHub at line 55 of file HepMCFlowAfterBurner.h
Referenced by Print(), process_event(), and setMaxPt().
|
protected |
Definition at line 51 of file HepMCFlowAfterBurner.h.
View newest version in sPHENIX GitHub at line 51 of file HepMCFlowAfterBurner.h
Referenced by Print(), process_event(), and setMinEta().
|
protected |
Definition at line 54 of file HepMCFlowAfterBurner.h.
View newest version in sPHENIX GitHub at line 54 of file HepMCFlowAfterBurner.h
Referenced by Print(), process_event(), and setMinPt().
|
protected |
Definition at line 59 of file HepMCFlowAfterBurner.h.
View newest version in sPHENIX GitHub at line 59 of file HepMCFlowAfterBurner.h
|
protected |
Definition at line 58 of file HepMCFlowAfterBurner.h.
View newest version in sPHENIX GitHub at line 58 of file HepMCFlowAfterBurner.h
|
protected |
Definition at line 57 of file HepMCFlowAfterBurner.h.
View newest version in sPHENIX GitHub at line 57 of file HepMCFlowAfterBurner.h