21 #include "StTpcMixerMaker.h"
22 #include "StMessMgr.h"
23 #include "StTpcRawData.h"
32 while (( set = next()) && nfound < 2) {
33 TString Path(gSystem->BaseName(set->
Path()));
34 if (Path !=
"Event")
continue;
36 if (! event)
continue;
37 inputs[nfound] =
dynamic_cast<StTpcRawData *
>(
event->GetObject());
38 if (! inputs[nfound])
continue;
39 LOG_INFO <<
"Found \t" << Path <<
" in " << set->
Path() <<
"\tas Input" << nfound+1 << endm;
43 *inputs[0] += *inputs[1];
45 LOG_ERROR <<
"Found " << nfound <<
" Makers with StTpcRawData Event" << endm;
46 if (! nfound)
return kStERR;
virtual TString Path() const
return the full path of this data set