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

#include <fun4all_coresoftware/blob/master/offline/framework/fun4all/Fun4AllServer.h>

+ Inheritance diagram for Fun4AllServer:
+ Collaboration diagram for Fun4AllServer:

Public Member Functions

 ~Fun4AllServer () override
 
virtual bool registerHisto (const std::string &hname, TNamed *h1d, const int replace=0)
 
virtual bool registerHisto (TNamed *h1d, const int replace=0)
 
template<typename T >
TmakeHisto (T *t)
 
virtual int isHistoRegistered (const std::string &name) const
 
int registerSubsystem (SubsysReco *subsystem, const std::string &topnodename="TOP")
 
int unregisterSubsystem (SubsysReco *subsystem)
 
SubsysRecogetSubsysReco (const std::string &name)
 
int registerOutputManager (Fun4AllOutputManager *manager)
 
Fun4AllOutputManagergetOutputManager (const std::string &name)
 
int registerHistoManager (Fun4AllHistoManager *manager)
 
Fun4AllHistoManagergetHistoManager (const std::string &name)
 
TNamed * getHisto (const std::string &hname) const
 
TNamed * getHisto (const unsigned int ihisto) const
 
std::string getHistoName (const unsigned int ihisto) const
 
void Print (const std::string &what="ALL") const override
 
void InitAll ()
 
int BeginRunTimeStamp (PHTimeStamp &TimeStp)
 
int dumpHistos (const std::string &filename, const std::string &openmode="RECREATE")
 
int Reset ()
 
virtual int BeginRun (const int runno)
 
virtual int EndRun (const int runno=0)
 
virtual int End ()
 
PHCompositeNodetopNode () const
 
PHCompositeNodetopNode (const std::string &name)
 
int outfileclose ()
 
virtual int process_event ()
 
PHCompositeNodegetNode (const std::string &name, const std::string &topnodename="TOP")
 
int AddTopNode (const std::string &name)
 
int MakeNodesTransient (PHCompositeNode *startNode)
 
int MakeNodesPersistent (PHCompositeNode *startNode)
 
int AddComplaint (const std::string &complaint, const std::string &remedy)
 
int registerInputManager (Fun4AllInputManager *InManager)
 
Fun4AllInputManagergetInputManager (const std::string &name)
 
int PrdfEvents () const
 
int DstEvents () const
 
int run (const int nevnts=0, const bool require_nevents=false)
 run n events (0 means up to end of file)
 
int skip (const int nevnts=0)
 skip n events (0 means up to the end of file). Skip means read, don't process.
 
int fileopen (const std::string &managername, const std::string &filename)
 
int fileclose (const std::string &managername)
 
int SegmentNumber ()
 
int ResetNodeTree ()
 
int BranchSelect (const std::string &managername, const std::string &branch, int iflag)
 
int BranchSelect (const std::string &branch, int iflag)
 
int setBranches (const std::string &managername)
 
int setBranches ()
 
virtual int DisconnectDB ()
 
virtual void identify (std::ostream &out=std::cout) const
 
unsigned GetTopNodes (std::vector< std::string > &names) const
 
void GetInputFullFileList (std::vector< std::string > &fnames) const
 
void GetOutputManagerList (std::vector< std::string > &names) const
 
void GetModuleList (std::vector< std::string > &names) const
 
Fun4AllSyncManagergetSyncManager (const std::string &name="DefaultSyncManager")
 
int registerSyncManager (Fun4AllSyncManager *newmaster)
 
int retcodestats (const int iret)
 
void EventNumber (const int evtno)
 
int EventNumber () const
 
void NodeIdentify (const std::string &name)
 
void KeepDBConnection (const int i=1)
 
void PrintTimer (const std::string &name="")
 
void PrintMemoryTracker (const std::string &name="") const
 
int RunNumber () const
 
int EventCounter () const
 
- 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.
 

Static Public Member Functions

static Fun4AllServerinstance ()
 

Protected Member Functions

 Fun4AllServer (const std::string &name="Fun4AllServer")
 
int InitNodeTree (PHCompositeNode *topNode)
 
int CountOutNodes (PHCompositeNode *startNode)
 
int CountOutNodesRecursive (PHCompositeNode *startNode, const int icount)
 
int UpdateEventSelector (Fun4AllOutputManager *manager)
 
int unregisterSubsystemsNow ()
 
int setRun (const int runnumber)
 
- Protected Member Functions inherited from Fun4AllBase
 Fun4AllBase (const std::string &name="NONAME")
 

Protected Attributes

TH1 * FrameWorkVars
 
Fun4AllMemoryTrackerffamemtracker
 
Fun4AllHistoManagerServerHistoManager
 
PHTimeStampbeginruntimestamp = nullptr
 
PHCompositeNodeTopNode
 
Fun4AllSyncManagerdefaultSyncManager
 
int OutNodeCount = 0
 
int bortime_override = 0
 
int ScreamEveryEvent = 0
 
int unregistersubsystem = 0
 
int runnumber = 0
 
int eventnumber = 0
 
int eventcounter = 0
 
int keep_db_connected = 0
 
std::vector< std::string > ComplaintList
 
std::vector< std::pair
< SubsysReco
*, PHCompositeNode * > > 
Subsystems
 
std::vector< std::pair
< SubsysReco
*, PHCompositeNode * > > 
DeleteSubsystems
 
std::vector< int > RetCodes
 
std::vector
< Fun4AllOutputManager * > 
OutputManager
 
std::vector< TDirectory * > TDirCollection
 
std::vector
< Fun4AllHistoManager * > 
HistoManager
 
std::map< std::string,
PHCompositeNode * > 
topnodemap
 
std::string default_Tdirectory
 
std::vector< Fun4AllSyncManager * > SyncManagers
 
std::map< int, int > retcodesmap
 
std::map< const std::string,
PHTimer
timer_map
 

Static Protected Attributes

static Fun4AllServer__instance = nullptr
 

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
}
 

Detailed Description

Definition at line 29 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 29 of file Fun4AllServer.h

Constructor & Destructor Documentation

Fun4AllServer::~Fun4AllServer ( )
override

Definition at line 60 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 60 of file Fun4AllServer.cc

References __instance, beginruntimestamp, ffamemtracker, HistoManager, recoConsts::instance(), OutputManager, Reset(), Subsystems, SyncManagers, TDirCollection, topnodemap, Fun4AllBase::Verbosity(), and Fun4AllBase::VERBOSITY_MORE.

+ Here is the call graph for this function:

Fun4AllServer::Fun4AllServer ( const std::string &  name = "Fun4AllServer")
protected

Definition at line 52 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 52 of file Fun4AllServer.cc

References InitAll().

+ Here is the call graph for this function:

Member Function Documentation

int Fun4AllServer::AddComplaint ( const std::string &  complaint,
const std::string &  remedy 
)

