Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Fun4AllServer Class Reference

#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/framework/fun4all/Fun4AllServer.h>

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

Public Member Functions

virtual ~Fun4AllServer ()
 
virtual bool registerHisto (const char *hname, TNamed *h1d, const int replace=0)
 
virtual bool registerHisto (TNamed *h1d, const int replace=0)
 
template<typename T >
T * makeHisto (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
 
const char * getHistoName (const unsigned int ihisto) const
 
virtual void Print (const std::string &what="ALL") const
 
void InitAll ()
 
int BeginRunTimeStamp (PHTimeStamp &TimeStp)
 
int dumpHistos (const std::string &filename="", const std::string &openmode="RECREATE")
 
int process_event (PHCompositeNode *topNode)
 
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 char *name, const char *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 char *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) More...
 
int skip (const int nevnts=0)
 skip n events (0 means up to the end of file). Skip means read, don't process. More...
 
int fileopen (const char *managername="NONE", const char *filename="NONE")
 
int fileclose (const std::string &managername="")
 
int SegmentNumber ()
 
int ResetNodeTree ()
 
int BranchSelect (const char *managername, const char *branch, int iflag)
 
int BranchSelect (const char *branch, int iflag)
 
int setBranches (const char *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)
 
void NodeIdentify (const std::string &name)
 
void KeepDBConnection (const int i=1)
 
void PrintTimer (const std::string &name="")
 
- Public Member Functions inherited from Fun4AllBase
virtual ~Fun4AllBase ()
 
virtual const std::string Name () const
 Returns the name of this module. More...
 
virtual void Name (const std::string &name)
 Sets the name of this module. More...
 
virtual void Verbosity (const int ival)
 Sets the verbosity of this module (0 by default=quiet). More...
 
virtual void Verbosity (enu_Verbosity ival)
 Sets the verbosity of this module (0 by default=quiet). More...
 
virtual int Verbosity () const
 Gets the verbosity of this module. More...
 

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

int OutNodeCount
 
int bortime_override
 
int ScreamEveryEvent
 
int unregistersubsystem
 
int runnumber
 
int eventnumber
 
std::vector< std::string > ComplaintList
 
PHCompositeNodeTopNode
 
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
 
Fun4AllHistoManagerServerHistoManager
 
std::vector
< Fun4AllHistoManager * > 
HistoManager
 
std::map< std::string,
PHCompositeNode * > 
topnodemap
 
PHTimeStampbeginruntimestamp
 
std::string default_Tdirectory
 
Fun4AllSyncManagerdefaultSyncManager
 
std::vector< Fun4AllSyncManager * > SyncManagers
 
std::map< int, int > retcodesmap
 
std::map< const std::string,
PHTimer
timer_map
 
TH1 * FrameWorkVars
 
int keep_db_connected
 
- Protected Attributes inherited from Fun4AllBase
std::string ThisName
 
int verbosity
 The verbosity level. 0 means not verbose at all. More...
 

Static Protected Attributes

static Fun4AllServer__instance = 0
 

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 24 of file Fun4AllServer.h.

Constructor & Destructor Documentation

Fun4AllServer::~Fun4AllServer ( )
virtual

Definition at line 68 of file Fun4AllServer.cc.

References __instance, beginruntimestamp, 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 53 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 342 of file Fun4AllServer.cc.

References ComplaintList, and ScreamEveryEvent.

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

Definition at line 1231 of file Fun4AllServer.cc.

References topnodemap.

Referenced by topNode().

+ Here is the caller graph for this function:

int Fun4AllServer::BeginRun ( const int  runno)
virtual

Definition at line 755 of file Fun4AllServer.cc.

References Fun4AllReturnCodes::ABORTRUN, beginruntimestamp, bortime_override, default_Tdirectory, DisconnectDB(), Fun4AllReturnCodes::EVENT_OK, keep_db_connected, PHWHERE, PHTimeStamp::print(), Print(), 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 745 of file Fun4AllServer.cc.

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

+ Here is the call graph for this function:

int Fun4AllServer::BranchSelect ( const char *  managername,
const char *  branch,
int  iflag 
)

Definition at line 1465 of file Fun4AllServer.cc.

References SyncManagers.

int Fun4AllServer::BranchSelect ( const char *  branch,
int  iflag 
)

Definition at line 1476 of file Fun4AllServer.cc.

References SyncManagers.

int Fun4AllServer::CountOutNodes ( PHCompositeNode startNode)
protected

Definition at line 868 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 875 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 1532 of file Fun4AllServer.cc.

Referenced by BeginRun().

+ Here is the caller graph for this function:

int Fun4AllServer::DstEvents ( ) const

Definition at line 1282 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 149 of file Fun4AllServer.cc.

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

+ Here is the call graph for this function:

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

