13 #endif //#ifdef _WITHGBATCH_
18 printf(
"In myRTI::myRTI\n");
27 printf(
"In myRTI::~myRTI\n");
35 printf(
"In myRTI::Clear\n");
43 memset(cf, 0, 4*2*
sizeof(cf[0][0]));
44 memset(cfi, 0, 4*2*
sizeof(cfi[0][0]));
45 memset(nl1l9, 0, 2*2*
sizeof(nl1l9[0][0]));
46 memset(dl1l9, 0, 2*3*
sizeof(dl1l9[0][0]));
77 printf(
"In myRTI::init\n");
87 printf(
"In myRTI::TPreSelect\n");
92 cut[0]=(ntrig/nev>0.98);
93 cut[1]=(npart/ntrig>0.07/1600*ntrig&&npart/ntrig<0.25);
96 cut[4]=(nerr>=0&&nerr/nev<0.1);
97 cut[5]=(npart>0&&nev<1800);
98 bool tcut=(cut[0]&&cut[1]&&cut[2]&&cut[3]&&cut[4]&&cut[5]);
99 cout<<
" 0 "<< cut[0]<<
" && "<<cut[1]<<
" && "<<cut[2]<<
" && "<<cut[3]<<
" && "<<cut[4]<<endl;
107 myRTIFiller::myRTIFiller(){
109 printf(
"In myRTIFiller::myRTIFiller\n");
116 myRTIFiller::~myRTIFiller(){
118 printf(
"In myRTIFiller::~myRTIFiller\n");
124 void myRTIFiller::Clear(Option_t* option){
126 printf(
"In myRTIFiller::Clear\n");
132 void myRTIFiller::init(){
134 printf(
"In myRTIFiller::init\n");
141 void myRTIFiller::Fill(AMSSetupR::RTI* ev_RTI){
143 printf(
"In myRTIFiller::Fill\n");
149 #if !defined _B524_ && !defined _B530_ && !defined _B538_ && !defined _B550_ && !defined _B572_ && !defined _B580_ && !defined _B584_ && !defined _B594_ && !defined _B598_ && !defined _B610_ && !defined _B620_
152 evnol= ev_RTI->evnol;
156 copy_n( ev_RTI->cf[0] , 4*2, cf[0]);
157 copy_n( ev_RTI->cfi[0], 4*2, cfi[0]);
159 theta = ev_RTI->theta;
162 zenith = ev_RTI->zenith;
164 glong = ev_RTI->glong;
167 ntrig = ev_RTI->ntrig;
168 nhwerr = ev_RTI->nhwerr;
169 npart = ev_RTI->npart;
170 copy_n( ev_RTI->nl1l9[0], 2*2, nl1l9[0]);
171 copy_n( ev_RTI->dl1l9[0], 2*3, dl1l9[0]);
172 mtrdh = ev_RTI->mtrdh;
174 utime = ev_RTI->utime;
175 copy_n(ev_RTI->usec, 2, usec);