Definition at line 339 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 339 of file Fun4AllServer.cc

References ComplaintList, and ScreamEveryEvent.

int Fun4AllServer::AddTopNode ( const std::string &  name)

Definition at line 1250 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1250 of file Fun4AllServer.cc

References name, and topnodemap.

Referenced by topNode().

+ Here is the caller graph for this function:

int Fun4AllServer::BeginRun ( const int  runno)
virtual

Definition at line 768 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 768 of file Fun4AllServer.cc

References Fun4AllReturnCodes::ABORTRUN, beginruntimestamp, bortime_override, default_Tdirectory, DisconnectDB(), Acts::UnitConstants::e, Fun4AllReturnCodes::EVENT_OK, eventcounter, exit(), ffamemtracker, keep_db_connected, PHWHERE, PHTimeStamp::print(), Print(), Fun4AllMemoryTracker::Snapshot(), Fun4AllMemoryTracker::Start(), Fun4AllMemoryTracker::Stop(), Subsystems, unregistersubsystem, unregisterSubsystemsNow(), Fun4AllBase::Verbosity(), Fun4AllBase::VERBOSITY_EVEN_MORE, and Fun4AllBase::VERBOSITY_SOME.

Referenced by run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int Fun4AllServer::BeginRunTimeStamp ( PHTimeStamp TimeStp)

Definition at line 758 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 758 of file Fun4AllServer.cc

References beginruntimestamp, bortime_override, and PHTimeStamp::print().

+ Here is the call graph for this function:

int Fun4AllServer::BranchSelect ( const std::string &  managername,
const std::string &  branch,
int  iflag 
)

Definition at line 1481 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1481 of file Fun4AllServer.cc

References SyncManagers.

int Fun4AllServer::BranchSelect ( const std::string &  branch,
int  iflag 
)

Definition at line 1492 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1492 of file Fun4AllServer.cc

References SyncManagers.

int Fun4AllServer::CountOutNodes ( PHCompositeNode startNode)
protected

Definition at line 886 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 886 of file Fun4AllServer.cc

References CountOutNodesRecursive().

Referenced by process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int Fun4AllServer::CountOutNodesRecursive ( PHCompositeNode startNode,
const int  icount 
)
protected

Definition at line 893 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 893 of file Fun4AllServer.cc

References PHNodeIterator::ls(), Fun4AllBase::Verbosity(), and Fun4AllBase::VERBOSITY_EVEN_MORE.

Referenced by CountOutNodes().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int Fun4AllServer::DisconnectDB ( )
virtual

Definition at line 1548 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1548 of file Fun4AllServer.cc

Referenced by BeginRun().

+ Here is the caller graph for this function:

int Fun4AllServer::DstEvents ( ) const

Definition at line 1301 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1301 of file Fun4AllServer.cc

References defaultSyncManager, and Fun4AllSyncManager::TotalEvents().

+ Here is the call graph for this function:

int Fun4AllServer::dumpHistos ( const std::string &  filename,
const std::string &  openmode = "RECREATE" 
)

Definition at line 142 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 142 of file Fun4AllServer.cc

References HistoManager, ServerHistoManager, and Fun4AllHistoManager::setOutfileName().

Referenced by AnalyzeTree(), and RunBoth().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int Fun4AllServer::End ( )
virtual

Definition at line 1006 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1006 of file Fun4AllServer.cc

References ComplaintList, default_Tdirectory, Acts::UnitConstants::e, EndRun(), exit(), PHNodeIterator::findFirst(), PHFlag::get_IntFlag(), recoConsts::instance(), MakeNodesTransient(), outfileclose(), OutputManager, PHWHERE, ScreamEveryEvent, Subsystems, TopNode, Fun4AllBase::Verbosity(), Fun4AllBase::VERBOSITY_EVEN_MORE, and Fun4AllBase::VERBOSITY_SOME.

Referenced by AnalyzeTree(), Extract_ECCE_gdml(), Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), Fun4All_CaloAna(), Fun4All_ExportGeom(), Fun4All_G4_Babar(), Fun4All_G4_Beast(), Fun4All_G4_block(), Fun4All_G4_CEMC(), Fun4All_G4_Cleo(), Fun4All_G4_Clusters(), Fun4All_G4_Cylinder(), Fun4All_G4_EICDetector(), Fun4All_G4_EICDetector_AnaTutorial(), Fun4All_G4_EicDirc(), Fun4All_G4_Example01(), Fun4All_G4_Example02(), Fun4All_G4_Example03(), Fun4All_G4_FastMom(), Fun4All_G4_FastMom_GEM(), Fun4All_G4_FastMom_GEM_RICH(), Fun4All_G4_FEMC(), Fun4All_G4_FHCAL(), Fun4All_G4_fsPHENIX(), Fun4All_G4_FullDetectorModular(), Fun4All_G4_FullDetectorModularBeast(), Fun4All_G4_Geantino(), Fun4All_G4_HCALIN(), Fun4All_G4_HCALOUT(), Fun4All_G4_IonGun(), Fun4All_G4_JLeic(), Fun4All_G4_LBLDetector(), Fun4All_G4_Lmon(), Fun4All_G4_Magnet(), Fun4All_G4_Momentum(), Fun4All_G4_Momentum_Projection(), Fun4All_G4_Momentum_Projection_Calorimeters(), Fun4All_G4_Momentum_Projection_Detectors(), Fun4All_G4_MyDetector(), Fun4All_G4_Pi0_Tbt(), Fun4All_G4_simple_hadron(), Fun4All_G4_simple_hadron_GEM(), Fun4All_G4_simple_vertex(), Fun4All_G4_simplified_3vtx(), Fun4All_G4_simplified_v2(), Fun4All_G4_simplified_v2_DIRC_barrel_GEM(), Fun4All_G4_SlopeCal(), Fun4All_G4_sPHENIX(), Fun4All_G4_sPHENIX_particle_gen(), Fun4All_G4_Tracking(), Fun4All_G4_Write_Dst(), Fun4All_ImportGeom(), Fun4All_JetAna(), Fun4All_MySimpleReco(), Fun4All_Read_Dst(), G4TTree(), MakeTree(), MyHitTTree(), ReadFieldMap(), run_dump(), RunBoth(), RunEval(), and RunSampling().

+ Here is the call graph for this function:

int Fun4AllServer::EndRun ( const int  runno = 0)
virtual

Definition at line 955 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 955 of file Fun4AllServer.cc

References default_Tdirectory, Acts::UnitConstants::e, exit(), PHWHERE, Subsystems, Fun4AllBase::Verbosity(), Fun4AllBase::VERBOSITY_EVEN_MORE, and Fun4AllBase::VERBOSITY_MORE.

Referenced by End(), and run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int Fun4AllServer::EventCounter ( ) const
inline

Definition at line 113 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 113 of file Fun4AllServer.h

References eventcounter.

