|
Class Reference for E1039 Core & Analysis Software
|
#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/framework/fun4all/Fun4AllEventOutputManager.h>
Inheritance diagram for Fun4AllEventOutputManager:
Collaboration diagram for Fun4AllEventOutputManager:Public Member Functions | |
| Fun4AllEventOutputManager (const std::string &myname="EVENTOUT", const std::string &filename="eventout.prdf", const unsigned int sizeInMB=0, const int offset=0, const int increment=1) | |
| virtual | ~Fun4AllEventOutputManager () |
| int | outfileopen (const std::string &) |
| opens output file More... | |
| void | Print (const std::string &what="ALL") const |
| print method (dump event selector) More... | |
| int | Write (PHCompositeNode *startNode) |
| write starting from given node More... | |
| int | AddPacket (const int ipkt) |
| int | DropPacket (const int ipkt) |
| int | AddPacketRange (const int ipktmin, const int ipktmax) |
| int | DropPacketRange (const int ipktmin, const int ipktmax) |
| void | SetOutfileName (const std::string &fname) |
Public Member Functions inherited from Fun4AllOutputManager | |
| virtual | ~Fun4AllOutputManager () |
| destructor More... | |
| virtual int | AddNode (const std::string &) |
| add a node in outputmanager More... | |
| virtual int | StripNode (const std::string &) |
| not write a node in outputmanager 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... | |
| virtual int | RemoveNode (const std::string &) |
| removes a node from outputmanager More... | |
| int | WriteGeneric (PHCompositeNode *startNode) |
| Common method, called before calling virtual Write. More... | |
| virtual int | WriteNode (PHCompositeNode *) |
| write specified node 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::string | outfilerule |
| Fun4AllEventOutStream * | outstream |
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 Fun4AllEventOutputManager.h.
| Fun4AllEventOutputManager::Fun4AllEventOutputManager | ( | const std::string & | myname = "EVENTOUT", |
| const std::string & | filename = "eventout.prdf", |
||
| const unsigned int | sizeInMB = 0, |
||
| const int | offset = 0, |
||
| const int | increment = 1 |
||
| ) |
Definition at line 16 of file Fun4AllEventOutputManager.cc.
References outfilerule, outstream, and Fun4AllEventOutStream::SetManager().
Here is the call graph for this function:
|
virtual |
Definition at line 29 of file Fun4AllEventOutputManager.cc.
References outstream.
| int Fun4AllEventOutputManager::AddPacket | ( | const int | ipkt | ) |
Definition at line 64 of file Fun4AllEventOutputManager.cc.
References Fun4AllEventOutStream::AddPacket(), outstream, and PHWHERE.
Here is the call graph for this function:| int Fun4AllEventOutputManager::AddPacketRange | ( | const int | ipktmin, |
| const int | ipktmax | ||
| ) |
Definition at line 79 of file Fun4AllEventOutputManager.cc.
References Fun4AllEventOutStream::AddPacketRange(), outstream, and PHWHERE.
Here is the call graph for this function:| int Fun4AllEventOutputManager::DropPacket | ( | const int | ipkt | ) |
Definition at line 94 of file Fun4AllEventOutputManager.cc.
References Fun4AllEventOutStream::DropPacket(), outstream, and PHWHERE.
Here is the call graph for this function:| int Fun4AllEventOutputManager::DropPacketRange | ( | const int | ipktmin, |
| const int | ipktmax | ||
| ) |
Definition at line 109 of file Fun4AllEventOutputManager.cc.
References Fun4AllEventOutStream::DropPacketRange(), outstream, and PHWHERE.
Here is the call graph for this function:
|
inlinevirtual |
opens output file
Reimplemented from Fun4AllOutputManager.
Definition at line 23 of file Fun4AllEventOutputManager.h.
|
virtual |
print method (dump event selector)
Reimplemented from Fun4AllOutputManager.
Definition at line 40 of file Fun4AllEventOutputManager.cc.
References outfilerule, Fun4AllOutputManager::Print(), and Fun4AllBase::ThisName.
Here is the call graph for this function:| void Fun4AllEventOutputManager::SetOutfileName | ( | const std::string & | fname | ) |
Definition at line 124 of file Fun4AllEventOutputManager.cc.
References Fun4AllOutputManager::outfilename.
Referenced by Fun4AllRolloverFileOutStream::WriteEventOut().
Here is the caller graph for this function:
|
virtual |
write starting from given node
Reimplemented from Fun4AllOutputManager.
Definition at line 49 of file Fun4AllEventOutputManager.cc.
References Fun4AllServer::instance(), outstream, PHWHERE, Fun4AllServer::topNode(), and Fun4AllEventOutStream::WriteEvent().
Here is the call graph for this function:
|
protected |
Definition at line 36 of file Fun4AllEventOutputManager.h.
Referenced by Fun4AllEventOutputManager(), and Print().
|
protected |
Definition at line 37 of file Fun4AllEventOutputManager.h.
Referenced by AddPacket(), AddPacketRange(), DropPacket(), DropPacketRange(), Fun4AllEventOutputManager(), Write(), and ~Fun4AllEventOutputManager().