ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/offline/framework/fun4allraw/Fun4AllPrdfInputManager.h>
Public Member Functions | |
Fun4AllPrdfInputManager (const std::string &name="DUMMY", const std::string &prdfnodename="PRDF", const std::string &topnodename="TOP") | |
virtual | ~Fun4AllPrdfInputManager () |
int | fileopen (const std::string &filenam) |
int | fileclose () |
int | run (const int nevents=0) |
void | Print (const std::string &what="ALL") const |
int | ResetEvent () |
int | PushBackEvents (const int i) |
int | GetSyncObject (SyncObject **mastersync) |
int | SyncIt (const SyncObject *mastersync) |
int | HasSyncObject () const |
Public Member Functions inherited from Fun4AllInputManager | |
~Fun4AllInputManager () override | |
virtual int | ReadInRunNode (PHCompositeNode *) |
std::string | FileName () const |
void | FileName (const std::string &fn) |
virtual int | BranchSelect (const std::string &, const int) |
virtual int | setBranches () |
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 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) |
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. | |
Private Attributes | |
int | m_Segment |
int | m_EventsTotal |
int | m_EventsThisFile |
PHCompositeNode * | m_topNode |
Event * | m_Event |
Event * | m_SaveEvent |
Eventiterator * | m_EventIterator |
SyncObject * | m_SyncObject |
std::string | m_PrdfNodeName |
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 } |
Protected Member Functions inherited from Fun4AllInputManager | |
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 () |
Definition at line 15 of file Fun4AllPrdfInputManager.h.
View newest version in sPHENIX GitHub at line 15 of file Fun4AllPrdfInputManager.h
Fun4AllPrdfInputManager::Fun4AllPrdfInputManager | ( | const std::string & | name = "DUMMY" , |
const std::string & | prdfnodename = "PRDF" , |
||
const std::string & | topnodename = "TOP" |
||
) |
Definition at line 32 of file Fun4AllPrdfInputManager.cc.
View newest version in sPHENIX GitHub at line 32 of file Fun4AllPrdfInputManager.cc
References PHCompositeNode::addNode(), PHNodeIterator::findFirst(), Fun4AllServer::instance(), m_Event, m_PrdfNodeName, m_topNode, Fun4AllServer::topNode(), and Fun4AllInputManager::TopNodeName().
|
virtual |
Definition at line 55 of file Fun4AllPrdfInputManager.cc.
View newest version in sPHENIX GitHub at line 55 of file Fun4AllPrdfInputManager.cc
References fileclose(), Fun4AllInputManager::IsOpen(), and m_SyncObject.
|
virtual |
Reimplemented from Fun4AllInputManager.
Definition at line 167 of file Fun4AllPrdfInputManager.cc.
View newest version in sPHENIX GitHub at line 167 of file Fun4AllPrdfInputManager.cc
References Fun4AllInputManager::IsOpen(), m_EventIterator, Fun4AllBase::Name(), and Fun4AllInputManager::UpdateFileList().
Referenced by fileopen(), PushBackEvents(), run(), and ~Fun4AllPrdfInputManager().
|
virtual |
Reimplemented from Fun4AllInputManager.
Definition at line 64 of file Fun4AllPrdfInputManager.cc.
View newest version in sPHENIX GitHub at line 64 of file Fun4AllPrdfInputManager.cc
References Fun4AllInputManager::AddToFileOpened(), fileclose(), Fun4AllInputManager::FileName(), test::fname, Fun4AllUtils::GetRunSegment(), Fun4AllInputManager::IsOpen(), FROG::location(), m_EventIterator, m_EventsThisFile, m_Segment, Fun4AllBase::Name(), PHWHERE, and Fun4AllBase::Verbosity().
|
virtual |
Reimplemented from Fun4AllInputManager.
Definition at line 254 of file Fun4AllPrdfInputManager.cc.
View newest version in sPHENIX GitHub at line 254 of file Fun4AllPrdfInputManager.cc
References SyncObject::CloneMe(), m_SyncObject, and Fun4AllReturnCodes::SYNC_OK.
|
inlinevirtual |
Reimplemented from Fun4AllInputManager.
Definition at line 29 of file Fun4AllPrdfInputManager.h.
View newest version in sPHENIX GitHub at line 29 of file Fun4AllPrdfInputManager.h
|
virtual |
Print out some info about this module.
what | can be used to specify what to print exactly. |
Reimplemented from Fun4AllInputManager.
Definition at line 183 of file Fun4AllPrdfInputManager.cc.
View newest version in sPHENIX GitHub at line 183 of file Fun4AllPrdfInputManager.cc
References Fun4AllInputManager::Print().
Reimplemented from Fun4AllInputManager.
Definition at line 200 of file Fun4AllPrdfInputManager.cc.
View newest version in sPHENIX GitHub at line 200 of file Fun4AllPrdfInputManager.cc
References fileclose(), Event::getEvtSequence(), Eventiterator::getNextEvent(), m_Event, m_EventIterator, m_SaveEvent, Fun4AllBase::Name(), PHWHERE, and Fun4AllBase::Verbosity().
|
virtual |
Reimplemented from Fun4AllInputManager.
Definition at line 189 of file Fun4AllPrdfInputManager.cc.
View newest version in sPHENIX GitHub at line 189 of file Fun4AllPrdfInputManager.cc
References PHNodeIterator::findFirst(), m_Event, m_PrdfNodeName, m_SyncObject, m_topNode, SyncObject::Reset(), and PHDataNode< T >::setData().
Referenced by run().
Reimplemented from Fun4AllInputManager.
Definition at line 97 of file Fun4AllPrdfInputManager.cc.
View newest version in sPHENIX GitHub at line 97 of file Fun4AllPrdfInputManager.cc
References Fun4AllSyncManager::CurrentEvent(), Fun4AllReturnCodes::EVENT_OK, SyncObject::EventCounter(), SyncObject::EventNumber(), fileclose(), Fun4AllInputManager::FileListEmpty(), PHNodeIterator::findFirst(), Event::getEvtSequence(), Eventiterator::getNextEvent(), Event::getRunNumber(), Fun4AllInputManager::IsOpen(), m_Event, m_EventIterator, m_EventsThisFile, m_EventsTotal, m_PrdfNodeName, m_SaveEvent, m_Segment, m_SyncObject, m_topNode, Fun4AllInputManager::MySyncManager(), Fun4AllBase::Name(), Fun4AllInputManager::OpenNextFile(), Fun4AllSyncManager::PrdfEvents(), Fun4AllInputManager::RejectEvent(), ResetEvent(), SyncObject::RunNumber(), SyncObject::SegmentNumber(), Fun4AllSyncManager::SegmentNumber(), PHDataNode< T >::setData(), Fun4AllInputManager::SetRunNumber(), and Fun4AllBase::Verbosity().
|
virtual |
Reimplemented from Fun4AllInputManager.
Definition at line 275 of file Fun4AllPrdfInputManager.cc.
View newest version in sPHENIX GitHub at line 275 of file Fun4AllPrdfInputManager.cc
References SyncObject::Different(), g4zmq::exit(), m_SyncObject, Fun4AllBase::Name(), PHWHERE, Fun4AllReturnCodes::SYNC_FAIL, and Fun4AllReturnCodes::SYNC_OK.
|
private |
Definition at line 36 of file Fun4AllPrdfInputManager.h.
View newest version in sPHENIX GitHub at line 36 of file Fun4AllPrdfInputManager.h
Referenced by Fun4AllPrdfInputManager(), PushBackEvents(), ResetEvent(), and run().
|
private |
Definition at line 38 of file Fun4AllPrdfInputManager.h.
View newest version in sPHENIX GitHub at line 38 of file Fun4AllPrdfInputManager.h
Referenced by fileclose(), fileopen(), PushBackEvents(), and run().
|
private |
Definition at line 34 of file Fun4AllPrdfInputManager.h.
View newest version in sPHENIX GitHub at line 34 of file Fun4AllPrdfInputManager.h
Referenced by fileopen(), and run().
|
private |
Definition at line 33 of file Fun4AllPrdfInputManager.h.
View newest version in sPHENIX GitHub at line 33 of file Fun4AllPrdfInputManager.h
Referenced by run().
|
private |
Definition at line 40 of file Fun4AllPrdfInputManager.h.
View newest version in sPHENIX GitHub at line 40 of file Fun4AllPrdfInputManager.h
Referenced by Fun4AllPrdfInputManager(), ResetEvent(), and run().
|
private |
Definition at line 37 of file Fun4AllPrdfInputManager.h.
View newest version in sPHENIX GitHub at line 37 of file Fun4AllPrdfInputManager.h
Referenced by PushBackEvents(), and run().
|
private |
Definition at line 32 of file Fun4AllPrdfInputManager.h.
View newest version in sPHENIX GitHub at line 32 of file Fun4AllPrdfInputManager.h
Referenced by fileopen(), and run().
|
private |
Definition at line 39 of file Fun4AllPrdfInputManager.h.
View newest version in sPHENIX GitHub at line 39 of file Fun4AllPrdfInputManager.h
Referenced by GetSyncObject(), ResetEvent(), run(), SyncIt(), and ~Fun4AllPrdfInputManager().
|
private |
Definition at line 35 of file Fun4AllPrdfInputManager.h.
View newest version in sPHENIX GitHub at line 35 of file Fun4AllPrdfInputManager.h
Referenced by Fun4AllPrdfInputManager(), ResetEvent(), and run().