Referenced by SyncReco::process_event().

+ Here is the caller graph for this function:

void Fun4AllServer::EventNumber ( const int  evtno)
inline

Definition at line 106 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 106 of file Fun4AllServer.h

References eventnumber.

Referenced by Fun4AllSyncManager::CurrentEvent(), SyncReco::process_event(), and HeadReco::process_event().

+ Here is the caller graph for this function:

int Fun4AllServer::EventNumber ( ) const
inline

Definition at line 107 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 107 of file Fun4AllServer.h

References eventnumber.

int Fun4AllServer::fileclose ( const std::string &  managername)

Definition at line 1525 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1525 of file Fun4AllServer.cc

References SyncManagers.

int Fun4AllServer::fileopen ( const std::string &  managername,
const std::string &  filename 
)

Definition at line 1470 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1470 of file Fun4AllServer.cc

References SyncManagers.

Referenced by AnalyzeTree(), Fun4All_Generator_Display(), and run_dump().

+ Here is the caller graph for this function:

TNamed * Fun4AllServer::getHisto ( const std::string &  hname) const

Definition at line 488 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 488 of file Fun4AllServer.cc

References Fun4AllHistoManager::getHisto(), and ServerHistoManager.

Referenced by PHG4OuterHcalSteppingAction::FieldChecker().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TNamed * Fun4AllServer::getHisto ( const unsigned int  ihisto) const

Definition at line 477 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 477 of file Fun4AllServer.cc

References Fun4AllHistoManager::getHisto(), and ServerHistoManager.

+ Here is the call graph for this function:

Fun4AllHistoManager * Fun4AllServer::getHistoManager ( const std::string &  name)

Definition at line 436 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 436 of file Fun4AllServer.cc

References HistoManager, name, Fun4AllBase::Verbosity(), Fun4AllBase::VERBOSITY_EVEN_MORE, and Fun4AllBase::VERBOSITY_MORE.

Referenced by QAHistManagerDef::getHistoManager(), TPCIntegratedCharge::getHistoManager(), TPCDataStreamEmulator::getHistoManager(), PHG4ScoringManager::getHistoManager(), JetHepMCLoader::getHistoManager(), and TPCFEETestRecov1::getHistoManager().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

string Fun4AllServer::getHistoName ( const unsigned int  ihisto) const

Definition at line 483 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 483 of file Fun4AllServer.cc

References Fun4AllHistoManager::getHistoName(), and ServerHistoManager.

+ Here is the call graph for this function:

void Fun4AllServer::GetInputFullFileList ( std::vector< std::string > &  fnames) const

Definition at line 1542 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1542 of file Fun4AllServer.cc

References defaultSyncManager, and Fun4AllSyncManager::GetInputFullFileList().

+ Here is the call graph for this function:

Fun4AllInputManager * Fun4AllServer::getInputManager ( const std::string &  name)

Definition at line 1282 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1282 of file Fun4AllServer.cc

References SyncManagers.

void Fun4AllServer::GetModuleList ( std::vector< std::string > &  names) const

Definition at line 1575 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1575 of file Fun4AllServer.cc

References Subsystems.

PHCompositeNode * Fun4AllServer::getNode ( const std::string &  name,
const std::string &  topnodename = "TOP" 
)

Definition at line 1263 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1263 of file Fun4AllServer.cc

References PHCompositeNode::addNode(), PHNodeIterator::findFirst(), and topNode().

Referenced by Fun4AllDstInputManager::fileopen(), Fun4AllHepMCInputManager::Fun4AllHepMCInputManager(), and Fun4AllOscarInputManager::Fun4AllOscarInputManager().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Fun4AllOutputManager * Fun4AllServer::getOutputManager ( const std::string &  name)

Definition at line 417 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 417 of file Fun4AllServer.cc

References OutputManager, Fun4AllBase::Verbosity(), and Fun4AllBase::VERBOSITY_EVEN_MORE.

+ Here is the call graph for this function:

void Fun4AllServer::GetOutputManagerList ( std::vector< std::string > &  names) const

Definition at line 1564 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1564 of file Fun4AllServer.cc

References OutputManager.

SubsysReco * Fun4AllServer::getSubsysReco ( const std::string &  name)

Definition at line 321 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 321 of file Fun4AllServer.cc

References name, Subsystems, Fun4AllBase::Verbosity(), and Fun4AllBase::VERBOSITY_EVEN_MORE.

Referenced by DisplayOn(), Extract_ECCE_gdml(), G4Cmd(), get_gen(), get_gun(), getgun(), matscan(), and QTGui().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Fun4AllSyncManager * Fun4AllServer::getSyncManager ( const std::string &  name = "DefaultSyncManager")

Definition at line 1606 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1606 of file Fun4AllServer.cc

References defaultSyncManager, name, and SyncManagers.

unsigned Fun4AllServer::GetTopNodes ( std::vector< std::string > &  names) const

Definition at line 1554 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1554 of file Fun4AllServer.cc

References topnodemap.

void Fun4AllServer::identify ( std::ostream &  out = std::cout) const
virtual

Definition at line 1191 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1191 of file Fun4AllServer.cc

References Fun4AllBase::Name().

+ Here is the call graph for this function:

void Fun4AllServer::InitAll ( )

Definition at line 118 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 118 of file Fun4AllServer.cc

References default_Tdirectory, defaultSyncManager, FrameWorkVars, InitNodeTree(), Fun4AllBase::Name(), NFRAMEWORKBINS, registerHisto(), registerHistoManager(), ServerHistoManager, SyncManagers, TopNode, and topnodemap.

Referenced by Fun4AllServer().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int Fun4AllServer::InitNodeTree ( PHCompositeNode topNode)
protected

Definition at line 1213 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1213 of file Fun4AllServer.cc

References PHCompositeNode::addNode().

Referenced by InitAll(), and topNode().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Fun4AllServer * Fun4AllServer::instance ( void  )
static

Definition at line 42 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 42 of file Fun4AllServer.cc

