Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/JS-Jet/JetRTrack/src/jetrtrack.h>
Public Member Functions | |
jetrtrack (const std::string &name="jetrtrack") | |
virtual | ~jetrtrack () |
void | SetOutputFileName (std::string outfilename) |
int | Init (PHCompositeNode *topNode) override |
int | InitRun (PHCompositeNode *topNode) override |
int | process_event (PHCompositeNode *topNode) override |
int | ResetEvent (PHCompositeNode *topNode) override |
Clean up internals after each event. | |
int | EndRun (const int runnumber) override |
Called at the end of each run. | |
int | End (PHCompositeNode *topNode) override |
Called at the end of all processing. | |
int | Reset (PHCompositeNode *) override |
Reset. | |
void | Print (const std::string &what="ALL") const override |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
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 Member Functions | |
Fun4AllHistoManager * | get_HistoManager () |
Private Attributes | |
std::vector< float > | m_tjet_pt |
std::vector< float > | m_tjet_phi |
std::vector< float > | m_tjet_eta |
std::vector< float > | m_tjet_jcpt |
std::vector< float > | m_rjet_pt |
std::vector< float > | m_rjet_phi |
std::vector< float > | m_rjet_eta |
std::vector< float > | m_dr |
std::vector< float > | m_trk_pt |
std::vector< float > | m_trk_eta |
std::vector< float > | m_trk_phi |
std::vector< float > | m_trk_qual |
std::vector< float > | m_nmvtxhits |
std::vector< float > | m_tp_pt |
std::vector< float > | m_tp_px |
std::vector< float > | m_tp_py |
std::vector< float > | m_tp_pz |
std::vector< float > | m_tp_phi |
std::vector< float > | m_tp_eta |
std::vector< float > | m_jc_pt |
std::vector< int > | m_jc_index |
std::vector< float > | m_jc_phi |
std::vector< float > | m_jc_eta |
std::vector< int > | m_tp_pid |
float | m_zvtx |
int | m_centrality |
int | m_impactparam |
std::string | m_outfilename |
float | m_tjet_pt2 |
TFile * | outfile |
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 26 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 26 of file jetrtrack.h
jetrtrack::jetrtrack | ( | const std::string & | name = "jetrtrack" | ) |
Definition at line 62 of file jetrtrack.cc.
View newest version in sPHENIX GitHub at line 62 of file jetrtrack.cc
|
virtual |
Definition at line 69 of file jetrtrack.cc.
View newest version in sPHENIX GitHub at line 69 of file jetrtrack.cc
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 510 of file jetrtrack.cc.
View newest version in sPHENIX GitHub at line 510 of file jetrtrack.cc
References assert, PHTFileServer::cd(), Fun4AllReturnCodes::EVENT_OK, PHTFileServer::get(), get_HistoManager(), Fun4AllHistoManager::getHisto(), i, m_outfilename, and Fun4AllHistoManager::nHistos().
|
overridevirtual |
Called at the end of each run.
Reimplemented from SubsysReco.
Definition at line 503 of file jetrtrack.cc.
View newest version in sPHENIX GitHub at line 503 of file jetrtrack.cc
References Fun4AllReturnCodes::EVENT_OK.
|
private |
Definition at line 84 of file jetrtrack.cc.
View newest version in sPHENIX GitHub at line 84 of file jetrtrack.cc
References assert, Fun4AllServer::getHistoManager(), Fun4AllServer::instance(), and Fun4AllServer::registerHistoManager().
Referenced by End(), InitRun(), and process_event().
|
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 75 of file jetrtrack.cc.
View newest version in sPHENIX GitHub at line 75 of file jetrtrack.cc
References Fun4AllReturnCodes::EVENT_OK, and PHCompositeNode::print().
|
overridevirtual |
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. A place to book histograms which have to know the run number.
Reimplemented from SubsysReco.
Definition at line 102 of file jetrtrack.cc.
View newest version in sPHENIX GitHub at line 102 of file jetrtrack.cc
References assert, Fun4AllReturnCodes::EVENT_OK, PHTFileServer::get(), get_HistoManager(), m_centrality, m_jc_eta, m_jc_index, m_jc_phi, m_jc_pt, m_nmvtxhits, m_outfilename, m_rjet_eta, m_rjet_phi, m_rjet_pt, m_tjet_eta, m_tjet_jcpt, m_tjet_phi, m_tjet_pt, m_tp_eta, m_tp_phi, m_tp_pid, m_tp_pt, m_tp_px, m_tp_py, m_tp_pz, m_trk_eta, m_trk_phi, m_trk_pt, m_trk_qual, m_zvtx, PHTFileServer::open(), Fun4AllHistoManager::registerHisto(), and tree.
|
overridevirtual |
Print out some info about this module.
what | can be used to specify what to print exactly. |
Reimplemented from Fun4AllBase.
Definition at line 538 of file jetrtrack.cc.
View newest version in sPHENIX GitHub at line 538 of file jetrtrack.cc
|
overridevirtual |
Called for each event. This is where you do the real work.
Loop over the G4 truth (stable) particles
Get this truth particle
Get this particles momentum, etc.
Reimplemented from SubsysReco.
Definition at line 167 of file jetrtrack.cc.
View newest version in sPHENIX GitHub at line 167 of file jetrtrack.cc
References assert, SvtxTrackMap::begin(), SvtxVertexMap::begin(), JetMap::begin(), Jet::begin_comp(), mvtx_utils::comp(), INTTVtxZ::dphi, SvtxVertexMap::empty(), SvtxTrackMap::end(), JetMap::end(), Jet::end_comp(), Fun4AllReturnCodes::EVENT_OK, CentralityInfo::get_centile(), PHG4Particle::get_e(), SvtxTrack::get_eta(), Jet::get_eta(), get_HistoManager(), SvtxTrack::get_phi(), Jet::get_phi(), PHG4Particle::get_pid(), SvtxTrack::get_pt(), Jet::get_pt(), PHG4Particle::get_px(), PHG4Particle::get_py(), PHG4Particle::get_pz(), SvtxTrack::get_quality(), SvtxTrack::get_silicon_seed(), SvtxVertex::get_z(), Fun4AllHistoManager::getHisto(), PHG4TruthInfoContainer::GetParticle(), PHG4TruthInfoContainer::GetPrimaryParticleRange(), k, m_centrality, m_dr, m_jc_eta, m_jc_index, m_jc_phi, m_jc_pt, m_nmvtxhits, m_rjet_eta, m_rjet_phi, m_rjet_pt, m_tjet_eta, m_tjet_jcpt, m_tjet_phi, m_tjet_pt, m_tp_eta, m_tp_phi, m_tp_pid, m_tp_pt, m_tp_px, m_tp_py, m_tp_pz, m_trk_eta, m_trk_phi, m_trk_pt, m_trk_qual, m_zvtx, pi, TrackSeed::size_cluster_keys(), and tree.
|
overridevirtual |
Reset.
Reimplemented from SubsysReco.
Definition at line 531 of file jetrtrack.cc.
View newest version in sPHENIX GitHub at line 531 of file jetrtrack.cc
References Fun4AllReturnCodes::EVENT_OK.
|
overridevirtual |
Clean up internals after each event.
Reimplemented from SubsysReco.
Definition at line 462 of file jetrtrack.cc.
View newest version in sPHENIX GitHub at line 462 of file jetrtrack.cc
References Fun4AllReturnCodes::EVENT_OK, m_dr, m_jc_eta, m_jc_index, m_jc_phi, m_jc_pt, m_nmvtxhits, m_rjet_eta, m_rjet_phi, m_rjet_pt, m_tjet_eta, m_tjet_jcpt, m_tjet_phi, m_tjet_pt, m_tp_eta, m_tp_phi, m_tp_pid, m_tp_pt, m_tp_px, m_tp_py, m_tp_pz, m_trk_eta, m_trk_phi, m_trk_pt, and m_trk_qual.
|
inline |
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).
Definition at line 39 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 39 of file jetrtrack.h
References m_outfilename.
Referenced by Fun4All_RTrack().
|
private |
Definition at line 117 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 117 of file jetrtrack.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 92 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 92 of file jetrtrack.h
Referenced by process_event(), and ResetEvent().
|
private |
Definition at line 118 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 118 of file jetrtrack.h
|
private |
Definition at line 110 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 110 of file jetrtrack.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 108 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 108 of file jetrtrack.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 109 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 109 of file jetrtrack.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 107 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 107 of file jetrtrack.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 97 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 97 of file jetrtrack.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 119 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 119 of file jetrtrack.h
Referenced by End(), InitRun(), and SetOutputFileName().
|
private |
Definition at line 91 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 91 of file jetrtrack.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 90 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 90 of file jetrtrack.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 89 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 89 of file jetrtrack.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 85 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 85 of file jetrtrack.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 86 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 86 of file jetrtrack.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 84 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 84 of file jetrtrack.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 83 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 83 of file jetrtrack.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 121 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 121 of file jetrtrack.h
|
private |
Definition at line 104 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 104 of file jetrtrack.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 103 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 103 of file jetrtrack.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 113 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 113 of file jetrtrack.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 99 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 99 of file jetrtrack.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 100 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 100 of file jetrtrack.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 101 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 101 of file jetrtrack.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 102 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 102 of file jetrtrack.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 94 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 94 of file jetrtrack.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 95 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 95 of file jetrtrack.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 93 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 93 of file jetrtrack.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 96 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 96 of file jetrtrack.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 115 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 115 of file jetrtrack.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 125 of file jetrtrack.h.
View newest version in sPHENIX GitHub at line 125 of file jetrtrack.h