Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/mbdAnalysis/src/mbdAnalysis.h>
Public Member Functions | |
mbdAnalysis (const std::string &name="mbdAnalysis") | |
~mbdAnalysis () override | |
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 |
mbdAnalysis (const std::string &name="mbdAnalysis") | |
~mbdAnalysis () override | |
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 Attributes | |
TFile * | out |
TTree * | T = nullptr |
std::vector< float > | pmtcharge |
std::vector< float > | pmttime |
std::vector< float > | pmtx |
std::vector< float > | pmty |
std::vector< float > | pmtz |
std::vector< float > | pmtr |
std::vector< float > | pmtphi |
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 mbdAnalysis.h.
View newest version in sPHENIX GitHub at line 13 of file mbdAnalysis.h
mbdAnalysis::mbdAnalysis | ( | const std::string & | name = "mbdAnalysis" | ) |
Definition at line 35 of file mbdAnalysis.cc.
View newest version in sPHENIX GitHub at line 35 of file mbdAnalysis.cc
|
override |
Definition at line 42 of file mbdAnalysis.cc.
View newest version in sPHENIX GitHub at line 42 of file mbdAnalysis.cc
mbdAnalysis::mbdAnalysis | ( | const std::string & | name = "mbdAnalysis" | ) |
|
override |
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 137 of file mbdAnalysis.cc.
View newest version in sPHENIX GitHub at line 137 of file mbdAnalysis.cc
References cd(), Close(), Fun4AllReturnCodes::EVENT_OK, out, T, and Write().
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
|
overridevirtual |
Called at the end of each run.
Reimplemented from SubsysReco.
|
overridevirtual |
Called at the end of each run.
Reimplemented from SubsysReco.
Definition at line 130 of file mbdAnalysis.cc.
View newest version in sPHENIX GitHub at line 130 of file mbdAnalysis.cc
References Fun4AllReturnCodes::EVENT_OK.
|
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 48 of file mbdAnalysis.cc.
View newest version in sPHENIX GitHub at line 48 of file mbdAnalysis.cc
References Branch(), Fun4AllReturnCodes::EVENT_OK, out, pmtcharge, pmtphi, pmtr, pmttime, pmtx, pmty, pmtz, and T.
|
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.
|
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 68 of file mbdAnalysis.cc.
View newest version in sPHENIX GitHub at line 68 of file mbdAnalysis.cc
References Fun4AllReturnCodes::EVENT_OK.
|
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.
|
overridevirtual |
Print out some info about this module.
what | can be used to specify what to print exactly. |
Reimplemented from Fun4AllBase.
|
overridevirtual |
Print out some info about this module.
what | can be used to specify what to print exactly. |
Reimplemented from Fun4AllBase.
Definition at line 163 of file mbdAnalysis.cc.
View newest version in sPHENIX GitHub at line 163 of file mbdAnalysis.cc
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 75 of file mbdAnalysis.cc.
View newest version in sPHENIX GitHub at line 75 of file mbdAnalysis.cc
References Fun4AllReturnCodes::ABORTEVENT, Fun4AllReturnCodes::EVENT_OK, Fill(), MbdGeom::get_phi(), MbdGeom::get_r(), MbdGeom::get_x(), MbdGeom::get_y(), MbdGeom::get_z(), i, pmtcharge, pmtphi, pmtr, pmttime, pmtx, pmty, pmtz, and T.
|
overridevirtual |
Reset.
Reimplemented from SubsysReco.
|
overridevirtual |
Reset.
Reimplemented from SubsysReco.
Definition at line 147 of file mbdAnalysis.cc.
View newest version in sPHENIX GitHub at line 147 of file mbdAnalysis.cc
References Fun4AllReturnCodes::EVENT_OK, pmtcharge, pmtphi, pmtr, pmttime, pmtx, pmty, and pmtz.
|
overridevirtual |
Clean up internals after each event.
Reimplemented from SubsysReco.
|
overridevirtual |
Clean up internals after each event.
Reimplemented from SubsysReco.
Definition at line 117 of file mbdAnalysis.cc.
View newest version in sPHENIX GitHub at line 117 of file mbdAnalysis.cc
References Fun4AllReturnCodes::EVENT_OK, pmtcharge, pmtphi, pmtr, pmttime, pmtx, pmty, and pmtz.
|
private |
Definition at line 56 of file mbdAnalysis.h.
View newest version in sPHENIX GitHub at line 56 of file mbdAnalysis.h
|
private |
Definition at line 61 of file mbdAnalysis.h.
View newest version in sPHENIX GitHub at line 61 of file mbdAnalysis.h
Referenced by Init(), process_event(), Reset(), and ResetEvent().
|
private |
Definition at line 67 of file mbdAnalysis.h.
View newest version in sPHENIX GitHub at line 67 of file mbdAnalysis.h
Referenced by Init(), process_event(), Reset(), and ResetEvent().
|
private |
Definition at line 66 of file mbdAnalysis.h.
View newest version in sPHENIX GitHub at line 66 of file mbdAnalysis.h
Referenced by Init(), process_event(), Reset(), and ResetEvent().
|
private |
Definition at line 62 of file mbdAnalysis.h.
View newest version in sPHENIX GitHub at line 62 of file mbdAnalysis.h
Referenced by Init(), process_event(), Reset(), and ResetEvent().
|
private |
Definition at line 63 of file mbdAnalysis.h.
View newest version in sPHENIX GitHub at line 63 of file mbdAnalysis.h
Referenced by Init(), process_event(), Reset(), and ResetEvent().
|
private |
Definition at line 64 of file mbdAnalysis.h.
View newest version in sPHENIX GitHub at line 64 of file mbdAnalysis.h
Referenced by Init(), process_event(), Reset(), and ResetEvent().
|
private |
Definition at line 65 of file mbdAnalysis.h.
View newest version in sPHENIX GitHub at line 65 of file mbdAnalysis.h
Referenced by Init(), process_event(), Reset(), and ResetEvent().
|
private |
Definition at line 57 of file mbdAnalysis.h.
View newest version in sPHENIX GitHub at line 57 of file mbdAnalysis.h
Referenced by End(), Init(), and process_event().