Definition at line 937 of file Fun4AllServer.cc.

References default_Tdirectory, PHWHERE, Subsystems, Fun4AllBase::verbosity, Fun4AllBase::VERBOSITY_EVEN_MORE, and Fun4AllBase::VERBOSITY_MORE.

Referenced by End(), and run().

+ Here is the caller graph for this function:

void Fun4AllServer::EventNumber ( const int  evtno)
inline

Definition at line 102 of file Fun4AllServer.h.

References eventnumber.

Referenced by Fun4AllSyncManager::CurrentEvent().

+ Here is the caller graph for this function:

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

Definition at line 1509 of file Fun4AllServer.cc.

References SyncManagers.

int Fun4AllServer::fileopen ( const char *  managername = "NONE",
const char *  filename = "NONE" 
)

Definition at line 1454 of file Fun4AllServer.cc.

References SyncManagers.

Referenced by Fun4All_EventDisplay().

+ Here is the caller graph for this function:

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

Definition at line 491 of file Fun4AllServer.cc.

References Fun4AllHistoManager::getHisto(), and ServerHistoManager.

+ Here is the call graph for this function:

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

Definition at line 480 of file Fun4AllServer.cc.

References Fun4AllHistoManager::getHisto(), and ServerHistoManager.

+ Here is the call graph for this function:

Fun4AllHistoManager * Fun4AllServer::getHistoManager ( const std::string &  name)
const char * Fun4AllServer::getHistoName ( const unsigned int  ihisto) const

Definition at line 486 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 1526 of file Fun4AllServer.cc.

References defaultSyncManager, and Fun4AllSyncManager::GetInputFullFileList().

+ Here is the call graph for this function:

Fun4AllInputManager * Fun4AllServer::getInputManager ( const char *  name)

Definition at line 1263 of file Fun4AllServer.cc.

References SyncManagers.

Referenced by EventDispUI::OpenRunFile().

+ Here is the caller graph for this function:

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

Definition at line 1559 of file Fun4AllServer.cc.

References Subsystems.

PHCompositeNode * Fun4AllServer::getNode ( const char *  name,
const char *  topnodename = "TOP" 
)

Definition at line 1244 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)
void Fun4AllServer::GetOutputManagerList ( std::vector< std::string > &  names) const

Definition at line 1548 of file Fun4AllServer.cc.

References OutputManager.

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

Definition at line 324 of file Fun4AllServer.cc.

References Subsystems, Fun4AllBase::verbosity, and Fun4AllBase::VERBOSITY_EVEN_MORE.

Referenced by DisplayOn(), get_gun(), OnlMonServer::HandleConnection(), matscan(), EventDispUI::ReqEvtID(), EventDispUI::ReqTrig(), EventDispUI::View3D(), EventDispUI::ViewSide(), and EventDispUI::ViewTop().

+ Here is the caller graph for this function:

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

Definition at line 1590 of file Fun4AllServer.cc.

References defaultSyncManager, and SyncManagers.

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

Definition at line 1538 of file Fun4AllServer.cc.

References topnodemap.

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

Definition at line 1172 of file Fun4AllServer.cc.

References Fun4AllBase::ThisName.

void Fun4AllServer::InitAll ( )

Definition at line 125 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 1194 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 ( )
static

Definition at line 43 of file Fun4AllServer.cc.

Referenced by Fun4AllSyncManager::CurrentEvent(), DisplayOn(), PHG4GDMLUtility::Dump_GDML(), Fun4AllSRawEventInputManager::enable_E1039_translation(), EventDisplay4Sim(), Fun4AllDstInputManager::fileopen(), Fun4All_EventDisplay(), Fun4All_ExportGeom(), Fun4All_G4_BNL(), Fun4All_G4_BNL_R1(), Fun4All_G4_E1039(), Fun4All_G4_E1039_R1(), Fun4All_G4_E1039_R2(), Fun4All_G4_E1039_R2_V2(), Fun4All_ImportGeom(), Fun4All_Test(), Fun4AllEVIOInputManager::Fun4AllEVIOInputManager(), Fun4AllHepMCInputManager::Fun4AllHepMCInputManager(), Fun4AllOscarInputManager::Fun4AllOscarInputManager(), Fun4AllPrdfInputManager::Fun4AllPrdfInputManager(), Fun4AllSRawEventInputManager::Fun4AllSRawEventInputManager(), Fun4CODA(), Fun4DQ(), Fun4DST(), Fun4DumpGeom(), Fun4E1039Shielding(), Fun4EMCal(), Fun4HodoAccGap(), Fun4MultiRealDst(), Fun4PatternDB(), Fun4Pythia8Demo(), Fun4RealDst(), Fun4Sim(), Fun4Sim_TrkQA(), Fun4SimDst(), Fun4SimMicroDst(), Fun4SRawEvent(), Fun4TrkDev(), get_gun(), PHFieldUtility::GetFieldConfigNode(), PHFieldUtility::GetFieldMapNode(), PHG4CylinderCellTPCReco::Init(), InitInput(), int_run(), matscan(), EventDispUI::MoveEvent(), EventDispUI::NextEvent(), EventDispUI::OpenRunFile(), PHEveDisplay::PHEveDisplay(), PHGeom_DSTInspection(), EventDispUI::PrevEvent(), RecoE1039Data(), RecoE1039Sim(), RecoE906Data(), Fun4AllInputManager::registerSubsystem(), registerSubsystem(), Fun4AllInputManager::RejectEvent(), EventDispUI::ReqEvtID(), EventDispUI::ReqTrig(), run(), splitDST(), EventDispUI::View3D(), EventDispUI::ViewSide(), EventDispUI::ViewTop(), Fun4AllSpillDstOutputManager::Write(), Fun4AllDstOutputManager::Write(), Fun4AllEventOutputManager::Write(), and Fun4AllFileOutStream::WriteEventOut().

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

