6 #include "StBlankStEventMaker.h"
8 #include "StMuDSTMaker/COMMON/StMuDstMaker.h"
9 #include "StMuDSTMaker/COMMON/StMuDst.h"
10 #include "StMuDSTMaker/COMMON/StMuDebug.h"
11 #include "StEvent/StEventTypes.h"
12 #include "StEvent/StTriggerIdCollection.h"
13 #include "StEvent/StTriggerId.h"
14 #include "StEvent/StTpcDedxPidAlgorithm.h"
15 #include "StMuDSTMaker/COMMON/StMuEmcUtil.h"
16 #include "StEvent/StEmcCollection.h"
20 #include "StEvent/StGlobalTrack.h"
26 StBlankStEventMaker::~StBlankStEventMaker() {
32 void StBlankStEventMaker::Clear(
const char*) {
38 static int run =3010006;
41 mStEvent = (
StEvent*)GetDataSet(
"StEvent");
47 mStEvent->setInfo( info );
50 runInfo->setRunId(run);
51 mStEvent->setRunInfo( runInfo);
54 mStEvent->setSummary( summary);
59 hd->SetGMTime(mStEvent->time());
60 hd->SetRunNumber(run);
64 mStEvent->setEmcCollection(emc);
67 StSPtrVecTrackNode &trackNodes = mStEvent->trackNodes();
77 gtrack->setFlag(12+i);
78 gtrack->setLength(100.+i);
80 node->addTrack(gtrack);
81 trackNodes.push_back(node);
85 cout <<
"*****************" <<
GetName() << endl;
virtual void AddData(TDataSet *data, const char *dir=".data")
User methods.
virtual void Clear(Option_t *option="")
User defined functions.
int Make()
create a StEvent from the muDst and put it into the .data tree structure. Also time stamp gets writte...
virtual const char * GetName() const
special overload
StBlankStEventMaker(const char *self="blank")
Default constructor; get pointer to StMuDstMaker.