Referenced by AnalyzeTree(), Bbc_Reco(), BECAL_Eval(), BECAL_Towers(), CaloTrigger_Sim(), CEMC_Cells(), CEMC_Clusters(), CEMC_Eval(), CEMC_QA(), CEMC_Towers(), Centrality(), Fun4AllSyncManager::CurrentEvent(), DisplayOn(), DRCALO_Towers(), DRCALOSetup(), PHG4GDMLUtility::Dump_GDML(), EEMC_Clusters(), EEMC_Eval(), EEMC_Towers(), EEMCH_Clusters(), EEMCH_Eval(), EEMCH_Towers(), EHCAL_Clusters(), EHCAL_Eval(), EHCAL_Towers(), EHCALSetup(), HeadReco::EndRun(), ETTL_Clustering(), Extract_ECCE_gdml(), FEMC_Clusters(), FEMC_Eval(), FEMC_Towers(), FEMCSetup(), FGEM_FastSim_Eval(), FGEM_FastSim_Reco(), FHCAL_Clusters(), FHCAL_Eval(), FHCAL_Towers(), FHCALSetup(), PHG4OuterHcalSteppingAction::FieldChecker(), Fun4AllDstInputManager::fileopen(), Fun4AllDstPileupInputManager::fileopen(), Fun4AllSingleDstPileupInputManager::fileopen(), FTTL_Clustering(), Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), Fun4All_CaloAna(), Fun4All_EIC_Generator_Display(), Fun4All_ExportGeom(), Fun4All_G4_Babar(), Fun4All_G4_Beast(), Fun4All_G4_block(), Fun4All_G4_CEMC(), Fun4All_G4_Cleo(), Fun4All_G4_Clusters(), Fun4All_G4_Cylinder(), Fun4All_G4_EICDetector(), Fun4All_G4_EICDetector_AnaTutorial(), Fun4All_G4_EicDirc(), Fun4All_G4_Example01(), Fun4All_G4_Example02(), Fun4All_G4_Example03(), Fun4All_G4_FastMom(), Fun4All_G4_FastMom_GEM(), Fun4All_G4_FastMom_GEM_RICH(), Fun4All_G4_FEMC(), Fun4All_G4_FHCAL(), Fun4All_G4_fsPHENIX(), Fun4All_G4_FullDetectorModular(), Fun4All_G4_FullDetectorModularBeast(), Fun4All_G4_Geantino(), Fun4All_G4_HCALIN(), Fun4All_G4_HCALOUT(), Fun4All_G4_IonGun(), Fun4All_G4_JLeic(), Fun4All_G4_LBLDetector(), Fun4All_G4_Lmon(), Fun4All_G4_Magnet(), Fun4All_G4_Momentum(), Fun4All_G4_Momentum_Projection(), Fun4All_G4_Momentum_Projection_Calorimeters(), Fun4All_G4_Momentum_Projection_Detectors(), Fun4All_G4_MyDetector(), Fun4All_G4_Pi0_Tbt(), Fun4All_G4_QtDisplay(), Fun4All_G4_simple_hadron(), Fun4All_G4_simple_hadron_GEM(), Fun4All_G4_simple_vertex(), Fun4All_G4_simplified_3vtx(), Fun4All_G4_simplified_v2(), Fun4All_G4_simplified_v2_DIRC_barrel_GEM(), Fun4All_G4_SlopeCal(), Fun4All_G4_sPHENIX(), Fun4All_G4_sPHENIX_particle_gen(), Fun4All_G4_Tracking(), Fun4All_G4_Write_Dst(), Fun4All_Generator_Display(), Fun4All_ImportGeom(), Fun4All_JetAna(), Fun4All_MySimpleReco(), Fun4All_Read_Dst(), Fun4AllHepMCInputManager::Fun4AllHepMCInputManager(), Fun4AllOscarInputManager::Fun4AllOscarInputManager(), Fun4AllPrdfInputManager::Fun4AllPrdfInputManager(), G4Cmd(), G4DSTreader(), G4DSTreader_EICDetector(), G4DSTreader_fsPHENIX(), G4DSTreader_LBLDetector(), G4Setup(), G4TTree(), get_gen(), get_gun(), PHFieldUtility::GetFieldConfigNode(), PHFieldUtility::GetFieldMapNode(), getgun(), QAHistManagerDef::getHistoManager(), TPCIntegratedCharge::getHistoManager(), TPCDataStreamEmulator::getHistoManager(), PHG4ScoringManager::getHistoManager(), JetHepMCLoader::getHistoManager(), TPCFEETestRecov1::getHistoManager(), Global_FastSim(), Global_Reco(), HCALInner_Cells(), HCALInner_Clusters(), HCALInner_Eval(), HCALInner_QA(), HCALInner_Towers(), HCALOuter_Cells(), HCALOuter_Clusters(), HCALOuter_Eval(), HCALOuter_QA(), HCALOuter_Towers(), HIJetReco(), AnalyzeSimpleTree::Init(), PHG4TpcElectronDrift::InitRun(), InputInit(), InputManagers(), InputRegister(), Intt_Cells(), Intt_Clustering(), Intt_QA(), Jet_Eval(), Jet_FwdEval(), Jet_FwdReco(), Jet_QA(), Jet_Reco(), KFParticle_D0_Reco(), KFParticle_Lambdac_Reco(), KFParticle_QA(), KFParticle_Upsilon_Reco(), LFHCAL_Eval(), LFHCAL_Towers(), LFHCALSetup(), PHG4FullProjSpacalCellReco::LightCollectionModel::LightCollectionModel(), MakeTree(), matscan(), Micromegas_Cells(), Micromegas_Clustering(), Micromegas_QA(), mRICH_Eval(), Mvtx_Cells(), Mvtx_Clustering(), Mvtx_QA(), MyHitTTree(), ParticleFlow(), PHGeom_DSTInspection(), SyncReco::process_event(), HeadReco::process_event(), QA_G4CaloTracking(), QA_Output(), QAInit(), QTGui(), ReadFieldMap(), HcalRawTowerBuilder::ReadParamsFromNodeTree(), Fun4AllInputManager::registerSubsystem(), registerSubsystem(), Fun4AllInputManager::RejectEvent(), Fun4AllDstPileupInputManager::run(), run_dump(), RunBoth(), RunEval(), RunSampling(), ShowerCompress(), TopoClusterReco(), TPC_Cells(), TPC_Clustering(), TPC_QA(), Tracking_Eval(), Tracking_QA(), Tracking_Reco(), TrackingInit(), UserAnalysisInit(), Fun4AllEventOutputManager::Write(), Fun4AllDstOutputManager::Write(), Fun4AllFileOutStream::WriteEventOut(), Fun4AllDstOutputManager::WriteNode(), ZDC_Eval(), ZDC_Towers(), and ZDCSetup().

int Fun4AllServer::isHistoRegistered ( const std::string &  name) const
virtual

Definition at line 168 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 168 of file Fun4AllServer.cc

References Fun4AllHistoManager::isHistoRegistered(), and ServerHistoManager.

Referenced by PHG4OuterHcalSteppingAction::FieldChecker().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Fun4AllServer::KeepDBConnection ( const int  i = 1)
inline

Definition at line 109 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 109 of file Fun4AllServer.h

References keep_db_connected.

template<typename T >
T* Fun4AllServer::makeHisto ( T t)
inline

Definition at line 38 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 38 of file Fun4AllServer.h

References Fun4AllHistoManager::makeHisto(), and ServerHistoManager.

+ Here is the call graph for this function:

int Fun4AllServer::MakeNodesPersistent ( PHCompositeNode startNode)

Definition at line 936 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 936 of file Fun4AllServer.cc

References PHNodeIterator::ls().