Definition at line 175 of file Fun4AllServer.cc.

References Fun4AllHistoManager::isHistoRegistered(), and ServerHistoManager.

+ Here is the call graph for this function:

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

Definition at line 104 of file Fun4AllServer.h.

References keep_db_connected.

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

Definition at line 33 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 918 of file Fun4AllServer.cc.

References PHNodeIterator::ls().

Referenced by Fun4AllDstOutputManager::Write().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int Fun4AllServer::MakeNodesTransient ( PHCompositeNode startNode)

Definition at line 899 of file Fun4AllServer.cc.

References PHNodeIterator::ls().

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

+ 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 1627 of file Fun4AllServer.cc.

References PHObject::identify(), and TopNode.

+ Here is the call graph for this function:

int Fun4AllServer::outfileclose ( )

Definition at line 1178 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 1277 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
virtual

Print out some info about this module.

Parameters
whatcan be used to specify what to print exactly.

Reimplemented from Fun4AllBase.

Definition at line 1079 of file Fun4AllServer.cc.

References HistoManager, Fun4AllBase::Name(), OutputManager, Fun4AllHistoManager::Print(), Fun4AllOutputManager::Print(), PHNodeIterator::print(), Fun4AllSyncManager::Print(), Subsystems, SyncManagers, and topnodemap.

Referenced by BeginRun(), and PHEveDisplay::PHEveDisplay().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 1642 of file Fun4AllServer.cc.

References timer_map.

Referenced by Fun4CODA(), Fun4DQ(), Fun4DST(), Fun4E1039Shielding(), Fun4EMCal(), Fun4HodoAccGap(), Fun4PatternDB(), Fun4Sim(), Fun4Sim_TrkQA(), Fun4TrkDev(), RecoE1039Data(), RecoE1039Sim(), run(), and splitDST().

+ Here is the caller graph for this function:

int Fun4AllServer::process_event ( PHCompositeNode topNode)

Definition at line 496 of file Fun4AllServer.cc.

References process_event().

+ Here is the call graph for this function:

int Fun4AllServer::process_event ( )
virtual

Definition at line 502 of file Fun4AllServer.cc.

References Fun4AllReturnCodes::ABORTEVENT, Fun4AllReturnCodes::ABORTRUN, ComplaintList, CountOutNodes(), default_Tdirectory, Fun4AllReturnCodes::DISCARDEVENT, Fun4AllReturnCodes::EVENT_OK, PHNodeIterator::findFirst(), MakeNodesTransient(), Fun4AllBase::Name(), OutNodeCount, OutputManager, PHWHERE, PHNodeIterator::print(), Fun4AllSyncManager::ResetEvent(), ResetNodeTree(), RetCodes, retcodesmap, ScreamEveryEvent, Subsystems, SyncManagers, timer_map, TopNode, unregistersubsystem, unregisterSubsystemsNow(), Fun4AllBase::verbosity, Fun4AllBase::VERBOSITY_EVEN_MORE, and Fun4AllBase::VERBOSITY_MORE.

Referenced by process_event(), and run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 170 of file Fun4AllServer.cc.

References Fun4AllHistoManager::registerHisto(), and ServerHistoManager.

Referenced by PHG4CylinderCellTPCReco::Init(), and InitAll().

+ 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 165 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 460 of file Fun4AllServer.cc.

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

Referenced by InitAll(), and OnlMonClient::InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int Fun4AllServer::registerInputManager ( Fun4AllInputManager InManager)
int Fun4AllServer::registerOutputManager ( Fun4AllOutputManager manager)

Definition at line 359 of file Fun4AllServer.cc.

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

