Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/EICAnalysis/Quarkonia2LeptonsMC.h>
Public Member Functions | |
Quarkonia2LeptonsMC (std::string filename) | |
int | Init (PHCompositeNode *) |
int | process_event (PHCompositeNode *) |
int | End (PHCompositeNode *) |
Called at the end of all processing. | |
int | get_embedding_id () const |
void | set_embedding_id (int id) |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
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. | |
Private Attributes | |
bool | _verbose |
int | _ievent |
int | _total_pass |
std::string | _foutname |
TFile * | _fout_root |
TNtuple * | _tree_quarkonia |
int | _embedding_id |
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 22 of file Quarkonia2LeptonsMC.h.
View newest version in sPHENIX GitHub at line 22 of file Quarkonia2LeptonsMC.h
Quarkonia2LeptonsMC::Quarkonia2LeptonsMC | ( | std::string | filename | ) |
Definition at line 29 of file Quarkonia2LeptonsMC.C.
View newest version in sPHENIX GitHub at line 29 of file Quarkonia2LeptonsMC.C
References _foutname, _tree_quarkonia, and filename.
|
virtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 171 of file Quarkonia2LeptonsMC.C.
View newest version in sPHENIX GitHub at line 171 of file Quarkonia2LeptonsMC.C
References _fout_root, and _tree_quarkonia.
|
inline |
The embedding ID for the HepMC subevent to be analyzed. embedding ID for the event positive ID is the embedded event of interest, e.g. jetty event from pythia negative IDs are backgrounds, .e.g out of time pile up collisions Usually, ID = 0 means the primary Au+Au collision background
Definition at line 42 of file Quarkonia2LeptonsMC.h.
View newest version in sPHENIX GitHub at line 42 of file Quarkonia2LeptonsMC.h
References _embedding_id.
|
virtual |
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 38 of file Quarkonia2LeptonsMC.C.
View newest version in sPHENIX GitHub at line 38 of file Quarkonia2LeptonsMC.C
References _fout_root, _foutname, _ievent, _tree_quarkonia, and _verbose.
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 51 of file Quarkonia2LeptonsMC.C.
View newest version in sPHENIX GitHub at line 51 of file Quarkonia2LeptonsMC.C
References _embedding_id, _ievent, _tree_quarkonia, Fun4AllReturnCodes::ABORTEVENT, Fun4AllReturnCodes::ABORTRUN, eta, Fill(), PHHepMCGenEventMap::get(), PHHepMCGenEvent::getEvent(), PHHepMCGenEventMap::identify(), merge_hashes::p, ActsTests::PropagationDatasets::phi, PHWHERE, and physmon_track_finding_ttbar::pt.
|
inline |
The embedding ID for the HepMC subevent to be analyzed. embedding ID for the event positive ID is the embedded event of interest, e.g. jetty event from pythia negative IDs are backgrounds, .e.g out of time pile up collisions Usually, ID = 0 means the primary Au+Au collision background
Definition at line 49 of file Quarkonia2LeptonsMC.h.
View newest version in sPHENIX GitHub at line 49 of file Quarkonia2LeptonsMC.h
References _embedding_id, and train_ambiguity_solver::id.
|
private |
The embedding ID for the HepMC subevent to be analyzed. positive ID is the embedded event of interest, e.g. jetty event from pythia negative IDs are backgrounds, .e.g out of time pile up collisions Usually, ID = 0 means the primary Au+Au collision background
Definition at line 67 of file Quarkonia2LeptonsMC.h.
View newest version in sPHENIX GitHub at line 67 of file Quarkonia2LeptonsMC.h
Referenced by get_embedding_id(), process_event(), and set_embedding_id().
|
private |
Definition at line 58 of file Quarkonia2LeptonsMC.h.
View newest version in sPHENIX GitHub at line 58 of file Quarkonia2LeptonsMC.h
|
private |
Definition at line 57 of file Quarkonia2LeptonsMC.h.
View newest version in sPHENIX GitHub at line 57 of file Quarkonia2LeptonsMC.h
Referenced by Init(), and Quarkonia2LeptonsMC().
|
private |
Definition at line 54 of file Quarkonia2LeptonsMC.h.
View newest version in sPHENIX GitHub at line 54 of file Quarkonia2LeptonsMC.h
Referenced by Init(), and process_event().
|
private |
Definition at line 55 of file Quarkonia2LeptonsMC.h.
View newest version in sPHENIX GitHub at line 55 of file Quarkonia2LeptonsMC.h
|
private |
Definition at line 61 of file Quarkonia2LeptonsMC.h.
View newest version in sPHENIX GitHub at line 61 of file Quarkonia2LeptonsMC.h
Referenced by End(), Init(), process_event(), and Quarkonia2LeptonsMC().
|
private |
Definition at line 52 of file Quarkonia2LeptonsMC.h.
View newest version in sPHENIX GitHub at line 52 of file Quarkonia2LeptonsMC.h
Referenced by Init().