Analysis Software
Documentation for sPHENIX simulation software
|
#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") | |
~Fun4AllPrdfInputManager () override | |
int | fileopen (const std::string &filenam) override |
int | fileclose () override |
int | run (const int nevents=0) override |
void | Print (const std::string &what="ALL") const override |
int | ResetEvent () override |
int | PushBackEvents (const int i) override |
int | GetSyncObject (SyncObject **mastersync) override |
int | SyncIt (const SyncObject *mastersync) override |
int | HasSyncObject () const override |
std::string | GetString (const std::string &what) const override |
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) |
const std::list< std::string > | GetFileList () const |
const std::list< std::string > | GetFileOpenedList () 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. | |
Private Attributes | |
int | m_Segment = -999 |
int | m_EventsTotal = 0 |
int | m_EventsThisFile = 0 |
PHCompositeNode * | m_topNode = nullptr |
Event * | m_Event = nullptr |
Event * | m_SaveEvent = nullptr |
Eventiterator * | m_EventIterator = nullptr |
SyncObject * | m_SyncObject = nullptr |
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 = std::numeric_limits<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().
|
override |
Definition at line 49 of file Fun4AllPrdfInputManager.cc.
View newest version in sPHENIX GitHub at line 49 of file Fun4AllPrdfInputManager.cc
References fileclose(), Fun4AllInputManager::IsOpen(), and m_SyncObject.
|
overridevirtual |
Reimplemented from Fun4AllInputManager.
Definition at line 161 of file Fun4AllPrdfInputManager.cc.
View newest version in sPHENIX GitHub at line 161 of file Fun4AllPrdfInputManager.cc
References Fun4AllInputManager::IsOpen(), m_EventIterator, Fun4AllBase::Name(), and Fun4AllInputManager::UpdateFileList().
Referenced by fileopen(), PushBackEvents(), run(), and ~Fun4AllPrdfInputManager().
|
overridevirtual |
Reimplemented from Fun4AllInputManager.
Definition at line 58 of file Fun4AllPrdfInputManager.cc.
View newest version in sPHENIX GitHub at line 58 of file Fun4AllPrdfInputManager.cc
References Fun4AllInputManager::AddToFileOpened(), fileclose(), Fun4AllInputManager::FileName(), INTTVtxZ::fname, Fun4AllUtils::GetRunSegment(), Fun4AllInputManager::IsOpen(), FROG::location(), m_EventIterator, m_EventsThisFile, m_Segment, Fun4AllBase::Name(), PHWHERE, utils::status, and Fun4AllBase::Verbosity().
Referenced by Fun4All_TPC_UnpackPRDF_Batch().
|
overridevirtual |
Reimplemented from Fun4AllInputManager.
Definition at line 290 of file Fun4AllPrdfInputManager.cc.
View newest version in sPHENIX GitHub at line 290 of file Fun4AllPrdfInputManager.cc
References m_PrdfNodeName.
|
overridevirtual |
Reimplemented from Fun4AllInputManager.
Definition at line 248 of file Fun4AllPrdfInputManager.cc.
View newest version in sPHENIX GitHub at line 248 of file Fun4AllPrdfInputManager.cc
References assert, SyncObject::CloneMe(), m_SyncObject, and Fun4AllReturnCodes::SYNC_OK.
|
inlineoverridevirtual |
Reimplemented from Fun4AllInputManager.
Definition at line 31 of file Fun4AllPrdfInputManager.h.
View newest version in sPHENIX GitHub at line 31 of file Fun4AllPrdfInputManager.h
|
overridevirtual |
Print out some info about this module.
what | can be used to specify what to print exactly. |
Reimplemented from Fun4AllInputManager.
Definition at line 177 of file Fun4AllPrdfInputManager.cc.
View newest version in sPHENIX GitHub at line 177 of file Fun4AllPrdfInputManager.cc
References Fun4AllInputManager::Print().
|
overridevirtual |
Reimplemented from Fun4AllInputManager.
Definition at line 194 of file Fun4AllPrdfInputManager.cc.
View newest version in sPHENIX GitHub at line 194 of file Fun4AllPrdfInputManager.cc
References fileclose(), Event::getEvtSequence(), Eventiterator::getNextEvent(), i, m_Event, m_EventIterator, m_SaveEvent, Fun4AllBase::Name(), nevents(), PHWHERE, and Fun4AllBase::Verbosity().
|
overridevirtual |
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 PHNodeIterator::findFirst(), m_Event, m_PrdfNodeName, m_SyncObject, m_topNode, SyncObject::Reset(), and PHDataNode< T >::setData().
Referenced by run().
|
overridevirtual |
Reimplemented from Fun4AllInputManager.
Definition at line 91 of file Fun4AllPrdfInputManager.cc.
View newest version in sPHENIX GitHub at line 91 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(), Fun4AllSyncManager::SegmentNumber(), SyncObject::SegmentNumber(), PHDataNode< T >::setData(), Fun4AllInputManager::SetRunNumber(), and Fun4AllBase::Verbosity().
|
overridevirtual |
Reimplemented from Fun4AllInputManager.
Definition at line 269 of file Fun4AllPrdfInputManager.cc.
View newest version in sPHENIX GitHub at line 269 of file Fun4AllPrdfInputManager.cc
References SyncObject::Different(), m_SyncObject, Fun4AllBase::Name(), PHWHERE, Fun4AllReturnCodes::SYNC_FAIL, and Fun4AllReturnCodes::SYNC_OK.
|
private |
Definition at line 39 of file Fun4AllPrdfInputManager.h.
View newest version in sPHENIX GitHub at line 39 of file Fun4AllPrdfInputManager.h
Referenced by Fun4AllPrdfInputManager(), PushBackEvents(), ResetEvent(), and run().
|
private |
Definition at line 41 of file Fun4AllPrdfInputManager.h.
View newest version in sPHENIX GitHub at line 41 of file Fun4AllPrdfInputManager.h
Referenced by fileclose(), fileopen(), PushBackEvents(), 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 fileopen(), and run().
|
private |
Definition at line 36 of file Fun4AllPrdfInputManager.h.
View newest version in sPHENIX GitHub at line 36 of file Fun4AllPrdfInputManager.h
Referenced by run().
|
private |
Definition at line 43 of file Fun4AllPrdfInputManager.h.
View newest version in sPHENIX GitHub at line 43 of file Fun4AllPrdfInputManager.h
Referenced by Fun4AllPrdfInputManager(), GetString(), ResetEvent(), and 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 PushBackEvents(), and run().
|
private |
Definition at line 35 of file Fun4AllPrdfInputManager.h.
View newest version in sPHENIX GitHub at line 35 of file Fun4AllPrdfInputManager.h
Referenced by fileopen(), and run().
|
private |
Definition at line 42 of file Fun4AllPrdfInputManager.h.
View newest version in sPHENIX GitHub at line 42 of file Fun4AllPrdfInputManager.h
Referenced by GetSyncObject(), ResetEvent(), run(), SyncIt(), and ~Fun4AllPrdfInputManager().
|
private |
Definition at line 38 of file Fun4AllPrdfInputManager.h.
View newest version in sPHENIX GitHub at line 38 of file Fun4AllPrdfInputManager.h
Referenced by Fun4AllPrdfInputManager(), ResetEvent(), and run().