Referenced by Fun4AllDstOutputManager::Write(), and Fun4AllDstOutputManager::WriteNode().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int Fun4AllServer::MakeNodesTransient ( PHCompositeNode startNode)

Definition at line 917 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 917 of file Fun4AllServer.cc

References PHNodeIterator::ls().

Referenced by End(), process_event(), Fun4AllDstOutputManager::Write(), and Fun4AllDstOutputManager::WriteNode().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Fun4AllServer::NodeIdentify ( const std::string &  name)

Definition at line 1643 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1643 of file Fun4AllServer.cc

References PHObject::identify(), name, and TopNode.

+ Here is the call graph for this function:

int Fun4AllServer::outfileclose ( )

Definition at line 1197 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1197 of file Fun4AllServer.cc

References Fun4AllBase::Name(), OutputManager, Fun4AllBase::Verbosity(), and Fun4AllBase::VERBOSITY_MORE.

Referenced by End().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int Fun4AllServer::PrdfEvents ( ) const

Definition at line 1296 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1296 of file Fun4AllServer.cc

References defaultSyncManager, and Fun4AllSyncManager::PrdfEvents().

+ Here is the call graph for this function:

void Fun4AllServer::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 1098 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1098 of file Fun4AllServer.cc

References HistoManager, OutputManager, pos(), PHNodeIterator::print(), Subsystems, SyncManagers, and topnodemap.

Referenced by BeginRun(), and HcalRawTowerBuilder::ReadParamsFromNodeTree().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Fun4AllServer::PrintMemoryTracker ( const std::string &  name = "") const

Definition at line 1689 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1689 of file Fun4AllServer.cc

References ffamemtracker, and Fun4AllMemoryTracker::PrintMemoryTracker().

+ Here is the call graph for this function:

void Fun4AllServer::PrintTimer ( const std::string &  name = "")

Definition at line 1658 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1658 of file Fun4AllServer.cc

References PHTimer::PRINT(), and timer_map.

+ Here is the call graph for this function:

int Fun4AllServer::process_event ( )
virtual

Definition at line 493 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 493 of file Fun4AllServer.cc

References Fun4AllReturnCodes::ABORTEVENT, Fun4AllReturnCodes::ABORTRUN, ComplaintList, CountOutNodes(), default_Tdirectory, Fun4AllReturnCodes::DISCARDEVENT, Acts::UnitConstants::e, Fun4AllReturnCodes::EVENT_OK, eventcounter, exit(), ffamemtracker, PHNodeIterator::findFirst(), MakeNodesTransient(), OutNodeCount, OutputManager, PHWHERE, PHNodeIterator::print(), ResetNodeTree(), RetCodes, retcodesmap, ScreamEveryEvent, Fun4AllMemoryTracker::Snapshot(), Fun4AllMemoryTracker::Start(), Fun4AllMemoryTracker::Stop(), Subsystems, SyncManagers, timer_map, TopNode, unregistersubsystem, unregisterSubsystemsNow(), vector(), Fun4AllBase::Verbosity(), Fun4AllBase::VERBOSITY_EVEN_MORE, and Fun4AllBase::VERBOSITY_MORE.

Referenced by run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Fun4AllServer::registerHisto ( const std::string &  hname,
TNamed *  h1d,
const int  replace = 0 
)
virtual

Definition at line 163 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 163 of file Fun4AllServer.cc

References Fun4AllHistoManager::registerHisto(), and ServerHistoManager.

Referenced by PHG4OuterHcalSteppingAction::FieldChecker(), InitAll(), and PHG4FullProjSpacalCellReco::LightCollectionModel::LightCollectionModel().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool Fun4AllServer::registerHisto ( TNamed *  h1d,
const int  replace = 0 
)
virtual

Definition at line 158 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 158 of file Fun4AllServer.cc

References Fun4AllHistoManager::registerHisto(), and ServerHistoManager.

+ Here is the call graph for this function:

int Fun4AllServer::registerHistoManager ( Fun4AllHistoManager manager)

Definition at line 457 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 457 of file Fun4AllServer.cc

References HistoManager, Fun4AllBase::Name(), Fun4AllBase::Verbosity(), and Fun4AllBase::VERBOSITY_SOME.

Referenced by QAHistManagerDef::getHistoManager(), TPCIntegratedCharge::getHistoManager(), TPCDataStreamEmulator::getHistoManager(), PHG4ScoringManager::getHistoManager(), JetHepMCLoader::getHistoManager(), TPCFEETestRecov1::getHistoManager(), AnalyzeSimpleTree::Init(), and InitAll().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int Fun4AllServer::registerInputManager ( Fun4AllInputManager InManager)

Definition at line 1275 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1275 of file Fun4AllServer.cc

References defaultSyncManager, and Fun4AllSyncManager::registerInputManager().

Referenced by AnalyzeTree(), Fun4All_CaloAna(), Fun4All_EIC_Generator_Display(), Fun4All_ExportGeom(), Fun4All_G4_block(), Fun4All_G4_Clusters(), Fun4All_G4_Cylinder(), Fun4All_G4_EicDirc(), Fun4All_G4_Example01(), Fun4All_G4_Example02(), Fun4All_G4_Example03(), Fun4All_G4_FastMom(), Fun4All_G4_FastMom_GEM(), Fun4All_G4_FastMom_GEM_RICH(), Fun4All_G4_Geantino(), Fun4All_G4_IonGun(), Fun4All_G4_Lmon(), Fun4All_G4_Magnet(), Fun4All_G4_Momentum(), Fun4All_G4_Momentum_Projection(), Fun4All_G4_Momentum_Projection_Calorimeters(), Fun4All_G4_Momentum_Projection_Detectors(), Fun4All_G4_MyDetector(), Fun4All_G4_Pi0_Tbt(), Fun4All_G4_simple_hadron(), Fun4All_G4_simple_hadron_GEM(), Fun4All_G4_simple_vertex(), Fun4All_G4_simplified_3vtx(), Fun4All_G4_simplified_v2(), Fun4All_G4_simplified_v2_DIRC_barrel_GEM(), Fun4All_G4_SlopeCal(), Fun4All_G4_sPHENIX_particle_gen(), Fun4All_G4_Write_Dst(), Fun4All_Generator_Display(), Fun4All_ImportGeom(), Fun4All_JetAna(), Fun4All_MySimpleReco(), Fun4All_Read_Dst(), G4TTree(), InputManagers(), MakeTree(), MyHitTTree(), PHGeom_DSTInspection(), ReadFieldMap(), run_dump(), RunBoth(), RunEval(), and RunSampling().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int Fun4AllServer::registerOutputManager ( Fun4AllOutputManager manager)

Definition at line 356 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 356 of file Fun4AllServer.cc

References Fun4AllBase::Name(), OutputManager, UpdateEventSelector(), Fun4AllBase::Verbosity(), and Fun4AllBase::VERBOSITY_SOME.

