ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/offline/framework/fun4all/Fun4AllInputManager.h>
Public Member Functions | |
~Fun4AllInputManager () override | |
virtual int | fileopen (const std::string &) |
virtual int | fileclose () |
virtual int | run (const int) |
virtual int | ReadInRunNode (PHCompositeNode *) |
std::string | FileName () const |
void | FileName (const std::string &fn) |
virtual int | GetSyncObject (SyncObject **) |
virtual int | SyncIt (const SyncObject *) |
virtual int | BranchSelect (const std::string &, const int) |
virtual int | setBranches () |
void | Print (const std::string &what="ALL") const override |
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) |
virtual int | ResetFileList () |
virtual int | ResetEvent () |
virtual void | SetRunNumber (const int runno) |
virtual int | RunNumber () const |
void | AddToFileOpened (const std::string &filename) |
std::pair< std::list < std::string > ::const_iterator, std::list < std::string > ::const_iterator > | FileOpenListBeginEnd () |
std::string | InputNode () |
void | InputNode (const std::string &innode) |
std::string | TopNodeName () const |
bool | FileListEmpty () const |
virtual int | IsOpen () const |
virtual int | SkipForThisManager (const int) |
virtual int | HasSyncObject () 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. | |
Protected Member Functions | |
Fun4AllInputManager (const std::string &name="DUMMY", const std::string &nodename="DST", const std::string &topnodename="TOP") | |
void | UpdateFileList () |
int | OpenNextFile () |
void | IsOpen (const int i) |
Fun4AllSyncManager * | MySyncManager () |
Protected Member Functions inherited from Fun4AllBase | |
Fun4AllBase (const std::string &name="NONAME") | |
Private Attributes | |
Fun4AllSyncManager * | m_MySyncManager |
int | m_IsOpen |
int | m_Repeat |
int | m_MyRunNumber |
int | m_InitRun |
std::vector< SubsysReco * > | m_SubsystemsVector |
std::string | m_InputNode |
std::string | m_FileName |
std::string | m_TopNodeName |
std::list< std::string > | m_FileList |
std::list< std::string > | m_FileListCopy |
std::list< std::string > | m_FileListOpened |
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 } |
Definition at line 20 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 20 of file Fun4AllInputManager.h
|
override |
Definition at line 29 of file Fun4AllInputManager.cc.
View newest version in sPHENIX GitHub at line 29 of file Fun4AllInputManager.cc
References m_SubsystemsVector, and Fun4AllBase::Verbosity().
|
protected |
Definition at line 16 of file Fun4AllInputManager.cc.
View newest version in sPHENIX GitHub at line 16 of file Fun4AllInputManager.cc
int Fun4AllInputManager::AddFile | ( | const std::string & | filename | ) |
Definition at line 42 of file Fun4AllInputManager.cc.
View newest version in sPHENIX GitHub at line 42 of file Fun4AllInputManager.cc
References m_FileList, m_FileListCopy, Fun4AllBase::Name(), and Fun4AllBase::Verbosity().
Referenced by AddListFile(), and InputManagers().
Definition at line 54 of file Fun4AllInputManager.cc.
View newest version in sPHENIX GitHub at line 54 of file Fun4AllInputManager.cc
References AddFile(), Acts::concept::exists, in, PHWHERE, and Fun4AllBase::Verbosity().
Referenced by dst_eventeval(), Fun4All_G4_Pi0_Tbt(), Fun4All_G4_SlopeCal(), and InputManagers().
|
inline |
Definition at line 50 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 50 of file Fun4AllInputManager.h
References m_FileListOpened.
Referenced by Fun4AllDstInputManager::fileopen(), Fun4AllPrdfInputManager::fileopen(), Fun4AllOscarInputManager::fileopen(), Fun4AllHepMCInputManager::fileopen(), Fun4AllDstPileupInputManager::fileopen(), and Fun4AllSingleDstPileupInputManager::fileopen().
Reimplemented in Fun4AllDstPileupInputManager, Fun4AllSingleDstPileupInputManager, and Fun4AllDstInputManager.
Definition at line 32 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 32 of file Fun4AllInputManager.h
|
inlinevirtual |
Reimplemented in Fun4AllDstPileupInputManager, Fun4AllSingleDstPileupInputManager, Fun4AllHepMCInputManager, Fun4AllOscarInputManager, Fun4AllDstInputManager, Fun4AllDummyInputManager, and Fun4AllPrdfInputManager.
Definition at line 25 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 25 of file Fun4AllInputManager.h
|
inline |
Definition at line 55 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 55 of file Fun4AllInputManager.h
References m_FileList.
Referenced by Fun4AllDstInputManager::run(), Fun4AllPrdfInputManager::run(), Fun4AllHepMCPileupInputManager::run(), Fun4AllOscarInputManager::run(), Fun4AllHepMCInputManager::run(), Fun4AllSingleDstPileupInputManager::run(), and Fun4AllDstPileupInputManager::runOne().
|
inline |
Definition at line 28 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 28 of file Fun4AllInputManager.h
References m_FileName.
Referenced by Fun4AllDstInputManager::fileopen(), Fun4AllPrdfInputManager::fileopen(), Fun4AllDstPileupInputManager::fileopen(), Fun4AllSingleDstPileupInputManager::fileopen(), and Fun4AllDummyInputManager::Fun4AllDummyInputManager().
|
inline |
Definition at line 29 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 29 of file Fun4AllInputManager.h
References m_FileName.
|
inlinevirtual |
Reimplemented in Fun4AllDstPileupInputManager, Fun4AllSingleDstPileupInputManager, Fun4AllHepMCInputManager, Fun4AllOscarInputManager, Fun4AllDstInputManager, Fun4AllDummyInputManager, and Fun4AllPrdfInputManager.
Definition at line 24 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 24 of file Fun4AllInputManager.h
Referenced by Fun4All_CaloAna(), Fun4All_ExportGeom(), Fun4All_G4_Clusters(), Fun4All_JetAna(), G4TTree(), InputManagers(), MyHitTTree(), OpenNextFile(), PHGeom_DSTInspection(), and ReadFieldMap().
|
inline |
Definition at line 51 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 51 of file Fun4AllInputManager.h
References m_FileListOpened.
|
inlinevirtual |
Reimplemented in Fun4AllHepMCInputManager, Fun4AllDstPileupInputManager, Fun4AllSingleDstPileupInputManager, Fun4AllOscarInputManager, Fun4AllPrdfInputManager, Fun4AllNoSyncDstInputManager, Fun4AllDummyInputManager, and Fun4AllDstInputManager.
Definition at line 30 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 30 of file Fun4AllInputManager.h
|
inlinevirtual |
Reimplemented in Fun4AllNoSyncDstInputManager, Fun4AllDstInputManager, and Fun4AllPrdfInputManager.
Definition at line 58 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 58 of file Fun4AllInputManager.h
|
inline |
Definition at line 52 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 52 of file Fun4AllInputManager.h
References m_InputNode.
Referenced by Fun4AllDstInputManager::fileopen(), Fun4AllDstPileupInputManager::fileopen(), Fun4AllSingleDstPileupInputManager::fileopen(), Fun4AllHepMCInputManager::Fun4AllHepMCInputManager(), Fun4AllOscarInputManager::Fun4AllOscarInputManager(), and Fun4AllDstPileupInputManager::run().
|
inline |
Definition at line 53 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 53 of file Fun4AllInputManager.h
References m_InputNode.
|
inlinevirtual |
Reimplemented in Fun4AllDummyInputManager.
Definition at line 56 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 56 of file Fun4AllInputManager.h
References m_IsOpen.
Referenced by Fun4AllDstInputManager::BranchSelect(), Fun4AllPrdfInputManager::fileclose(), Fun4AllDstInputManager::fileclose(), Fun4AllOscarInputManager::fileclose(), Fun4AllHepMCInputManager::fileclose(), Fun4AllDstPileupInputManager::fileclose(), Fun4AllSingleDstPileupInputManager::fileclose(), Fun4AllPrdfInputManager::fileopen(), Fun4AllDstInputManager::fileopen(), Fun4AllOscarInputManager::fileopen(), Fun4AllHepMCInputManager::fileopen(), Fun4AllDstPileupInputManager::fileopen(), Fun4AllSingleDstPileupInputManager::fileopen(), Fun4AllDstInputManager::HasSyncObject(), Fun4AllNoSyncDstInputManager::NoRunTTree(), Fun4AllHepMCInputManager::PushBackEvents(), Fun4AllPrdfInputManager::run(), Fun4AllDstInputManager::run(), Fun4AllHepMCPileupInputManager::run(), Fun4AllOscarInputManager::run(), Fun4AllHepMCInputManager::run(), Fun4AllSingleDstPileupInputManager::run(), Fun4AllDstPileupInputManager::runOne(), and Fun4AllPrdfInputManager::~Fun4AllPrdfInputManager().
Definition at line 64 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 64 of file Fun4AllInputManager.h
References m_IsOpen.
|
inlineprotected |
Definition at line 65 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 65 of file Fun4AllInputManager.h
References m_MySyncManager.
Referenced by Fun4AllOscarInputManager::fileopen(), Fun4AllHepMCInputManager::fileopen(), Fun4AllPrdfInputManager::run(), Fun4AllDummyInputManager::run(), Fun4AllHepMCInputManager::run(), and Fun4AllDummyInputManager::setSyncManager().
Reimplemented in Fun4AllHepMCInputManager, Fun4AllDstPileupInputManager, Fun4AllSingleDstPileupInputManager, Fun4AllOscarInputManager, Fun4AllDummyInputManager, and Fun4AllNoSyncDstInputManager.
Definition at line 39 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 39 of file Fun4AllInputManager.h
|
protected |
Definition at line 214 of file Fun4AllInputManager.cc.
View newest version in sPHENIX GitHub at line 214 of file Fun4AllInputManager.cc
References fileopen(), m_FileList, PHWHERE, and Fun4AllBase::Verbosity().
Referenced by Fun4AllDstInputManager::ReadNextEventSyncObject(), Fun4AllDstInputManager::run(), Fun4AllPrdfInputManager::run(), Fun4AllHepMCPileupInputManager::run(), Fun4AllOscarInputManager::run(), Fun4AllHepMCInputManager::run(), Fun4AllSingleDstPileupInputManager::run(), and Fun4AllDstPileupInputManager::runOne().
|
overridevirtual |
Print out some info about this module.
what | can be used to specify what to print exactly. |
Reimplemented from Fun4AllBase.
Reimplemented in Fun4AllDstPileupInputManager, Fun4AllSingleDstPileupInputManager, and Fun4AllPrdfInputManager.
Definition at line 113 of file Fun4AllInputManager.cc.
View newest version in sPHENIX GitHub at line 113 of file Fun4AllInputManager.cc
References file, m_FileList, m_SubsystemsVector, and Fun4AllBase::Name().
Referenced by Fun4AllPrdfInputManager::Print(), Fun4AllDstInputManager::Print(), Fun4AllOscarInputManager::Print(), Fun4AllHepMCInputManager::Print(), Fun4AllDstPileupInputManager::Print(), and Fun4AllSingleDstPileupInputManager::Print().
Reimplemented in Fun4AllHepMCPileupInputManager, Fun4AllDstPileupInputManager, Fun4AllSingleDstPileupInputManager, Fun4AllHepMCInputManager, Fun4AllOscarInputManager, Fun4AllDstInputManager, Fun4AllDummyInputManager, and Fun4AllPrdfInputManager.
Definition at line 35 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 35 of file Fun4AllInputManager.h
Referenced by skip().
|
inlinevirtual |
Definition at line 27 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 27 of file Fun4AllInputManager.h
int Fun4AllInputManager::registerSubsystem | ( | SubsysReco * | subsystem | ) |
Definition at line 142 of file Fun4AllInputManager.cc.
View newest version in sPHENIX GitHub at line 142 of file Fun4AllInputManager.cc
References SubsysReco::Init(), Fun4AllServer::instance(), m_SubsystemsVector, m_TopNodeName, Fun4AllBase::Name(), PHWHERE, Fun4AllServer::topNode(), and Fun4AllBase::Verbosity().
|
virtual |
Definition at line 160 of file Fun4AllInputManager.cc.
View newest version in sPHENIX GitHub at line 160 of file Fun4AllInputManager.cc
References Fun4AllReturnCodes::DISCARDEVENT, Fun4AllReturnCodes::EVENT_OK, Fun4AllServer::instance(), m_InitRun, m_SubsystemsVector, m_TopNodeName, Fun4AllBase::Name(), Fun4AllServer::topNode(), and Fun4AllBase::Verbosity().
Referenced by Fun4AllDstInputManager::run(), Fun4AllPrdfInputManager::run(), Fun4AllHepMCPileupInputManager::run(), Fun4AllOscarInputManager::run(), Fun4AllHepMCInputManager::run(), Fun4AllSingleDstPileupInputManager::run(), and Fun4AllDstPileupInputManager::runOne().
Definition at line 44 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 44 of file Fun4AllInputManager.h
References m_Repeat.
Referenced by Fun4AllHepMCPileupInputManager::Fun4AllHepMCPileupInputManager(), and InputManagers().
|
inlinevirtual |
Reimplemented in Fun4AllHepMCInputManager, Fun4AllOscarInputManager, Fun4AllHepMCPileupInputManager, and Fun4AllPrdfInputManager.
Definition at line 47 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 47 of file Fun4AllInputManager.h
|
virtual |
Reimplemented in Fun4AllDummyInputManager.
Definition at line 185 of file Fun4AllInputManager.cc.
View newest version in sPHENIX GitHub at line 185 of file Fun4AllInputManager.cc
References m_FileList, m_FileListCopy, and Fun4AllBase::Name().
Reimplemented in Fun4AllDstPileupInputManager, Fun4AllSingleDstPileupInputManager, Fun4AllHepMCInputManager, Fun4AllOscarInputManager, Fun4AllDummyInputManager, Fun4AllHepMCPileupInputManager, Fun4AllDstInputManager, and Fun4AllPrdfInputManager.
Definition at line 26 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 26 of file Fun4AllInputManager.h
|
inlinevirtual |
Definition at line 49 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 49 of file Fun4AllInputManager.h
References m_MyRunNumber.
|
inlinevirtual |
Reimplemented in Fun4AllDstPileupInputManager, Fun4AllSingleDstPileupInputManager, and Fun4AllDstInputManager.
Definition at line 33 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 33 of file Fun4AllInputManager.h
Definition at line 48 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 48 of file Fun4AllInputManager.h
References m_MyRunNumber.
Referenced by Fun4AllDstInputManager::fileopen(), Fun4AllSingleDstPileupInputManager::fileopen(), Fun4AllDstPileupInputManager::fileopen(), and Fun4AllPrdfInputManager::run().
|
inlinevirtual |
Reimplemented in Fun4AllDummyInputManager.
Definition at line 45 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 45 of file Fun4AllInputManager.h
References m_MySyncManager.
Referenced by Fun4AllSyncManager::registerInputManager(), and Fun4AllDummyInputManager::setSyncManager().
Reimplemented in Fun4AllOscarInputManager.
Definition at line 38 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 38 of file Fun4AllInputManager.h
References PushBackEvents().
Reimplemented in Fun4AllHepMCInputManager, Fun4AllHepMCPileupInputManager, and Fun4AllNoSyncDstInputManager.
Definition at line 57 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 57 of file Fun4AllInputManager.h
|
inlinevirtual |
Reimplemented in Fun4AllHepMCInputManager, Fun4AllDstPileupInputManager, Fun4AllSingleDstPileupInputManager, Fun4AllOscarInputManager, Fun4AllPrdfInputManager, Fun4AllDummyInputManager, Fun4AllDstInputManager, and Fun4AllNoSyncDstInputManager.
Definition at line 31 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 31 of file Fun4AllInputManager.h
References Fun4AllReturnCodes::SYNC_FAIL.
|
inline |
Definition at line 54 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 54 of file Fun4AllInputManager.h
References m_TopNodeName.
Referenced by Fun4AllDstInputManager::fileopen(), Fun4AllSingleDstPileupInputManager::fileopen(), Fun4AllDstPileupInputManager::fileopen(), Fun4AllPrdfInputManager::Fun4AllPrdfInputManager(), and Fun4AllDstPileupInputManager::run().
|
protected |
Definition at line 197 of file Fun4AllInputManager.cc.
View newest version in sPHENIX GitHub at line 197 of file Fun4AllInputManager.cc
References m_FileList, and m_Repeat.
Referenced by Fun4AllDstInputManager::fileclose(), Fun4AllPrdfInputManager::fileclose(), Fun4AllOscarInputManager::fileclose(), Fun4AllHepMCInputManager::fileclose(), Fun4AllDstPileupInputManager::fileclose(), and Fun4AllSingleDstPileupInputManager::fileclose().
|
private |
Definition at line 77 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 77 of file Fun4AllInputManager.h
Referenced by AddFile(), FileListEmpty(), OpenNextFile(), Print(), ResetFileList(), and UpdateFileList().
|
private |
Definition at line 78 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 78 of file Fun4AllInputManager.h
Referenced by AddFile(), and ResetFileList().
|
private |
Definition at line 79 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 79 of file Fun4AllInputManager.h
Referenced by AddToFileOpened(), and FileOpenListBeginEnd().
|
private |
Definition at line 75 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 75 of file Fun4AllInputManager.h
Referenced by FileName().
|
private |
Definition at line 72 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 72 of file Fun4AllInputManager.h
Referenced by RejectEvent().
|
private |
Definition at line 74 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 74 of file Fun4AllInputManager.h
Referenced by InputNode().
|
private |
Definition at line 69 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 69 of file Fun4AllInputManager.h
Referenced by IsOpen().
|
private |
Definition at line 71 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 71 of file Fun4AllInputManager.h
Referenced by RunNumber(), and SetRunNumber().
|
private |
Definition at line 68 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 68 of file Fun4AllInputManager.h
Referenced by MySyncManager(), and setSyncManager().
|
private |
Definition at line 70 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 70 of file Fun4AllInputManager.h
Referenced by Repeat(), and UpdateFileList().
|
private |
Definition at line 73 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 73 of file Fun4AllInputManager.h
Referenced by Print(), registerSubsystem(), RejectEvent(), and ~Fun4AllInputManager().
|
private |
Definition at line 76 of file Fun4AllInputManager.h.
View newest version in sPHENIX GitHub at line 76 of file Fun4AllInputManager.h
Referenced by registerSubsystem(), RejectEvent(), and TopNodeName().