Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/HF-Jet/HFMLTrigger/HFMLTriggerHepMCTrigger.h>
Public Member Functions | |
HFMLTriggerHepMCTrigger (const std::string &moduleName, const std::string &filename) | |
int | Init (PHCompositeNode *) |
int | InitRun (PHCompositeNode *) |
int | process_event (PHCompositeNode *) |
int | End (PHCompositeNode *) |
Called at the end of all processing. | |
double | get_eta_max () const |
void | set_eta_max (double etaMax) |
double | get_eta_min () const |
void | set_eta_min (double etaMin) |
void | set_RejectReturnCode (int r) |
int | get_embedding_id () const |
void | set_embedding_id (int id) |
HFMLTriggerHepMCTrigger (const std::string &moduleName, const std::string &filename) | |
int | Init (PHCompositeNode *) |
int | InitRun (PHCompositeNode *) |
int | process_event (PHCompositeNode *) |
int | End (PHCompositeNode *) |
Called at the end of all processing. | |
double | get_eta_max () const |
void | set_eta_max (double etaMax) |
double | get_eta_min () const |
void | set_eta_min (double etaMin) |
void | set_RejectReturnCode (int r) |
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 | 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 | |
int | _ievent |
int | m_RejectReturnCode |
TFile * | _f |
std::string | _foutname |
double | _eta_min |
double | _eta_max |
int | _embedding_id |
PHHepMCGenEventMap * | m_Geneventmap |
PdbParameterMap * | m_Flags |
TH1D * | m_hNorm |
TH2F * | m_DRapidity |
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 27 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 27 of file HFMLTriggerHepMCTrigger.h
HFMLTriggerHepMCTrigger::HFMLTriggerHepMCTrigger | ( | const std::string & | moduleName, |
const std::string & | filename | ||
) |
Definition at line 67 of file HFMLTriggerHepMCTrigger.C.
View newest version in sPHENIX GitHub at line 67 of file HFMLTriggerHepMCTrigger.C
HFMLTriggerHepMCTrigger::HFMLTriggerHepMCTrigger | ( | const std::string & | moduleName, |
const std::string & | filename | ||
) |
|
virtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 310 of file HFMLTriggerHepMCTrigger.C.
View newest version in sPHENIX GitHub at line 310 of file HFMLTriggerHepMCTrigger.C
References _f, _foutname, assert, Fun4AllReturnCodes::EVENT_OK, PHGenIntegral::get_Integrated_Lumi(), and m_hNorm.
|
virtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
|
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 68 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 68 of file HFMLTriggerHepMCTrigger.h
References _embedding_id.
|
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 68 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 68 of file HFMLTriggerHepMCTrigger.h
References _embedding_id.
|
inline |
Definition at line 38 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 38 of file HFMLTriggerHepMCTrigger.h
References _eta_max.
|
inline |
Definition at line 38 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 38 of file HFMLTriggerHepMCTrigger.h
References _eta_max.
|
inline |
Definition at line 50 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 50 of file HFMLTriggerHepMCTrigger.h
References _eta_min.
|
inline |
Definition at line 50 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 50 of file HFMLTriggerHepMCTrigger.h
References _eta_min.
|
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 84 of file HFMLTriggerHepMCTrigger.C.
View newest version in sPHENIX GitHub at line 84 of file HFMLTriggerHepMCTrigger.C
References _f, _foutname, _ievent, Fun4AllReturnCodes::EVENT_OK, i, m_DRapidity, and m_hNorm.
|
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.
|
virtual |
Called for first event when run number is known. Typically this is where you may want to fetch data from database, because you know the run number.
Reimplemented from SubsysReco.
Definition at line 109 of file HFMLTriggerHepMCTrigger.C.
View newest version in sPHENIX GitHub at line 109 of file HFMLTriggerHepMCTrigger.C
References Fun4AllReturnCodes::ABORTRUN, Fun4AllReturnCodes::EVENT_OK, PHNodeIterator::findFirst(), m_Flags, m_Geneventmap, and PHWHERE.
|
virtual |
Called for first event when run number is known. Typically this is where you may want to fetch data from database, because you know the run number.
Reimplemented from SubsysReco.
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 139 of file HFMLTriggerHepMCTrigger.C.
View newest version in sPHENIX GitHub at line 139 of file HFMLTriggerHepMCTrigger.C
References _embedding_id, _eta_max, _eta_min, _ievent, Fun4AllReturnCodes::ABORTRUN, assert, eta, Fun4AllReturnCodes::EVENT_OK, PHHepMCGenEventMap::get(), PHHepMCGenEvent::getEvent(), PHHepMCGenEventMap::identify(), m_DRapidity, m_Flags, m_Geneventmap, m_hNorm, m_RejectReturnCode, Fun4AllBase::Name(), merge_hashes::p, pdg, PHWHERE, PdbParameterMap::set_int_param(), Fun4AllBase::Verbosity(), and Fun4AllBase::VERBOSITY_MORE.
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
|
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 75 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 75 of file HFMLTriggerHepMCTrigger.h
References _embedding_id, and train_ambiguity_solver::id.
|
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 75 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 75 of file HFMLTriggerHepMCTrigger.h
References _embedding_id, and train_ambiguity_solver::id.
|
inline |
Definition at line 44 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 44 of file HFMLTriggerHepMCTrigger.h
References _eta_max.
|
inline |
Definition at line 44 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 44 of file HFMLTriggerHepMCTrigger.h
References _eta_max.
|
inline |
Definition at line 56 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 56 of file HFMLTriggerHepMCTrigger.h
References _eta_min.
|
inline |
Definition at line 56 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 56 of file HFMLTriggerHepMCTrigger.h
References _eta_min.
|
inline |
Definition at line 61 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 61 of file HFMLTriggerHepMCTrigger.h
References m_RejectReturnCode, and physmon_track_finding_ttbar::r.
|
inline |
Definition at line 61 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 61 of file HFMLTriggerHepMCTrigger.h
References m_RejectReturnCode, and physmon_track_finding_ttbar::r.
|
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 93 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 93 of file HFMLTriggerHepMCTrigger.h
Referenced by get_embedding_id(), process_event(), and set_embedding_id().
|
private |
Definition at line 87 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 87 of file HFMLTriggerHepMCTrigger.h
Referenced by get_eta_max(), process_event(), and set_eta_max().
|
private |
Definition at line 86 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 86 of file HFMLTriggerHepMCTrigger.h
Referenced by get_eta_min(), process_event(), and set_eta_min().
|
private |
Definition at line 82 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 82 of file HFMLTriggerHepMCTrigger.h
|
private |
Definition at line 84 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 84 of file HFMLTriggerHepMCTrigger.h
Referenced by End(), HFMLTriggerHepMCTrigger(), and Init().
|
private |
Definition at line 78 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 78 of file HFMLTriggerHepMCTrigger.h
Referenced by Init(), and process_event().
|
private |
Definition at line 99 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 99 of file HFMLTriggerHepMCTrigger.h
Referenced by Init(), and process_event().
|
private |
Definition at line 96 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 96 of file HFMLTriggerHepMCTrigger.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 95 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 95 of file HFMLTriggerHepMCTrigger.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 98 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 98 of file HFMLTriggerHepMCTrigger.h
Referenced by End(), Init(), and process_event().
|
private |
Definition at line 80 of file HFMLTriggerHepMCTrigger.h.
View newest version in sPHENIX GitHub at line 80 of file HFMLTriggerHepMCTrigger.h
Referenced by process_event(), and set_RejectReturnCode().