Referenced by Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), Fun4All_G4_Babar(), Fun4All_G4_Beast(), Fun4All_G4_block(), Fun4All_G4_CEMC(), Fun4All_G4_Cleo(), Fun4All_G4_Clusters(), Fun4All_G4_Cylinder(), Fun4All_G4_EICDetector(), Fun4All_G4_EICDetector_AnaTutorial(), Fun4All_G4_EicDirc(), Fun4All_G4_FastMom(), Fun4All_G4_FastMom_GEM(), Fun4All_G4_FastMom_GEM_RICH(), Fun4All_G4_FEMC(), Fun4All_G4_FHCAL(), Fun4All_G4_fsPHENIX(), Fun4All_G4_FullDetectorModular(), Fun4All_G4_FullDetectorModularBeast(), Fun4All_G4_HCALIN(), Fun4All_G4_HCALOUT(), Fun4All_G4_IonGun(), Fun4All_G4_JLeic(), Fun4All_G4_LBLDetector(), Fun4All_G4_Momentum(), Fun4All_G4_Momentum_Projection(), Fun4All_G4_Momentum_Projection_Calorimeters(), Fun4All_G4_Momentum_Projection_Detectors(), Fun4All_G4_simple_hadron(), Fun4All_G4_simple_hadron_GEM(), Fun4All_G4_simple_vertex(), Fun4All_G4_simplified_3vtx(), Fun4All_G4_simplified_v2(), Fun4All_G4_simplified_v2_DIRC_barrel_GEM(), Fun4All_G4_sPHENIX(), Fun4All_G4_Write_Dst(), Fun4All_ImportGeom(), G4TTree(), MakeTree(), MyHitTTree(), and RunEval().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int Fun4AllServer::registerSubsystem ( SubsysReco subsystem,
const std::string &  topnodename = "TOP" 
)

Definition at line 174 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 174 of file Fun4AllServer.cc

References default_Tdirectory, Fun4AllReturnCodes::DONOTREGISTERSUBSYSTEM, Acts::UnitConstants::e, exit(), ffamemtracker, SubsysReco::Init(), instance(), Fun4AllBase::Name(), PHWHERE, RetCodes, Fun4AllMemoryTracker::Start(), Fun4AllMemoryTracker::Stop(), Subsystems, TDirCollection, timer_map, topNode(), Fun4AllBase::Verbosity(), and Fun4AllBase::VERBOSITY_SOME.

Referenced by AnalyzeTree(), Bbc_Reco(), BECAL_Eval(), BECAL_Towers(), CaloTrigger_Sim(), CEMC_Cells(), CEMC_Clusters(), CEMC_Eval(), CEMC_QA(), CEMC_Towers(), Centrality(), DRCALO_Towers(), EEMC_Clusters(), EEMC_Eval(), EEMC_Towers(), EEMCH_Clusters(), EEMCH_Eval(), EEMCH_Towers(), EHCAL_Clusters(), EHCAL_Eval(), EHCAL_Towers(), ETTL_Clustering(), FEMC_Clusters(), FEMC_Eval(), FEMC_Towers(), FGEM_FastSim_Eval(), FGEM_FastSim_Reco(), FHCAL_Clusters(), FHCAL_Eval(), FHCAL_Towers(), FTTL_Clustering(), Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), Fun4All_CaloAna(), Fun4All_EIC_Generator_Display(), Fun4All_G4_block(), Fun4All_G4_Clusters(), Fun4All_G4_Cylinder(), Fun4All_G4_EICDetector_AnaTutorial(), Fun4All_G4_EicDirc(), Fun4All_G4_Example01(), Fun4All_G4_Example02(), Fun4All_G4_Example03(), Fun4All_G4_FastMom(), Fun4All_G4_FastMom_GEM(), Fun4All_G4_FastMom_GEM_RICH(), Fun4All_G4_FullDetectorModular(), Fun4All_G4_FullDetectorModularBeast(), Fun4All_G4_Geantino(), Fun4All_G4_IonGun(), Fun4All_G4_Lmon(), Fun4All_G4_Magnet(), Fun4All_G4_Momentum(), Fun4All_G4_Momentum_Projection(), Fun4All_G4_Momentum_Projection_Calorimeters(), Fun4All_G4_Momentum_Projection_Detectors(), Fun4All_G4_MyDetector(), Fun4All_G4_Pi0_Tbt(), Fun4All_G4_QtDisplay(), Fun4All_G4_simple_hadron(), Fun4All_G4_simple_hadron_GEM(), Fun4All_G4_simple_vertex(), Fun4All_G4_simplified_3vtx(), Fun4All_G4_simplified_v2(), Fun4All_G4_simplified_v2_DIRC_barrel_GEM(), Fun4All_G4_SlopeCal(), Fun4All_G4_sPHENIX_particle_gen(), Fun4All_G4_Tracking(), Fun4All_G4_Write_Dst(), Fun4All_Generator_Display(), Fun4All_ImportGeom(), Fun4All_JetAna(), Fun4All_MySimpleReco(), Fun4All_Read_Dst(), G4DSTreader(), G4DSTreader_EICDetector(), G4DSTreader_fsPHENIX(), G4DSTreader_LBLDetector(), G4Setup(), G4TTree(), Global_FastSim(), Global_Reco(), HCALInner_Cells(), HCALInner_Clusters(), HCALInner_Eval(), HCALInner_QA(), HCALInner_Towers(), HCALOuter_Cells(), HCALOuter_Clusters(), HCALOuter_Eval(), HCALOuter_QA(), HCALOuter_Towers(), HIJetReco(), InputRegister(), Intt_Cells(), Intt_Clustering(), Intt_QA(), Jet_Eval(), Jet_FwdEval(), Jet_FwdReco(), Jet_QA(), Jet_Reco(), KFParticle_D0_Reco(), KFParticle_Lambdac_Reco(), KFParticle_QA(), KFParticle_Upsilon_Reco(), LFHCAL_Eval(), LFHCAL_Towers(), MakeTree(), Mvtx_Cells(), Mvtx_Clustering(), Mvtx_QA(), MyHitTTree(), ParticleFlow(), QA_G4CaloTracking(), QAInit(), ReadFieldMap(), run_dump(), RunBoth(), RunEval(), RunSampling(), ShowerCompress(), TopoClusterReco(), TPC_Clustering(), TPC_QA(), Tracking_Eval(), Tracking_QA(), Tracking_Reco(), TrackingInit(), ZDC_Eval(), and ZDC_Towers().

+ Here is the call graph for this function:

int Fun4AllServer::registerSyncManager ( Fun4AllSyncManager newmaster)

Definition at line 1586 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1586 of file Fun4AllServer.cc

References Fun4AllBase::Name(), SyncManagers, Fun4AllBase::Verbosity(), and Fun4AllBase::VERBOSITY_SOME.