Referenced by Fun4All_G4_BNL(), Fun4All_G4_BNL_R1(), Fun4All_G4_E1039(), Fun4All_G4_E1039_R1(), Fun4All_G4_E1039_R2(), Fun4All_G4_E1039_R2_V2(), Fun4All_ImportGeom(), Fun4All_Test(), Fun4CODA(), Fun4DQ(), Fun4EMCal(), Fun4MainDaq(), Fun4MainDaqE906(), Fun4Pythia8Demo(), Fun4Sim(), Fun4SimDst(), Fun4SRawEvent(), Fun4TrkDev(), RecoE1039Data(), RecoE1039Sim(), RecoE906Data(), and splitDST().

+ 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" 
)
int Fun4AllServer::registerSyncManager ( Fun4AllSyncManager newmaster)

Definition at line 1570 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 725 of file Fun4AllServer.cc.

References HistoManager, Subsystems, Fun4AllBase::verbosity, and Fun4AllBase::VERBOSITY_EVEN_MORE.

Referenced by ~Fun4AllServer().

+ Here is the caller graph for this function:

int Fun4AllServer::ResetNodeTree ( )

Definition at line 702 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 101 of file Fun4AllServer.h.

References retcodesmap.

int Fun4AllServer::SegmentNumber ( )

Definition at line 1520 of file Fun4AllServer.cc.

References defaultSyncManager, and Fun4AllSyncManager::SegmentNumber().

Referenced by Fun4AllFileOutStream::WriteEventOut().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int Fun4AllServer::setBranches ( const char *  managername)

Definition at line 1487 of file Fun4AllServer.cc.

References SyncManagers.

int Fun4AllServer::setBranches ( )

Definition at line 1498 of file Fun4AllServer.cc.

References SyncManagers.

int Fun4AllServer::setRun ( const int  runnumber)
protected

Definition at line 1609 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 1442 of file Fun4AllServer.cc.

References SyncManagers.

Referenced by EventDispUI::MoveEvent(), and EventDispUI::PrevEvent().

+ Here is the caller graph for this function:

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

Definition at line 1207 of file Fun4AllServer.cc.

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

+ Here is the call graph for this function:

int Fun4AllServer::unregisterSubsystem ( SubsysReco subsystem)

Definition at line 269 of file Fun4AllServer.cc.

References DeleteSubsystems, and unregistersubsystem.

int Fun4AllServer::unregisterSubsystemsNow ( )
protected

Definition at line 277 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 379 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 = 0
staticprotected

Definition at line 115 of file Fun4AllServer.h.

Referenced by ~Fun4AllServer().

PHTimeStamp* Fun4AllServer::beginruntimestamp
protected

Definition at line 132 of file Fun4AllServer.h.

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

int Fun4AllServer::bortime_override
protected

Definition at line 117 of file Fun4AllServer.h.

Referenced by BeginRun(), and BeginRunTimeStamp().

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

Definition at line 122 of file Fun4AllServer.h.

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

std::string Fun4AllServer::default_Tdirectory
protected

Definition at line 133 of file Fun4AllServer.h.

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

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

Definition at line 125 of file Fun4AllServer.h.

Referenced by unregisterSubsystem(), and unregisterSubsystemsNow().

int Fun4AllServer::eventnumber
protected

Definition at line 121 of file Fun4AllServer.h.

Referenced by EventNumber().

TH1* Fun4AllServer::FrameWorkVars
protected

Definition at line 138 of file Fun4AllServer.h.

Referenced by InitAll(), and setRun().

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

Definition at line 139 of file Fun4AllServer.h.

Referenced by BeginRun(), and KeepDBConnection().

int Fun4AllServer::OutNodeCount
protected

Definition at line 116 of file Fun4AllServer.h.

Referenced by process_event().

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

Definition at line 126 of file Fun4AllServer.h.

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

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

Definition at line 136 of file Fun4AllServer.h.

Referenced by process_event(), and retcodestats().

int Fun4AllServer::runnumber
protected

Definition at line 120 of file Fun4AllServer.h.

Referenced by run().

int Fun4AllServer::ScreamEveryEvent
protected

Definition at line 118 of file Fun4AllServer.h.

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

Fun4AllHistoManager* Fun4AllServer::ServerHistoManager
protected
std::vector<std::pair<SubsysReco *, PHCompositeNode *> > Fun4AllServer::Subsystems
protected
std::vector<TDirectory *> Fun4AllServer::TDirCollection
protected

Definition at line 128 of file Fun4AllServer.h.

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

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

Definition at line 137 of file Fun4AllServer.h.

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

PHCompositeNode* Fun4AllServer::TopNode
protected

Definition at line 123 of file Fun4AllServer.h.

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

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

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