1 #ifndef _FUN4ALL_UNIVERSAL_OUTPUT_MANAGER__H_
2 #define _FUN4ALL_UNIVERSAL_OUTPUT_MANAGER__H_
7 #include <TStopwatch.h>
23 void SetTreeName(
const std::string& name) { m_tree_name = name; }
24 void SetFileName(
const std::string& name) { m_file_name = name; }
44 bool write_sq_event_info;
45 std::string m_tree_name;
46 std::string m_file_name;
47 std::string m_dir_base;
60 int m_compression_level;
68 int fpgaTrigger[5] = {0};
69 int nimTrigger[5] = {0};
71 std::vector<int> hitID;
72 std::vector<int> detectorID;
73 std::vector<int> elementID;
74 std::vector<double> tdcTime;
75 std::vector<double> driftDistance;
77 std::vector<int> hitTrackID, gCharge, gTrackID, gProcessID;
78 std::vector<double> gvx, gvy, gvz, gpx, gpy, gpz;
79 std::vector<double> gx_st1, gy_st1, gz_st1, gpx_st1, gpy_st1, gpz_st1;
80 std::vector<double> gx_st3, gy_st3, gz_st3, gpx_st3, gpy_st3, gpz_st3;
void SetFileName(const std::string &name)
Fun4AllRUSOutputManager(const std::string &myname="UNIVERSALOUT")
virtual ~Fun4AllRUSOutputManager()
void EnableEventInfo(bool enable)
unsigned int EncodeProcess(int processID, int sourceFlag)
void SetBasketSize(int size)
void ResetTrueTrackBranches()
void SetCompressionLevel(int level)
int OpenFile(PHCompositeNode *startNode)
void SetAutoFlush(int flush)
void SetTreeName(const std::string &name)
virtual int Write(PHCompositeNode *startNode)
write starting from given node
void SetProcessId(int proc_id)
An SQ interface class to hold one event header.
An SQ interface class to hold a list of SQHit objects.
An SQ interface class to hold the run-level info.
An SQ interface class to hold a list of SQSpill objects.
An SQ interface class to hold a list of SQTrack objects.