+ Here is the call graph for this function:

int Fun4AllServer::Reset ( )

Definition at line 738 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 738 of file Fun4AllServer.cc

References HistoManager, Subsystems, Fun4AllBase::Verbosity(), and Fun4AllBase::VERBOSITY_EVEN_MORE.

Referenced by ~Fun4AllServer().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int Fun4AllServer::ResetNodeTree ( )

Definition at line 715 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 715 of file Fun4AllServer.cc

References PHNodeIterator::cd(), PHNodeIterator::forEach(), topnodemap, PHNodeOperation::Verbosity(), and Fun4AllBase::Verbosity().

Referenced by process_event(), and run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int Fun4AllServer::retcodestats ( const int  iret)
inline

Definition at line 105 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 105 of file Fun4AllServer.h

References retcodesmap.

int Fun4AllServer::run ( const int  nevnts = 0,
const bool  require_nevents = false 
)

run n events (0 means up to end of file)

Definition at line 1307 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1307 of file Fun4AllServer.cc

References Fun4AllReturnCodes::ABORTEVENT, BeginRun(), EndRun(), exit(), PHFlag::FlagExist(), PHFlag::get_IntFlag(), recoConsts::instance(), process_event(), Fun4AllReturnCodes::RESET_NODE_TREE, ResetNodeTree(), RetCodes, runnumber, setRun(), SyncManagers, Fun4AllBase::Verbosity(), Fun4AllBase::VERBOSITY_MORE, and Fun4AllBase::VERBOSITY_QUIET.

Referenced by AnalyzeTree(), Extract_ECCE_gdml(), Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), Fun4All_CaloAna(), Fun4All_EIC_Generator_Display(), Fun4All_ExportGeom(), Fun4All_G4_Babar(), Fun4All_G4_Beast(), Fun4All_G4_block(), Fun4All_G4_CEMC(), Fun4All_G4_Cleo(), Fun4All_G4_Clusters(), Fun4All_G4_Cylinder(), Fun4All_G4_EICDetector(), Fun4All_G4_EICDetector_AnaTutorial(), Fun4All_G4_EicDirc(), Fun4All_G4_Example01(), Fun4All_G4_Example02(), Fun4All_G4_Example03(), Fun4All_G4_FastMom(), Fun4All_G4_FastMom_GEM(), Fun4All_G4_FastMom_GEM_RICH(), Fun4All_G4_FEMC(), Fun4All_G4_FHCAL(), Fun4All_G4_fsPHENIX(), Fun4All_G4_FullDetectorModular(), Fun4All_G4_FullDetectorModularBeast(), Fun4All_G4_Geantino(), Fun4All_G4_HCALIN(), Fun4All_G4_HCALOUT(), Fun4All_G4_IonGun(), Fun4All_G4_JLeic(), Fun4All_G4_LBLDetector(), Fun4All_G4_Lmon(), Fun4All_G4_Magnet(), Fun4All_G4_Momentum(), Fun4All_G4_Momentum_Projection(), Fun4All_G4_Momentum_Projection_Calorimeters(), Fun4All_G4_Momentum_Projection_Detectors(), Fun4All_G4_MyDetector(), Fun4All_G4_Pi0_Tbt(), Fun4All_G4_simple_hadron(), Fun4All_G4_simple_hadron_GEM(), Fun4All_G4_simple_vertex(), Fun4All_G4_simplified_3vtx(), Fun4All_G4_simplified_v2(), Fun4All_G4_simplified_v2_DIRC_barrel_GEM(), Fun4All_G4_SlopeCal(), Fun4All_G4_sPHENIX(), Fun4All_G4_sPHENIX_particle_gen(), Fun4All_G4_Tracking(), Fun4All_G4_Write_Dst(), Fun4All_Generator_Display(), Fun4All_ImportGeom(), Fun4All_JetAna(), Fun4All_MySimpleReco(), Fun4All_Read_Dst(), G4TTree(), MakeTree(), MyHitTTree(), PHGeom_DSTInspection(), ReadFieldMap(), run_dump(), RunBoth(), RunEval(), RunSampling(), and Fun4AllMessenger::SetNewValue().

+ Here is the call graph for this function:

int Fun4AllServer::RunNumber ( ) const
inline

Definition at line 112 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 112 of file Fun4AllServer.h

References runnumber.

Referenced by SyncReco::process_event(), and HeadReco::process_event().

+ Here is the caller graph for this function:

int Fun4AllServer::SegmentNumber ( )

Definition at line 1536 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1536 of file Fun4AllServer.cc

References defaultSyncManager, and Fun4AllSyncManager::SegmentNumber().

Referenced by SyncReco::process_event(), and Fun4AllFileOutStream::WriteEventOut().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int Fun4AllServer::setBranches ( const std::string &  managername)

Definition at line 1503 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1503 of file Fun4AllServer.cc

References SyncManagers.

int Fun4AllServer::setBranches ( )

Definition at line 1514 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1514 of file Fun4AllServer.cc

References SyncManagers.

int Fun4AllServer::setRun ( const int  runnumber)
protected

Definition at line 1625 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1625 of file Fun4AllServer.cc

References FrameWorkVars, recoConsts::instance(), PHTimeStamp::print(), RUNNUMBERBIN, and PHFlag::set_IntFlag().

Referenced by run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int Fun4AllServer::skip ( const int  nevnts = 0)

skip n events (0 means up to the end of file). Skip means read, don't process.

Definition at line 1454 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1454 of file Fun4AllServer.cc

References eventcounter, and SyncManagers.

Referenced by Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), Fun4All_G4_CEMC(), Fun4All_G4_EICDetector(), Fun4All_G4_EICDetector_AnaTutorial(), Fun4All_G4_FEMC(), Fun4All_G4_FHCAL(), Fun4All_G4_fsPHENIX(), Fun4All_G4_FullDetectorModular(), Fun4All_G4_FullDetectorModularBeast(), Fun4All_G4_HCALIN(), Fun4All_G4_HCALOUT(), Fun4All_G4_LBLDetector(), and Fun4All_G4_sPHENIX().

+ Here is the caller graph for this function:

PHCompositeNode * Fun4AllServer::topNode ( const std::string &  name)

Definition at line 1226 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 1226 of file Fun4AllServer.cc

References AddTopNode(), exit(), InitNodeTree(), PHWHERE, and topnodemap.

+ Here is the call graph for this function:

int Fun4AllServer::unregisterSubsystem ( SubsysReco subsystem)

Definition at line 266 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 266 of file Fun4AllServer.cc

References DeleteSubsystems, and unregistersubsystem.

int Fun4AllServer::unregisterSubsystemsNow ( )
protected

Definition at line 274 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 274 of file Fun4AllServer.cc

