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

#include <coresoftware/blob/master/offline/framework/ffamodules/FlagHandler.h>

+ Inheritance diagram for FlagHandler:
+ Collaboration diagram for FlagHandler:

Public Member Functions

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

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 FlagHandler.h.

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

Constructor & Destructor Documentation

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

Definition at line 18 of file FlagHandler.cc.

View newest version in sPHENIX GitHub at line 18 of file FlagHandler.cc

FlagHandler::~FlagHandler ( )
inlineoverride

Definition at line 17 of file FlagHandler.h.

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

Member Function Documentation

int FlagHandler::End ( PHCompositeNode topNode)
overridevirtual

Called at the end of all processing.

Reimplemented from SubsysReco.

Definition at line 44 of file FlagHandler.cc.

View newest version in sPHENIX GitHub at line 44 of file FlagHandler.cc

References Fun4AllReturnCodes::EVENT_OK, FlagSave::FillFromPHFlag(), FlagSave::identify(), and recoConsts::instance().

+ Here is the call graph for this function:

int FlagHandler::InitRun ( PHCompositeNode topNode)
overridevirtual

Create the Flag Node if it does not exist, if it exists, read back flags and copy them into recoConsts

Reimplemented from SubsysReco.

Definition at line 24 of file FlagHandler.cc.

View newest version in sPHENIX GitHub at line 24 of file FlagHandler.cc

References Fun4AllReturnCodes::EVENT_OK, PHNodeIterator::findFirst(), recoConsts::instance(), and FlagSave::PutFlagsBack().

+ Here is the call graph for this function:

void FlagHandler::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 57 of file FlagHandler.cc.

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

References recoConsts::instance(), and recoConsts::Print().

+ Here is the call graph for this function:


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