Changeset 1848 for trunk/MagicSoft/Mars/mfileio/MCT1ReadPreProc.cc
- Timestamp:
- 03/21/03 09:12:32 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfileio/MCT1ReadPreProc.cc
r1845 r1848 457 457 ProcessRunHeader(outpars); 458 458 459 460 459 //rwagner: ReInit whenever new run commences 461 460 // rc==-1 means: ReInit didn't work out 462 461 463 if (!fTaskList->ReInit(fParList)) 462 MTaskList *tlist = (MTaskList*)fParList->FindCreateObj("MTaskList"); 463 if (!tlist) 464 return -1; 465 466 if (!tlist->ReInit(fParList)) 464 467 return -1; 465 468 … … 764 767 return kFALSE; 765 768 766 //767 // look for the task list768 //769 fTaskList = (MTaskList*)pList->FindCreateObj("MTaskList");770 if (!fTaskList)771 return kFALSE;772 773 774 769 fNumFilterEvts = 0; 775 770 fNumEvents = 0; … … 788 783 void MCT1ReadPreProc::ProcessEvent(const struct eventrecord &event) 789 784 { 790 if (fRawRunHeader->GetRunNumber() == 1) 791 { 792 *fLog << "eventrecord" << endl; 793 *fLog << "isecs_since_midday = " << event.isecs_since_midday << endl; 794 *fLog << "isecfrac_200ns = " << event.isecfrac_200ns << endl; 795 *fLog << "snot_ok_flags = " << event.snot_ok_flags << endl; 796 *fLog << "ialt_arcs = " << event.ialt_arcs << endl; 797 *fLog << "iaz_arcs = " << event.iaz_arcs << endl; 798 *fLog << "ipreproc_alt_arcs = " << event.ipreproc_alt_arcs << endl; 799 *fLog << "ipreproc_az_arcs = " << event.ipreproc_az_arcs << endl; 800 *fLog << "ifieldrot_arcs = " << event.ifieldrot_arcs << endl; 801 802 *fLog << "srate_millihz = " << event.srate_millihz << endl; 803 *fLog << "fhourangle = " << event.fhourangle << endl; 804 *fLog << "fmcenergy_tev = " << event.fmcenergy_tev << endl; 805 *fLog << "fmcsize_phel = " << event.fmcsize_phel << endl; 806 *fLog << "imcimpact_m = " << event.imcimpact_m << endl; 807 *fLog << "imcparticle = " << event.imcparticle << endl; 808 *fLog << "imctriggerflag = " << event.imctriggerflag << endl; 809 } 810 785 /* 786 if (fRawRunHeader->GetRunNumber() == 1) 787 { 788 *fLog << "eventrecord" << endl; 789 *fLog << "isecs_since_midday = " << event.isecs_since_midday << endl; 790 *fLog << "isecfrac_200ns = " << event.isecfrac_200ns << endl; 791 *fLog << "snot_ok_flags = " << event.snot_ok_flags << endl; 792 *fLog << "ialt_arcs = " << event.ialt_arcs << endl; 793 *fLog << "iaz_arcs = " << event.iaz_arcs << endl; 794 *fLog << "ipreproc_alt_arcs = " << event.ipreproc_alt_arcs << endl; 795 *fLog << "ipreproc_az_arcs = " << event.ipreproc_az_arcs << endl; 796 *fLog << "ifieldrot_arcs = " << event.ifieldrot_arcs << endl; 797 798 *fLog << "srate_millihz = " << event.srate_millihz << endl; 799 *fLog << "fhourangle = " << event.fhourangle << endl; 800 *fLog << "fmcenergy_tev = " << event.fmcenergy_tev << endl; 801 *fLog << "fmcsize_phel = " << event.fmcsize_phel << endl; 802 *fLog << "imcimpact_m = " << event.imcimpact_m << endl; 803 *fLog << "imcparticle = " << event.imcparticle << endl; 804 *fLog << "imctriggerflag = " << event.imctriggerflag << endl; 805 } 806 */ 811 807 812 808 for (Int_t i=0; i<iMAXNUMPIX; i++)
Note:
See TracChangeset
for help on using the changeset viewer.