- Timestamp:
- 11/21/02 16:15:20 (22 years ago)
- Location:
- trunk/MagicSoft
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfileio/MCT1ReadPreProc.cc
r1600 r1663 234 234 *fLog << endl; 235 235 236 fBlinds->SetReadyToSave(); 237 236 238 /* bexcludepix[] is set TRUE (== exclude from pedestal, Laser 237 239 * calibration and the further analysis) when the Mean value … … 319 321 (*fPedest)[i].SetMeanRms(outpars.frms_pedsig_phot[i]); 320 322 323 fPedest->SetReadyToSave(); 324 321 325 // Used to communicate the mean over all pixels 322 326 // pedestal RMS into the Runs NTuple, as it might … … 356 360 357 361 fIsMcFile = outpars.bmontecarlo==TRUE; 358 359 fPedest->SetReadyToSave();360 362 } 361 363 … … 593 595 // look for the source position in the camera 594 596 // 595 fSrcPos = (MSrcPosCam*)pList->FindCreateObj("MSrcPosCam" , "Source");597 fSrcPos = (MSrcPosCam*)pList->FindCreateObj("MSrcPosCam"); 596 598 if (!fSrcPos) 597 599 return kFALSE; … … 677 679 // int ipreproc_az_arcs; // "should be" az according to preproc (arcseconds) 678 680 679 fMcEvt->SetTheta(TMath::Pi()*(0.5-1./180*event.ialt_arcs/3600)); // altitude (arcseconds) 680 fMcEvt->SetPhi(TMath::Pi()/180*event.iaz_arcs/3600); // azimuth (arcseconds) 681 681 fMcEvt->Fill(0, /*fEvtNum*/ 682 fIsMcFile ? event.imcparticle : 0, /*corsika particle type*/ 683 fIsMcFile ? event.fmcenergy_tev*1000 : 0, 684 0, /* fThi0 */ 685 0, /* fFirTar */ 686 0, /* fzFirInt */ 687 0, /* fThet*/ 688 0, /* fPhii */ 689 0, /* fCorD */ 690 0, /* fCorX */ 691 0, /* fCorY */ 692 fIsMcFile ? event.imcimpact_m*100 : 0, 693 TMath::Pi()/180*event.iaz_arcs/3600, // azimuth (arcseconds) 694 TMath::Pi()*(0.5-1./180*event.ialt_arcs/3600), // altitude (arcseconds) 695 0, /* fTFirst */ 696 0, /* fTLast */ 697 0, /* fL_Nmax */ 698 0, /* fL_t0 */ 699 0, /* fL_tmax */ 700 0, /* fL_a */ 701 0, /* fL_b */ 702 0, /* fL_c */ 703 0, /* fL_chi2 */ 704 0, /* uiPin */ 705 0, /* uiPat */ 706 0, /* uiPre */ 707 0, /* uiPco */ 708 0, /* uiPelS */ 709 fIsMcFile ? event.fmcsize_phel : 0 /* uiPelC, Simulated SIZE */ 710 ); 711 712 fMcTrig->SetFirstLevel(event.imctriggerflag); // MC data from Dorota get a triggerflag: 1 means triggered, 0 not. */ 713 714 fMcTrig->SetReadyToSave(); 682 715 fMcEvt->SetReadyToSave(); 683 684 if (!fIsMcFile)685 return;686 687 fMcEvt->SetPartId(event.imcparticle); // corsika particle type688 fMcEvt->SetEnergy(event.fmcenergy_tev*1000); // simulated energy689 fMcEvt->SetImpact(event.imcimpact_m*100); // simulated impact690 691 fMcTrig->SetFirstLevel(event.imctriggerflag); // MC data from Dorota get a triggerflag: 1 means triggered, 0 not. */692 fMcTrig->SetReadyToSave();693 694 //float fmcsize_phel; // Simulated SIZE695 716 } 696 717 -
trunk/MagicSoft/Mars/mfileio/MCT1ReadPreProc.h
r1600 r1663 66 66 UInt_t GetEntries() { return fEntries; } 67 67 68 ClassDef(MCT1ReadPreProc, 0) // Reads the CT1data file68 ClassDef(MCT1ReadPreProc, 0) // Reads the CT1 preproc data file 69 69 }; 70 70 -
trunk/MagicSoft/Mars/mhist/MHEnergyTheta.h
r1574 r1663 40 40 } 41 41 42 ClassDef(MHEnergyTheta, 1) // Data Container to calculate Collection Area42 ClassDef(MHEnergyTheta, 1) // Histogram: Energy vs. Theta 43 43 }; 44 44 -
trunk/MagicSoft/Mars/mhist/MHEnergyTime.h
r1574 r1663 41 41 } 42 42 43 ClassDef(MHEnergyTime, 1) // Data Container to calculate Collection Area43 ClassDef(MHEnergyTime, 1) // Histogram: Energy vs. Time 44 44 }; 45 45 -
trunk/MagicSoft/Mars/mhist/MHMcIntRate.h
r1574 r1663 36 36 void Calc(const MHMcDifRate &rate); 37 37 38 ClassDef(MHMcIntRate, 1) // Histogram container for montecarlo energy threshold38 ClassDef(MHMcIntRate, 1) // Histogram container for integral event rate 39 39 }; 40 40 -
trunk/MagicSoft/Mars/mhist/MHMcRate.h
r1165 r1663 59 59 TObject *DrawClone(Option_t *o=NULL) const; 60 60 61 ClassDef(MHMcRate, 1) // Data Container to calculate Collection Area61 ClassDef(MHMcRate, 1) // Data Container to calculate trigger rate 62 62 }; 63 63 -
trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.hxx
r1594 r1663 95 95 /* UInt_t GetPhotElinCamera() { return fPhotElinCamera; } //Get Passed qe total*/ 96 96 97 Float_t GetTelescopePhi() const { return fTelescopePhi; } 98 Float_t GetTelescopeTheta() const { return fTelescopeTheta; } 97 99 98 100 void SetPartId(Short_t PartId)
Note:
See TracChangeset
for help on using the changeset viewer.