Class Reference for E1039 Core & Analysis Software
|
#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/framework/fun4all/Fun4AllInputManager.h>
Public Member Functions | |
virtual | ~Fun4AllInputManager () |
virtual int | fileopen (const std::string &) |
virtual int | fileclose () |
virtual int | isOpen () |
virtual int | run (const int) |
virtual int | ReadInRunNode (PHCompositeNode *) |
virtual std::string | Filename () |
virtual int | GetSyncObject (SyncObject **) |
virtual int | SyncIt (const SyncObject *) |
virtual int | BranchSelect (const std::string &, const int) |
virtual int | setBranches () |
virtual void | Print (const std::string &what="ALL") const |
virtual int | PushBackEvents (const int) |
virtual int | skip (const int nevt) |
virtual int | NoSyncPushBackEvents (const int) |
int | AddFile (const std::string &filename) |
int | AddListFile (const std::string &filename, const int do_it=0) |
int | registerSubsystem (SubsysReco *subsystem) |
virtual int | RejectEvent () |
void | Repeat (const int i=-1) |
virtual void | setSyncManager (Fun4AllSyncManager *master) |
int | ResetFileList () |
virtual int | ResetEvent () |
virtual void | SetRunNumber (const int runno) |
virtual int | RunNumber () const |
void | AddToFileOpened (const std::string &filename) |
const std::list< std::string > | GetFileList () const |
const std::list< std::string > | GetFileOpenedList () const |
![]() | |
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... | |
Protected Member Functions | |
Fun4AllInputManager (const std::string &name="DUMMY", const std::string &nodename="DST", const std::string &topnodename="TOP") | |
![]() | |
Fun4AllBase (const std::string &name="NONAME") | |
Protected Attributes | |
std::vector< SubsysReco * > | Subsystems |
std::string | InputNode |
std::string | filename |
std::string | topNodeName |
std::list< std::string > | filelist |
std::list< std::string > | filelist_copy |
std::list< std::string > | filelist_opened |
Fun4AllSyncManager * | mySyncManager |
int | repeat |
int | myrunnumber |
int | initrun |
![]() | |
std::string | ThisName |
int | verbosity |
The verbosity level. 0 means not verbose at all. More... | |
Additional Inherited Members | |
![]() | |
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 } |
Definition at line 16 of file Fun4AllInputManager.h.
|
virtual |
Definition at line 25 of file Fun4AllInputManager.cc.
References Subsystems, and Fun4AllBase::verbosity.
|
protected |
Definition at line 13 of file Fun4AllInputManager.cc.
int Fun4AllInputManager::AddFile | ( | const std::string & | filename | ) |
Definition at line 38 of file Fun4AllInputManager.cc.
References filelist, filelist_copy, filename, Fun4AllBase::Name(), and Fun4AllBase::verbosity.
Referenced by AddListFile().
int Fun4AllInputManager::AddListFile | ( | const std::string & | filename, |
const int | do_it = 0 |
||
) |
Definition at line 50 of file Fun4AllInputManager.cc.
References AddFile(), filename, PHWHERE, and Fun4AllBase::verbosity.
|
inline |
Definition at line 46 of file Fun4AllInputManager.h.
References filelist_opened, and filename.
Referenced by Fun4AllHitMatrixInputManager::fileopen(), Fun4AllTrackQAv1InputManager::fileopen(), Fun4AllDstInputManager::fileopen(), Fun4AllPrdfInputManager::fileopen(), Fun4AllHepMCInputManager::fileopen(), Fun4AllOscarInputManager::fileopen(), Fun4AllEVIOInputManager::fileopen(), Fun4AllSRawEventInputManager::fileopen(), Fun4AllVectEventInputManager::fileopen(), and Fun4AllRUSInputManager::fileopen().
|
inlinevirtual |
Reimplemented in Fun4AllDstInputManager.
Definition at line 28 of file Fun4AllInputManager.h.
Referenced by Fun4AllSyncManager::BranchSelect().
|
inlinevirtual |
Reimplemented in Fun4AllRUSInputManager, Fun4AllSRawEventInputManager, Fun4AllEVIOInputManager, Fun4AllOscarInputManager, Fun4AllHepMCInputManager, Fun4AllPrdfInputManager, Fun4AllDummyInputManager, Fun4AllDstInputManager, Fun4AllVectEventInputManager, Fun4AllTrackQAv1InputManager, and Fun4AllHitMatrixInputManager.
Definition at line 21 of file Fun4AllInputManager.h.
Referenced by Fun4AllSyncManager::fileclose().
|
inlinevirtual |
Definition at line 25 of file Fun4AllInputManager.h.
References filename.
|
inlinevirtual |
Reimplemented in Fun4AllRUSInputManager, Fun4AllVectEventInputManager, Fun4AllSRawEventInputManager, Fun4AllEVIOInputManager, Fun4AllOscarInputManager, Fun4AllHepMCInputManager, Fun4AllPrdfInputManager, Fun4AllDstInputManager, Fun4AllTrackQAv1InputManager, Fun4AllHitMatrixInputManager, and Fun4AllDummyInputManager.
Definition at line 20 of file Fun4AllInputManager.h.
Referenced by Fun4AllSyncManager::fileopen().
|
inline |
Definition at line 47 of file Fun4AllInputManager.h.
References filelist_copy.
|
inline |
Definition at line 48 of file Fun4AllInputManager.h.
References filelist_opened.
|
inlinevirtual |
Reimplemented in Fun4AllRUSInputManager, Fun4AllSRawEventInputManager, Fun4AllEVIOInputManager, Fun4AllPrdfInputManager, Fun4AllDstInputManager, Fun4AllVectEventInputManager, Fun4AllTrackQAv1InputManager, Fun4AllHitMatrixInputManager, Fun4AllOscarInputManager, Fun4AllHepMCInputManager, Fun4AllNoSyncDstInputManager, and Fun4AllDummyInputManager.
Definition at line 26 of file Fun4AllInputManager.h.
|
inlinevirtual |
Reimplemented in Fun4AllRUSInputManager, Fun4AllSRawEventInputManager, Fun4AllEVIOInputManager, Fun4AllOscarInputManager, Fun4AllHepMCInputManager, Fun4AllPrdfInputManager, Fun4AllDummyInputManager, Fun4AllDstInputManager, Fun4AllVectEventInputManager, Fun4AllTrackQAv1InputManager, and Fun4AllHitMatrixInputManager.
Definition at line 22 of file Fun4AllInputManager.h.
|
inlinevirtual |
Reimplemented in Fun4AllOscarInputManager, Fun4AllHepMCInputManager, and Fun4AllNoSyncDstInputManager.
Definition at line 35 of file Fun4AllInputManager.h.
|
virtual |
Print out some info about this module.
what | can be used to specify what to print exactly. |
Reimplemented from Fun4AllBase.
Reimplemented in Fun4AllRUSInputManager, Fun4AllSRawEventInputManager, Fun4AllEVIOInputManager, Fun4AllOscarInputManager, Fun4AllHepMCInputManager, Fun4AllPrdfInputManager, Fun4AllDstInputManager, Fun4AllVectEventInputManager, Fun4AllTrackQAv1InputManager, and Fun4AllHitMatrixInputManager.
Definition at line 109 of file Fun4AllInputManager.cc.
References filelist, Fun4AllBase::Name(), and Subsystems.
Referenced by Fun4AllHitMatrixInputManager::Print(), Fun4AllTrackQAv1InputManager::Print(), Fun4AllVectEventInputManager::Print(), Fun4AllDstInputManager::Print(), Fun4AllPrdfInputManager::Print(), Fun4AllHepMCInputManager::Print(), Fun4AllOscarInputManager::Print(), Fun4AllEVIOInputManager::Print(), Fun4AllSRawEventInputManager::Print(), and Fun4AllRUSInputManager::Print().
|
inlinevirtual |
Reimplemented in Fun4AllDummyInputManager, Fun4AllRUSInputManager, Fun4AllSRawEventInputManager, Fun4AllEVIOInputManager, Fun4AllOscarInputManager, Fun4AllHepMCInputManager, Fun4AllPrdfInputManager, Fun4AllDstInputManager, Fun4AllVectEventInputManager, Fun4AllTrackQAv1InputManager, and Fun4AllHitMatrixInputManager.
Definition at line 31 of file Fun4AllInputManager.h.
Referenced by Fun4AllSyncManager::PushBackInputMgrsEvents(), and skip().
|
inlinevirtual |
Definition at line 24 of file Fun4AllInputManager.h.
int Fun4AllInputManager::registerSubsystem | ( | SubsysReco * | subsystem | ) |
Definition at line 140 of file Fun4AllInputManager.cc.
References SubsysReco::Init(), Fun4AllServer::instance(), Fun4AllBase::Name(), PHWHERE, Subsystems, Fun4AllServer::topNode(), topNodeName, and Fun4AllBase::verbosity.
|
virtual |
Definition at line 158 of file Fun4AllInputManager.cc.
References Fun4AllReturnCodes::DISCARDEVENT, Fun4AllReturnCodes::EVENT_OK, initrun, Fun4AllServer::instance(), Fun4AllBase::Name(), Subsystems, Fun4AllServer::topNode(), topNodeName, and Fun4AllBase::verbosity.
Referenced by Fun4AllHitMatrixInputManager::run(), Fun4AllTrackQAv1InputManager::run(), Fun4AllVectEventInputManager::run(), Fun4AllDstInputManager::run(), Fun4AllPrdfInputManager::run(), Fun4AllHepMCInputManager::run(), Fun4AllHepMCPileupInputManager::run(), Fun4AllOscarInputManager::run(), Fun4AllEVIOInputManager::run(), Fun4AllSRawEventInputManager::run(), and Fun4AllRUSInputManager::run().
|
inline |
Definition at line 40 of file Fun4AllInputManager.h.
References repeat.
Referenced by Fun4AllHepMCPileupInputManager::Fun4AllHepMCPileupInputManager().
|
inlinevirtual |
Reimplemented in Fun4AllRUSInputManager, Fun4AllSRawEventInputManager, Fun4AllEVIOInputManager, Fun4AllOscarInputManager, Fun4AllPrdfInputManager, Fun4AllVectEventInputManager, Fun4AllTrackQAv1InputManager, and Fun4AllHitMatrixInputManager.
Definition at line 43 of file Fun4AllInputManager.h.
Referenced by Fun4AllSyncManager::ResetEvent(), Fun4AllHepMCInputManager::run(), and Fun4AllHepMCPileupInputManager::run().
int Fun4AllInputManager::ResetFileList | ( | ) |
Definition at line 184 of file Fun4AllInputManager.cc.
References filelist, filelist_copy, and Fun4AllBase::Name().
|
inlinevirtual |
Reimplemented in Fun4AllDummyInputManager, Fun4AllRUSInputManager, Fun4AllSRawEventInputManager, Fun4AllEVIOInputManager, Fun4AllOscarInputManager, Fun4AllHepMCPileupInputManager, Fun4AllHepMCInputManager, Fun4AllPrdfInputManager, Fun4AllDstInputManager, Fun4AllVectEventInputManager, Fun4AllTrackQAv1InputManager, and Fun4AllHitMatrixInputManager.
Definition at line 23 of file Fun4AllInputManager.h.
|
inlinevirtual |
Definition at line 45 of file Fun4AllInputManager.h.
References myrunnumber.
Referenced by Fun4AllSyncManager::run().
|
inlinevirtual |
Reimplemented in Fun4AllDstInputManager.
Definition at line 29 of file Fun4AllInputManager.h.
Referenced by Fun4AllSyncManager::setBranches().
|
inlinevirtual |
Definition at line 44 of file Fun4AllInputManager.h.
References myrunnumber.
Referenced by Fun4AllDstInputManager::fileopen(), Fun4AllHitMatrixInputManager::run(), Fun4AllTrackQAv1InputManager::run(), Fun4AllVectEventInputManager::run(), Fun4AllPrdfInputManager::run(), Fun4AllEVIOInputManager::run(), Fun4AllSRawEventInputManager::run(), and Fun4AllRUSInputManager::run().
|
inlinevirtual |
Reimplemented in Fun4AllDummyInputManager.
Definition at line 41 of file Fun4AllInputManager.h.
References mySyncManager.
Referenced by Fun4AllSyncManager::registerInputManager(), and Fun4AllDummyInputManager::setSyncManager().
|
inlinevirtual |
Reimplemented in Fun4AllOscarInputManager.
Definition at line 34 of file Fun4AllInputManager.h.
References PushBackEvents().
|
inlinevirtual |
Reimplemented in Fun4AllRUSInputManager, Fun4AllSRawEventInputManager, Fun4AllEVIOInputManager, Fun4AllPrdfInputManager, Fun4AllDstInputManager, Fun4AllVectEventInputManager, Fun4AllTrackQAv1InputManager, Fun4AllHitMatrixInputManager, Fun4AllOscarInputManager, Fun4AllHepMCInputManager, Fun4AllNoSyncDstInputManager, and Fun4AllDummyInputManager.
Definition at line 27 of file Fun4AllInputManager.h.
References Fun4AllReturnCodes::SYNC_FAIL.
|
protected |
Definition at line 55 of file Fun4AllInputManager.h.
Referenced by AddFile(), Fun4AllHitMatrixInputManager::fileclose(), Fun4AllTrackQAv1InputManager::fileclose(), Fun4AllVectEventInputManager::fileclose(), Fun4AllDstInputManager::fileclose(), Fun4AllPrdfInputManager::fileclose(), Fun4AllHepMCInputManager::fileclose(), Fun4AllOscarInputManager::fileclose(), Fun4AllEVIOInputManager::fileclose(), Fun4AllSRawEventInputManager::fileclose(), Fun4AllRUSInputManager::fileclose(), Fun4AllHitMatrixInputManager::OpenNextFile(), Fun4AllTrackQAv1InputManager::OpenNextFile(), Fun4AllVectEventInputManager::OpenNextFile(), Fun4AllDstInputManager::OpenNextFile(), Fun4AllPrdfInputManager::OpenNextFile(), Fun4AllHepMCInputManager::OpenNextFile(), Fun4AllOscarInputManager::OpenNextFile(), Fun4AllEVIOInputManager::OpenNextFile(), Fun4AllSRawEventInputManager::OpenNextFile(), Fun4AllRUSInputManager::OpenNextFile(), Print(), ResetFileList(), Fun4AllHitMatrixInputManager::run(), Fun4AllTrackQAv1InputManager::run(), Fun4AllVectEventInputManager::run(), Fun4AllDstInputManager::run(), Fun4AllPrdfInputManager::run(), Fun4AllHepMCInputManager::run(), Fun4AllHepMCPileupInputManager::run(), Fun4AllOscarInputManager::run(), Fun4AllEVIOInputManager::run(), Fun4AllSRawEventInputManager::run(), and Fun4AllRUSInputManager::run().
|
protected |
Definition at line 56 of file Fun4AllInputManager.h.
Referenced by AddFile(), GetFileList(), and ResetFileList().
|
protected |
Definition at line 57 of file Fun4AllInputManager.h.
Referenced by AddToFileOpened(), and GetFileOpenedList().
|
protected |
Definition at line 53 of file Fun4AllInputManager.h.
Referenced by AddFile(), AddListFile(), AddToFileOpened(), Filename(), Fun4AllHitMatrixInputManager::fileopen(), Fun4AllTrackQAv1InputManager::fileopen(), Fun4AllDstInputManager::fileopen(), Fun4AllPrdfInputManager::fileopen(), Fun4AllEVIOInputManager::fileopen(), Fun4AllSRawEventInputManager::fileopen(), Fun4AllVectEventInputManager::fileopen(), Fun4AllRUSInputManager::fileopen(), and Fun4AllDummyInputManager::Fun4AllDummyInputManager().
|
protected |
Definition at line 61 of file Fun4AllInputManager.h.
Referenced by RejectEvent().
|
protected |
Definition at line 52 of file Fun4AllInputManager.h.
Referenced by Fun4AllDstInputManager::fileopen(), Fun4AllHepMCInputManager::Fun4AllHepMCInputManager(), and Fun4AllOscarInputManager::Fun4AllOscarInputManager().
|
protected |
Definition at line 60 of file Fun4AllInputManager.h.
Referenced by RunNumber(), and SetRunNumber().
|
protected |
Definition at line 58 of file Fun4AllInputManager.h.
Referenced by Fun4AllHepMCInputManager::fileopen(), Fun4AllOscarInputManager::fileopen(), Fun4AllHitMatrixInputManager::run(), Fun4AllTrackQAv1InputManager::run(), Fun4AllVectEventInputManager::run(), Fun4AllPrdfInputManager::run(), Fun4AllHepMCInputManager::run(), Fun4AllHepMCPileupInputManager::run(), Fun4AllEVIOInputManager::run(), Fun4AllSRawEventInputManager::run(), Fun4AllRUSInputManager::run(), Fun4AllDummyInputManager::setSyncManager(), and setSyncManager().
|
protected |
Definition at line 59 of file Fun4AllInputManager.h.
Referenced by Fun4AllHitMatrixInputManager::fileclose(), Fun4AllTrackQAv1InputManager::fileclose(), Fun4AllVectEventInputManager::fileclose(), Fun4AllDstInputManager::fileclose(), Fun4AllPrdfInputManager::fileclose(), Fun4AllHepMCInputManager::fileclose(), Fun4AllOscarInputManager::fileclose(), Fun4AllEVIOInputManager::fileclose(), Fun4AllSRawEventInputManager::fileclose(), Fun4AllRUSInputManager::fileclose(), and Repeat().
|
protected |
Definition at line 51 of file Fun4AllInputManager.h.
Referenced by Print(), registerSubsystem(), RejectEvent(), and ~Fun4AllInputManager().
|
protected |
Definition at line 54 of file Fun4AllInputManager.h.
Referenced by Fun4AllDstInputManager::fileopen(), registerSubsystem(), and RejectEvent().