Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
g4hitshift Class Reference

#include <analysis/blob/master/Shift_emcal_g4hits/src/g4hitshift.h>

+ Inheritance diagram for g4hitshift:
+ Collaboration diagram for g4hitshift:

Public Member Functions

 g4hitshift (const std::string &name="g4hitshift")
 
 ~g4hitshift () override
 
int Init (PHCompositeNode *topNode) override
 
int InitRun (PHCompositeNode *topNode) override
 
int process_event (PHCompositeNode *topNode) override
 
int ResetEvent (PHCompositeNode *topNode) override
 Clean up 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
 
 g4hitshift (const std::string &name="g4hitshift")
 
 ~g4hitshift () override
 
int process_event (PHCompositeNode *topNode) 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.
 

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")
 

Detailed Description

Definition at line 12 of file g4hitshift.h.

View newest version in sPHENIX GitHub at line 12 of file g4hitshift.h

Constructor & Destructor Documentation

g4hitshift::g4hitshift ( const std::string &  name = "g4hitshift")

Definition at line 57 of file g4hitshift.cc.

View newest version in sPHENIX GitHub at line 57 of file g4hitshift.cc

g4hitshift::~g4hitshift ( )
override

Definition at line 63 of file g4hitshift.cc.

View newest version in sPHENIX GitHub at line 63 of file g4hitshift.cc

g4hitshift::g4hitshift ( const std::string &  name = "g4hitshift")
g4hitshift::~g4hitshift ( )
inlineoverride

Definition at line 17 of file g4hitshift.h.

View newest version in sPHENIX GitHub at line 17 of file g4hitshift.h

Member Function Documentation

int g4hitshift::End ( PHCompositeNode )
overridevirtual

Called at the end of all processing.

Reimplemented from SubsysReco.

Definition at line 122 of file g4hitshift.cc.

View newest version in sPHENIX GitHub at line 122 of file g4hitshift.cc

References Fun4AllReturnCodes::EVENT_OK.

int g4hitshift::EndRun ( const int  )
overridevirtual

Called at the end of each run.

Reimplemented from SubsysReco.

Definition at line 116 of file g4hitshift.cc.

View newest version in sPHENIX GitHub at line 116 of file g4hitshift.cc

References Fun4AllReturnCodes::EVENT_OK.

int g4hitshift::Init ( PHCompositeNode )
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 68 of file g4hitshift.cc.

View newest version in sPHENIX GitHub at line 68 of file g4hitshift.cc

References Fun4AllReturnCodes::EVENT_OK.

int g4hitshift::InitRun ( PHCompositeNode )
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.

Reimplemented from SubsysReco.

Definition at line 74 of file g4hitshift.cc.

View newest version in sPHENIX GitHub at line 74 of file g4hitshift.cc

References Fun4AllReturnCodes::EVENT_OK.

void g4hitshift::Print ( const std::string &  what = "ALL") const
overridevirtual

Print out some info about this module.

Parameters
whatcan be used to specify what to print exactly.

Reimplemented from Fun4AllBase.

Definition at line 134 of file g4hitshift.cc.

View newest version in sPHENIX GitHub at line 134 of file g4hitshift.cc

int g4hitshift::process_event ( PHCompositeNode )
overridevirtual

Called for each event. This is where you do the real work.

Reimplemented from SubsysReco.

int g4hitshift::process_event ( PHCompositeNode )
overridevirtual

Called for each event. This is where you do the real work.

Reimplemented from SubsysReco.

Definition at line 80 of file g4hitshift.cc.

View newest version in sPHENIX GitHub at line 80 of file g4hitshift.cc

References Fun4AllReturnCodes::EVENT_OK, PHG4CylinderGeom_Spacalv3::scint_id_coder::fiber_ID, PHG4HitContainer::getHits(), PHG4CylinderGeom_Spacalv3::scint_id_coder::scint_ID, PHG4CylinderGeom_Spacalv3::scint_id_coder::sector_ID, and PHG4CylinderGeom_Spacalv3::scint_id_coder::tower_ID.

+ Here is the call graph for this function:

int g4hitshift::Reset ( PHCompositeNode )
overridevirtual

Reset.

Reimplemented from SubsysReco.

Definition at line 128 of file g4hitshift.cc.

View newest version in sPHENIX GitHub at line 128 of file g4hitshift.cc

References Fun4AllReturnCodes::EVENT_OK.

int g4hitshift::ResetEvent ( PHCompositeNode )
overridevirtual

Clean up after each event.

Reimplemented from SubsysReco.

Definition at line 110 of file g4hitshift.cc.

View newest version in sPHENIX GitHub at line 110 of file g4hitshift.cc

References Fun4AllReturnCodes::EVENT_OK.


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