References DeleteSubsystems, OutputManager, RetCodes, Subsystems, unregistersubsystem, UpdateEventSelector(), Fun4AllBase::Verbosity(), and Fun4AllBase::VERBOSITY_MORE.

Referenced by BeginRun(), and process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int Fun4AllServer::UpdateEventSelector ( Fun4AllOutputManager manager)
protected

Definition at line 376 of file Fun4AllServer.cc.

View newest version in sPHENIX GitHub at line 376 of file Fun4AllServer.cc

References Fun4AllOutputManager::EventSelector(), PHWHERE, Fun4AllOutputManager::RecoModuleIndex(), Subsystems, Fun4AllBase::Verbosity(), and Fun4AllBase::VERBOSITY_EVEN_MORE.

Referenced by registerOutputManager(), and unregisterSubsystemsNow().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

Fun4AllServer * Fun4AllServer::__instance = nullptr
staticprotected

Definition at line 123 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 123 of file Fun4AllServer.h

Referenced by ~Fun4AllServer().

PHTimeStamp* Fun4AllServer::beginruntimestamp = nullptr
protected

Definition at line 127 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 127 of file Fun4AllServer.h

Referenced by BeginRun(), BeginRunTimeStamp(), and ~Fun4AllServer().

int Fun4AllServer::bortime_override = 0
protected

Definition at line 132 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 132 of file Fun4AllServer.h

Referenced by BeginRun(), and BeginRunTimeStamp().

std::vector<std::string> Fun4AllServer::ComplaintList
protected

Definition at line 140 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 140 of file Fun4AllServer.h

Referenced by AddComplaint(), End(), and process_event().

std::string Fun4AllServer::default_Tdirectory
protected

Definition at line 148 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 148 of file Fun4AllServer.h

Referenced by BeginRun(), End(), EndRun(), InitAll(), process_event(), and registerSubsystem().

Fun4AllSyncManager* Fun4AllServer::defaultSyncManager
protected

Definition at line 129 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 129 of file Fun4AllServer.h

Referenced by DstEvents(), GetInputFullFileList(), getSyncManager(), InitAll(), PrdfEvents(), registerInputManager(), and SegmentNumber().

std::vector<std::pair<SubsysReco *, PHCompositeNode *> > Fun4AllServer::DeleteSubsystems
protected

Definition at line 142 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 142 of file Fun4AllServer.h

Referenced by unregisterSubsystem(), and unregisterSubsystemsNow().

int Fun4AllServer::eventcounter = 0
protected

Definition at line 137 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 137 of file Fun4AllServer.h

Referenced by BeginRun(), EventCounter(), process_event(), and skip().

int Fun4AllServer::eventnumber = 0
protected

Definition at line 136 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 136 of file Fun4AllServer.h

Referenced by EventNumber().

Fun4AllMemoryTracker* Fun4AllServer::ffamemtracker
protected

Definition at line 125 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 125 of file Fun4AllServer.h

Referenced by BeginRun(), PrintMemoryTracker(), process_event(), registerSubsystem(), and ~Fun4AllServer().

TH1* Fun4AllServer::FrameWorkVars
protected

Definition at line 124 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 124 of file Fun4AllServer.h

Referenced by InitAll(), and setRun().

std::vector<Fun4AllHistoManager *> Fun4AllServer::HistoManager
protected

Definition at line 146 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 146 of file Fun4AllServer.h

Referenced by dumpHistos(), getHistoManager(), Print(), registerHistoManager(), Reset(), and ~Fun4AllServer().

int Fun4AllServer::keep_db_connected = 0
protected

Definition at line 138 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 138 of file Fun4AllServer.h

Referenced by BeginRun(), and KeepDBConnection().

int Fun4AllServer::OutNodeCount = 0
protected

Definition at line 131 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 131 of file Fun4AllServer.h

Referenced by process_event().

std::vector<Fun4AllOutputManager *> Fun4AllServer::OutputManager
protected

Definition at line 144 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 144 of file Fun4AllServer.h

Referenced by End(), getOutputManager(), GetOutputManagerList(), outfileclose(), Print(), process_event(), registerOutputManager(), unregisterSubsystemsNow(), and ~Fun4AllServer().

std::vector<int> Fun4AllServer::RetCodes
protected

Definition at line 143 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 143 of file Fun4AllServer.h

Referenced by process_event(), registerSubsystem(), run(), and unregisterSubsystemsNow().

std::map<int, int> Fun4AllServer::retcodesmap
protected

Definition at line 150 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 150 of file Fun4AllServer.h

Referenced by process_event(), and retcodestats().

int Fun4AllServer::runnumber = 0
protected

Definition at line 135 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 135 of file Fun4AllServer.h

Referenced by run(), and RunNumber().

int Fun4AllServer::ScreamEveryEvent = 0
protected

Definition at line 133 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 133 of file Fun4AllServer.h

Referenced by AddComplaint(), End(), and process_event().

Fun4AllHistoManager* Fun4AllServer::ServerHistoManager
protected

Definition at line 126 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 126 of file Fun4AllServer.h

Referenced by dumpHistos(), getHisto(), getHistoName(), InitAll(), isHistoRegistered(), makeHisto(), and registerHisto().

std::vector<std::pair<SubsysReco *, PHCompositeNode *> > Fun4AllServer::Subsystems
protected
std::vector<Fun4AllSyncManager *> Fun4AllServer::SyncManagers
protected

Definition at line 149 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 149 of file Fun4AllServer.h

Referenced by BranchSelect(), fileclose(), fileopen(), getInputManager(), getSyncManager(), InitAll(), Print(), process_event(), registerSyncManager(), run(), setBranches(), skip(), and ~Fun4AllServer().

std::vector<TDirectory *> Fun4AllServer::TDirCollection
protected

Definition at line 145 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 145 of file Fun4AllServer.h

Referenced by registerSubsystem(), and ~Fun4AllServer().

std::map<const std::string, PHTimer> Fun4AllServer::timer_map
protected

Definition at line 151 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 151 of file Fun4AllServer.h

Referenced by PrintTimer(), process_event(), and registerSubsystem().

PHCompositeNode* Fun4AllServer::TopNode
protected

Definition at line 128 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 128 of file Fun4AllServer.h

Referenced by End(), InitAll(), NodeIdentify(), process_event(), and topNode().

std::map<std::string, PHCompositeNode *> Fun4AllServer::topnodemap
protected

Definition at line 147 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 147 of file Fun4AllServer.h

Referenced by AddTopNode(), GetTopNodes(), InitAll(), Print(), ResetNodeTree(), topNode(), and ~Fun4AllServer().

int Fun4AllServer::unregistersubsystem = 0
protected

Definition at line 134 of file Fun4AllServer.h.

View newest version in sPHENIX GitHub at line 134 of file Fun4AllServer.h

Referenced by BeginRun(), process_event(), unregisterSubsystem(), and unregisterSubsystemsNow().


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