Class Reference for E1039 Core & Analysis Software
|
A Fun4All output manger that creates one DST file per run containing events selected with trigger. More...
Public Member Functions | |
Fun4AllTriggerDstOutputManager (const std::string &myname, const std::string &filename) | |
virtual | ~Fun4AllTriggerDstOutputManager () |
void | SetTriggerMask (const int fpga_mask, const int nim_mask) |
void | SetTriggerMask (const bool fpga1, const bool fpga2, const bool fpga3, const bool fpga4, const bool fpga5, const bool nim1, const bool nim2, const bool nim3, const bool nim4, const bool nim5) |
virtual int | Write (PHCompositeNode *startNode) |
write starting from given node More... | |
![]() | |
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 | WriteNode (PHCompositeNode *thisNode) |
write specified node More... | |
void | EnableRealTimeSave () |
![]() | |
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... | |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
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 } |
![]() | |
Fun4AllOutputManager (const std::string &myname) | |
![]() | |
Fun4AllBase (const std::string &name="NONAME") | |
![]() | |
std::vector< std::string > | savenodes |
std::vector< std::string > | stripnodes |
PHNodeIOManager * | dstOut |
![]() | |
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... | |
![]() | |
std::string | ThisName |
int | verbosity |
The verbosity level. 0 means not verbose at all. More... | |
A Fun4All output manger that creates one DST file per run containing events selected with trigger.
Definition at line 6 of file Fun4AllTriggerDstOutputManager.h.
Fun4AllTriggerDstOutputManager::Fun4AllTriggerDstOutputManager | ( | const std::string & | myname, |
const std::string & | filename | ||
) |
Definition at line 12 of file Fun4AllTriggerDstOutputManager.cc.
|
virtual |
Definition at line 19 of file Fun4AllTriggerDstOutputManager.cc.
void Fun4AllTriggerDstOutputManager::SetTriggerMask | ( | const bool | fpga1, |
const bool | fpga2, | ||
const bool | fpga3, | ||
const bool | fpga4, | ||
const bool | fpga5, | ||
const bool | nim1, | ||
const bool | nim2, | ||
const bool | nim3, | ||
const bool | nim4, | ||
const bool | nim5 | ||
) |
Definition at line 29 of file Fun4AllTriggerDstOutputManager.cc.
References SQEvent::MATRIX1, SQEvent::MATRIX2, SQEvent::MATRIX3, SQEvent::MATRIX4, SQEvent::MATRIX5, SQEvent::NIM1, SQEvent::NIM2, SQEvent::NIM3, SQEvent::NIM4, and SQEvent::NIM5.
void Fun4AllTriggerDstOutputManager::SetTriggerMask | ( | const int | fpga_mask, |
const int | nim_mask | ||
) |
Definition at line 24 of file Fun4AllTriggerDstOutputManager.cc.
References SQEvent::MATRIX1, and SQEvent::NIM1.
|
virtual |
write starting from given node
Reimplemented from Fun4AllDstOutputManager.
Definition at line 44 of file Fun4AllTriggerDstOutputManager.cc.
References SQEvent::get_trigger(), PHWHERE, and Fun4AllDstOutputManager::Write().