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

#include <fun4all_coresoftware/blob/master/simulation/g4simulation/g4main/PHG4HeadReco.h>

+ Inheritance diagram for PHG4HeadReco:
+ Collaboration diagram for PHG4HeadReco:

Public Member Functions

 PHG4HeadReco (const std::string &name="PHG4HeadReco")
 
 ~PHG4HeadReco () override
 
int Init (PHCompositeNode *topNode) override
 
int process_event (PHCompositeNode *topNode) override
 
- Public Member Functions inherited from SubsysReco
 ~SubsysReco () override
 
virtual int End (PHCompositeNode *)
 Called at the end of all processing.
 
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.
 

Protected Attributes

int evtseq
 

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 12 of file PHG4HeadReco.h.

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

Constructor & Destructor Documentation

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

Definition at line 29 of file PHG4HeadReco.cc.

View newest version in sPHENIX GitHub at line 29 of file PHG4HeadReco.cc

PHG4HeadReco::~PHG4HeadReco ( )
inlineoverride

Definition at line 16 of file PHG4HeadReco.h.

View newest version in sPHENIX GitHub at line 16 of file PHG4HeadReco.h

Member Function Documentation

int PHG4HeadReco::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 35 of file PHG4HeadReco.cc.

View newest version in sPHENIX GitHub at line 35 of file PHG4HeadReco.cc

References PHCompositeNode::addNode(), Fun4AllReturnCodes::EVENT_OK, exit(), PHNodeIterator::findFirst(), and PHWHERE.

+ Here is the call graph for this function:

int PHG4HeadReco::process_event ( PHCompositeNode )
overridevirtual

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

Reimplemented from SubsysReco.

Definition at line 68 of file PHG4HeadReco.cc.

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

References Fun4AllReturnCodes::EVENT_OK, evtseq, and Fun4AllBase::Verbosity().

+ Here is the call graph for this function:

Member Data Documentation

int PHG4HeadReco::evtseq
protected

Definition at line 22 of file PHG4HeadReco.h.

View newest version in sPHENIX GitHub at line 22 of file PHG4HeadReco.h

Referenced by process_event().


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