|
Class Reference for E1039 Core & Analysis Software
|
#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/framework/fun4all/Fun4AllDstOutputManager.h>
Inheritance diagram for Fun4AllDstOutputManager:
Collaboration diagram for Fun4AllDstOutputManager:Public Member Functions | |
| Fun4AllDstOutputManager (const std::string &myname="DSTOUT", const std::string &filename="dstout.root") | |
| virtual | ~Fun4AllDstOutputManager () |
| int | AddNode (const std::string &nodename) |
| add a node in outputmanager More... | |
| int | StripNode (const std::string &nodename) |
| not write a node in outputmanager More... | |
| int | outfileopen (const std::string &fname) |
| opens output file More... | |
| int | RemoveNode (const std::string &nodename) |
| removes a node from outputmanager More... | |
| void | Print (const std::string &what="ALL") const |
| print method (dump event selector) More... | |
| virtual int | Write (PHCompositeNode *startNode) |
| write starting from given node More... | |
| virtual int | WriteNode (PHCompositeNode *thisNode) |
| write specified node More... | |
| void | EnableRealTimeSave () |
Public Member Functions inherited from Fun4AllOutputManager | |
| virtual | ~Fun4AllOutputManager () |
| destructor More... | |
| virtual int | AddEventSelector (const std::string &recomodule) |
| add an event selector to the outputmanager. event will get written only if all event selectors process_event method return EVENT_OK More... | |
| int | WriteGeneric (PHCompositeNode *startNode) |
| Common method, called before calling virtual Write. More... | |
| virtual std::vector< std::string > * | EventSelector () |
| retrieves pointer to vector of event selector module names More... | |
| virtual std::vector< unsigned > * | RecoModuleIndex () |
| retrieves pointer to vector of event selector module ids More... | |
| virtual int | DoNotWriteEvent (std::vector< int > *retcodes) const |
| decides if event is to be written or not More... | |
| virtual size_t | EventsWritten () const |
| get number of Events More... | |
| virtual std::string | OutFileName () const |
| get output file name More... | |
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... | |
Protected Attributes | |
| std::vector< std::string > | savenodes |
| std::vector< std::string > | stripnodes |
| PHNodeIOManager * | dstOut |
Protected Attributes inherited from Fun4AllOutputManager | |
| size_t | nEvents |
| Number of Events. More... | |
| std::vector< std::string > | EventSelectors |
| vector of event selectors modules More... | |
| std::vector< unsigned > | recomoduleindex |
| vector of associated module indexes More... | |
| std::string | outfilename |
| output file name More... | |
Protected Attributes inherited from Fun4AllBase | |
| std::string | ThisName |
| int | verbosity |
| The verbosity level. 0 means not verbose at all. More... | |
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 Fun4AllOutputManager | |
| Fun4AllOutputManager (const std::string &myname) | |
Protected Member Functions inherited from Fun4AllBase | |
| Fun4AllBase (const std::string &name="NONAME") | |
Definition at line 12 of file Fun4AllDstOutputManager.h.
| Fun4AllDstOutputManager::Fun4AllDstOutputManager | ( | const std::string & | myname = "DSTOUT", |
| const std::string & | filename = "dstout.root" |
||
| ) |
Definition at line 15 of file Fun4AllDstOutputManager.cc.
References dstOut, PHNodeIOManager::isFunctional(), Fun4AllOutputManager::outfilename, PHWHERE, PHWrite, and PHNodeIOManager::SetCompressionLevel().
Here is the call graph for this function:
|
virtual |
Definition at line 33 of file Fun4AllDstOutputManager.cc.
References dstOut.
|
virtual |
add a node in outputmanager
Reimplemented from Fun4AllOutputManager.
Definition at line 40 of file Fun4AllDstOutputManager.cc.
References savenodes.
| void Fun4AllDstOutputManager::EnableRealTimeSave | ( | ) |
Definition at line 236 of file Fun4AllDstOutputManager.cc.
References dstOut, and PHNodeIOManager::SetRealTimeSave().
Here is the call graph for this function:
|
virtual |
opens output file
Reimplemented from Fun4AllOutputManager.
Definition at line 74 of file Fun4AllDstOutputManager.cc.
References dstOut, PHNodeIOManager::isFunctional(), PHWHERE, PHWrite, and PHNodeIOManager::SetCompressionLevel().
Here is the call graph for this function:
|
virtual |
print method (dump event selector)
Reimplemented from Fun4AllOutputManager.
Definition at line 108 of file Fun4AllDstOutputManager.cc.
References Fun4AllOutputManager::outfilename, Fun4AllOutputManager::Print(), savenodes, stripnodes, and Fun4AllBase::ThisName.
Here is the call graph for this function:
|
virtual |
removes a node from outputmanager
Reimplemented from Fun4AllOutputManager.
Definition at line 90 of file Fun4AllDstOutputManager.cc.
References savenodes.
|
virtual |
not write a node in outputmanager
Reimplemented from Fun4AllOutputManager.
Definition at line 57 of file Fun4AllDstOutputManager.cc.
References stripnodes.
|
virtual |
write starting from given node
Reimplemented from Fun4AllOutputManager.
Reimplemented in Fun4AllTriggerDstOutputManager, and Fun4AllSpillDstOutputManager.
Definition at line 152 of file Fun4AllDstOutputManager.cc.
References dstOut, PHNodeIterator::findFirst(), Fun4AllServer::instance(), Fun4AllServer::MakeNodesPersistent(), Fun4AllServer::MakeNodesTransient(), PHNode::makePersistent(), PHNode::makeTransient(), PHWHERE, savenodes, stripnodes, Fun4AllBase::ThisName, Fun4AllBase::verbosity, and PHNodeIOManager::write().
Referenced by Fun4AllSpillDstOutputManager::Write(), and Fun4AllTriggerDstOutputManager::Write().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
write specified node
Reimplemented from Fun4AllOutputManager.
Definition at line 224 of file Fun4AllDstOutputManager.cc.
References dstOut, Fun4AllOutputManager::outfilename, PHRunTree, PHUpdate, and PHNodeIOManager::write().
Referenced by Fun4AllSpillDstOutputManager::Write().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 34 of file Fun4AllDstOutputManager.h.
Referenced by EnableRealTimeSave(), Fun4AllDstOutputManager(), outfileopen(), Write(), Fun4AllSpillDstOutputManager::Write(), WriteNode(), and ~Fun4AllDstOutputManager().
|
protected |
Definition at line 32 of file Fun4AllDstOutputManager.h.
Referenced by AddNode(), Print(), RemoveNode(), and Write().
|
protected |
Definition at line 33 of file Fun4AllDstOutputManager.h.
Referenced by Print(), StripNode(), and Write().