Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/JS-Jet/jet-kinematics-mc/source/analysis.h>
Public Member Functions | |
analysis (const std::string &name="analysis") | |
virtual | ~analysis () |
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_rjet_pt |
std::vector< float > | m_rjet_phi |
std::vector< float > | m_rjet_eta |
std::vector< float > | m_dr |
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 analysis.h.
View newest version in sPHENIX GitHub at line 26 of file analysis.h
analysis::analysis | ( | const std::string & | name = "analysis" | ) |
Definition at line 33 of file analysis.cc.
View newest version in sPHENIX GitHub at line 33 of file analysis.cc
|
virtual |
Definition at line 40 of file analysis.cc.
View newest version in sPHENIX GitHub at line 40 of file analysis.cc
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 240 of file analysis.cc.
View newest version in sPHENIX GitHub at line 240 of file analysis.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 233 of file analysis.cc.
View newest version in sPHENIX GitHub at line 233 of file analysis.cc
References Fun4AllReturnCodes::EVENT_OK.
|
private |
Definition at line 55 of file analysis.cc.
View newest version in sPHENIX GitHub at line 55 of file analysis.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 46 of file analysis.cc.
View newest version in sPHENIX GitHub at line 46 of file analysis.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 73 of file analysis.cc.
View newest version in sPHENIX GitHub at line 73 of file analysis.cc
References assert, Fun4AllReturnCodes::EVENT_OK, PHTFileServer::get(), get_HistoManager(), m_outfilename, m_rjet_eta, m_rjet_phi, m_rjet_pt, m_tjet_eta, m_tjet_phi, m_tjet_pt, 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 267 of file analysis.cc.
View newest version in sPHENIX GitHub at line 267 of file analysis.cc
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 106 of file analysis.cc.
View newest version in sPHENIX GitHub at line 106 of file analysis.cc
References assert, JetMap::begin(), INTTVtxZ::dphi, JetMap::end(), Fun4AllReturnCodes::EVENT_OK, Jet::get_eta(), get_HistoManager(), Jet::get_phi(), Jet::get_pt(), Fun4AllHistoManager::getHisto(), m_dr, m_rjet_eta, m_rjet_phi, m_rjet_pt, m_tjet_eta, m_tjet_phi, m_tjet_pt, pi, and tree.
|
overridevirtual |
Reset.
Reimplemented from SubsysReco.
Definition at line 260 of file analysis.cc.
View newest version in sPHENIX GitHub at line 260 of file analysis.cc
References Fun4AllReturnCodes::EVENT_OK.
|
overridevirtual |
Clean up internals after each event.
Reimplemented from SubsysReco.
Definition at line 214 of file analysis.cc.
View newest version in sPHENIX GitHub at line 214 of file analysis.cc
References Fun4AllReturnCodes::EVENT_OK, m_dr, m_rjet_eta, m_rjet_phi, m_rjet_pt, m_tjet_eta, m_tjet_phi, and m_tjet_pt.
|
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 analysis.h.
View newest version in sPHENIX GitHub at line 39 of file analysis.h
References m_outfilename.
Referenced by Fun4All_Analysis().
|
private |
Definition at line 90 of file analysis.h.
View newest version in sPHENIX GitHub at line 90 of file analysis.h
|
private |
Definition at line 89 of file analysis.h.
View newest version in sPHENIX GitHub at line 89 of file analysis.h
Referenced by process_event(), and ResetEvent().
|
private |
Definition at line 91 of file analysis.h.
View newest version in sPHENIX GitHub at line 91 of file analysis.h
|
private |
Definition at line 92 of file analysis.h.
View newest version in sPHENIX GitHub at line 92 of file analysis.h
Referenced by End(), InitRun(), and SetOutputFileName().
|
private |
Definition at line 88 of file analysis.h.
View newest version in sPHENIX GitHub at line 88 of file analysis.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 87 of file analysis.h.
View newest version in sPHENIX GitHub at line 87 of file analysis.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 86 of file analysis.h.
View newest version in sPHENIX GitHub at line 86 of file analysis.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 85 of file analysis.h.
View newest version in sPHENIX GitHub at line 85 of file analysis.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 84 of file analysis.h.
View newest version in sPHENIX GitHub at line 84 of file analysis.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 83 of file analysis.h.
View newest version in sPHENIX GitHub at line 83 of file analysis.h
Referenced by InitRun(), process_event(), and ResetEvent().
|
private |
Definition at line 94 of file analysis.h.
View newest version in sPHENIX GitHub at line 94 of file analysis.h
|
private |
Definition at line 98 of file analysis.h.
View newest version in sPHENIX GitHub at line 98 of file analysis.h