ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <analysis/blob/master/dRICH/dispersion/getVectors.h>
Public Member Functions | |
getVectors (const std::string &name="getVectors") | |
virtual | ~getVectors () |
int | Init (PHCompositeNode *topNode) override |
int | process_event (PHCompositeNode *topNode) override |
int | End (PHCompositeNode *topNode) override |
Called at the end of all processing. | |
void | setOutputName (const std::string &name) |
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 Member Functions | |
void | initializeBranches () |
Private Attributes | |
PHG4HitContainer * | m_hit_container |
PHG4TruthInfoContainer * | m_truth_info |
PHG4Particle * | m_g4particle |
std::string | m_outfile_name |
TFile * | m_outfile |
TTree * | m_tree |
unsigned int | m_event_number = 0 |
int | m_pdg_id = 0 |
int | m_track_id = 0 |
int | m_barcode = 0 |
float | m_particle_px = -99 |
float | m_particle_py = -99 |
float | m_particle_pz = -99 |
float | m_particle_pt = -99 |
float | m_particle_p = -99 |
float | m_particle_eta = -99 |
float | m_particle_phi = -99 |
float | m_delta_phi = -99 |
float | m_std_dev = -99 |
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 = INT_MAX - 10 } |
Protected Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Definition at line 30 of file getVectors.h.
View newest version in sPHENIX GitHub at line 30 of file getVectors.h
getVectors::getVectors | ( | const std::string & | name = "getVectors" | ) |
Definition at line 16 of file getVectors.cc.
View newest version in sPHENIX GitHub at line 16 of file getVectors.cc
|
virtual |
Definition at line 26 of file getVectors.cc.
View newest version in sPHENIX GitHub at line 26 of file getVectors.cc
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 131 of file getVectors.cc.
View newest version in sPHENIX GitHub at line 131 of file getVectors.cc
References Fun4AllReturnCodes::EVENT_OK, and m_outfile.
|
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 29 of file getVectors.cc.
View newest version in sPHENIX GitHub at line 29 of file getVectors.cc
References Fun4AllReturnCodes::EVENT_OK, and initializeBranches().
|
private |
Definition at line 142 of file getVectors.cc.
View newest version in sPHENIX GitHub at line 142 of file getVectors.cc
References e6, m_barcode, m_delta_phi, m_event_number, m_outfile, m_outfile_name, m_particle_eta, m_particle_p, m_particle_phi, m_particle_pt, m_particle_px, m_particle_py, m_particle_pz, m_pdg_id, m_std_dev, m_track_id, and m_tree.
Referenced by Init().
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 37 of file getVectors.cc.
View newest version in sPHENIX GitHub at line 37 of file getVectors.cc
References Fun4AllReturnCodes::ABORTEVENT, CLHEP::Hep3Vector::angle(), DBL_MAX, QAG4Util::delta_phi(), Fun4AllReturnCodes::EVENT_OK, PHG4Particle::get_barcode(), PHG4Particle::get_parent_id(), PHG4Particle::get_pid(), PHG4Particle::get_px(), PHG4Particle::get_py(), PHG4Particle::get_pz(), PHG4Particle::get_track_id(), PHG4HitContainer::getHits(), PHG4TruthInfoContainer::GetParticleRange(), m_barcode, m_delta_phi, m_event_number, m_g4particle, m_particle_eta, m_particle_p, m_particle_phi, m_particle_pt, m_particle_px, m_particle_py, m_particle_pz, m_pdg_id, m_std_dev, m_track_id, m_tree, m_truth_info, and sum.
|
inline |
Definition at line 51 of file getVectors.h.
View newest version in sPHENIX GitHub at line 51 of file getVectors.h
References m_outfile_name.
Referenced by Fun4All_photonDispersion().
|
private |
Definition at line 67 of file getVectors.h.
View newest version in sPHENIX GitHub at line 67 of file getVectors.h
Referenced by initializeBranches(), and process_event().
|
private |
Definition at line 76 of file getVectors.h.
View newest version in sPHENIX GitHub at line 76 of file getVectors.h
Referenced by initializeBranches(), and process_event().
|
private |
Definition at line 64 of file getVectors.h.
View newest version in sPHENIX GitHub at line 64 of file getVectors.h
Referenced by initializeBranches(), and process_event().
|
private |
Definition at line 56 of file getVectors.h.
View newest version in sPHENIX GitHub at line 56 of file getVectors.h
Referenced by process_event().
|
private |
Definition at line 54 of file getVectors.h.
View newest version in sPHENIX GitHub at line 54 of file getVectors.h
|
private |
Definition at line 61 of file getVectors.h.
View newest version in sPHENIX GitHub at line 61 of file getVectors.h
Referenced by End(), and initializeBranches().
|
private |
Definition at line 60 of file getVectors.h.
View newest version in sPHENIX GitHub at line 60 of file getVectors.h
Referenced by initializeBranches(), and setOutputName().
|
private |
Definition at line 73 of file getVectors.h.
View newest version in sPHENIX GitHub at line 73 of file getVectors.h
Referenced by initializeBranches(), and process_event().
|
private |
Definition at line 72 of file getVectors.h.
View newest version in sPHENIX GitHub at line 72 of file getVectors.h
Referenced by initializeBranches(), and process_event().
|
private |
Definition at line 74 of file getVectors.h.
View newest version in sPHENIX GitHub at line 74 of file getVectors.h
Referenced by initializeBranches(), and process_event().
|
private |
Definition at line 71 of file getVectors.h.
View newest version in sPHENIX GitHub at line 71 of file getVectors.h
Referenced by initializeBranches(), and process_event().
|
private |
Definition at line 68 of file getVectors.h.
View newest version in sPHENIX GitHub at line 68 of file getVectors.h
Referenced by initializeBranches(), and process_event().
|
private |
Definition at line 69 of file getVectors.h.
View newest version in sPHENIX GitHub at line 69 of file getVectors.h
Referenced by initializeBranches(), and process_event().
|
private |
Definition at line 70 of file getVectors.h.
View newest version in sPHENIX GitHub at line 70 of file getVectors.h
Referenced by initializeBranches(), and process_event().
|
private |
Definition at line 65 of file getVectors.h.
View newest version in sPHENIX GitHub at line 65 of file getVectors.h
Referenced by initializeBranches(), and process_event().
|
private |
Definition at line 77 of file getVectors.h.
View newest version in sPHENIX GitHub at line 77 of file getVectors.h
Referenced by initializeBranches(), and process_event().
|
private |
Definition at line 66 of file getVectors.h.
View newest version in sPHENIX GitHub at line 66 of file getVectors.h
Referenced by initializeBranches(), and process_event().
|
private |
Definition at line 62 of file getVectors.h.
View newest version in sPHENIX GitHub at line 62 of file getVectors.h
Referenced by initializeBranches(), and process_event().
|
private |
Definition at line 55 of file getVectors.h.
View newest version in sPHENIX GitHub at line 55 of file getVectors.h
Referenced by process_event().