ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
getVectors Class Reference

#include <analysis/blob/master/dRICH/dispersion/getVectors.h>

+ Inheritance diagram for getVectors:
+ Collaboration diagram for getVectors:

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

PHG4HitContainerm_hit_container
 
PHG4TruthInfoContainerm_truth_info
 
PHG4Particlem_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")
 

Detailed Description

Definition at line 30 of file getVectors.h.

View newest version in sPHENIX GitHub at line 30 of file getVectors.h

Constructor & Destructor Documentation

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

getVectors::~getVectors ( )
virtual

Definition at line 26 of file getVectors.cc.

View newest version in sPHENIX GitHub at line 26 of file getVectors.cc

Member Function Documentation

int getVectors::End ( PHCompositeNode topNode)
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.

int getVectors::Init ( PHCompositeNode topNode)
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().

+ Here is the call graph for this function:

void getVectors::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().

+ Here is the caller graph for this function:

int getVectors::process_event ( PHCompositeNode topNode)
overridevirtual
void getVectors::setOutputName ( const std::string &  name)
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().

+ Here is the caller graph for this function:

Member Data Documentation

int getVectors::m_barcode = 0
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().

float getVectors::m_delta_phi = -99
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().

unsigned int getVectors::m_event_number = 0
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().

PHG4Particle* getVectors::m_g4particle
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().

PHG4HitContainer* getVectors::m_hit_container
private

Definition at line 54 of file getVectors.h.

View newest version in sPHENIX GitHub at line 54 of file getVectors.h

TFile* getVectors::m_outfile
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().

std::string getVectors::m_outfile_name
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().

float getVectors::m_particle_eta = -99
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().

float getVectors::m_particle_p = -99
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().

float getVectors::m_particle_phi = -99
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().

float getVectors::m_particle_pt = -99
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().

float getVectors::m_particle_px = -99
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().

float getVectors::m_particle_py = -99
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().

float getVectors::m_particle_pz = -99
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().

int getVectors::m_pdg_id = 0
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().

float getVectors::m_std_dev = -99
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().

int getVectors::m_track_id = 0
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().

TTree* getVectors::m_tree
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().

PHG4TruthInfoContainer* getVectors::m_truth_info
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().


The documentation for this class was generated from the following files: