Changeset 18556
- Timestamp:
- 09/03/16 14:04:58 (8 years ago)
- Location:
- trunk/Mars/mmc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mmc/MMcEvt.cxx
r9596 r18556 58 58 ///////////////////////////////////////////////////////////////////////////// 59 59 #include "MMcEvt.hxx" 60 61 #include "fits.h" 60 62 61 63 #include <TMath.h> … … 254 256 return txt; 255 257 } 258 259 Bool_t MMcEvt::SetupFits(fits &fin) 260 { 261 if (!fin.SetRefAddress("MMcEvt.fEvtNumber", fEvtNumber )) return kFALSE; 262 if (!fin.SetRefAddress("MMcEvt.fThick0", fThick0 )) return kFALSE; 263 if (!fin.SetRefAddress("MMcEvt.fFirstTarget", fFirstTarget )) return kFALSE; 264 if (!fin.SetRefAddress("MMcEvt.fZFirstInteraction", fZFirstInteraction)) return kFALSE; 265 if (!fin.SetRefAddress("MMcEvt.fCoreD", fCoreD )) return kFALSE; 266 if (!fin.SetRefAddress("MMcEvt.fCoreX", fCoreX )) return kFALSE; 267 if (!fin.SetRefAddress("MMcEvt.fCoreY", fCoreY )) return kFALSE; 268 if (!fin.SetRefAddress("MMcEvt.fTimeFirst", fTimeFirst )) return kFALSE; 269 if (!fin.SetRefAddress("MMcEvt.fTimeLast", fTimeLast )) return kFALSE; 270 if (!fin.SetRefAddress("MMcEvt.fLongiNmax", fLongiNmax )) return kFALSE; 271 if (!fin.SetRefAddress("MMcEvt.fLongit0", fLongit0 )) return kFALSE; 272 if (!fin.SetRefAddress("MMcEvt.fLongitmax", fLongitmax )) return kFALSE; 273 if (!fin.SetRefAddress("MMcEvt.fLongia", fLongia )) return kFALSE; 274 if (!fin.SetRefAddress("MMcEvt.fLongib", fLongib )) return kFALSE; 275 if (!fin.SetRefAddress("MMcEvt.fLongic", fLongic )) return kFALSE; 276 if (!fin.SetRefAddress("MMcEvt.fLongichi2", fLongichi2 )) return kFALSE; 277 if (!fin.SetRefAddress("MMcEvt.fPhotIni", fPhotIni )) return kFALSE; 278 if (!fin.SetRefAddress("MMcEvt.fPassPhotAtm", fPassPhotAtm )) return kFALSE; 279 if (!fin.SetRefAddress("MMcEvt.fPassPhotRef", fPassPhotRef )) return kFALSE; 280 if (!fin.SetRefAddress("MMcEvt.fPassPhotCone", fPassPhotCone )) return kFALSE; 281 if (!fin.SetRefAddress("MMcEvt.fPhotElfromShower", fPhotElfromShower )) return kFALSE; 282 if (!fin.SetRefAddress("MMcEvt.fPhotElinCamera", fPhotElinCamera )) return kFALSE; 283 if (!fin.SetRefAddress("MMcEvt.fElecCphFraction", fElecCphFraction )) return kFALSE; 284 if (!fin.SetRefAddress("MMcEvt.fMuonCphFraction", fMuonCphFraction )) return kFALSE; 285 if (!fin.SetRefAddress("MMcEvt.fOtherCphFraction", fOtherCphFraction )) return kFALSE; 286 if (!fin.SetRefAddress("MMcEvt.fFadcTimeJitter", fFadcTimeJitter )) return kFALSE; 287 if (!fin.SetRefAddress("MMcEvt.fEventReuse", fEventReuse )) return kFALSE; 288 289 return MMcEvtBasic::SetupFits(fin); 290 } -
trunk/Mars/mmc/MMcEvt.hxx
r17148 r18556 113 113 Float_t, Float_t, Float_t, Float_t, Int_t ireuse=0); 114 114 115 // MParContainer 116 Bool_t SetupFits(fits &fin); 117 115 118 // TObject 116 119 void Print(Option_t *opt=NULL) const; -
trunk/Mars/mmc/MMcEvtBasic.h
r9595 r18556 99 99 void Print(Option_t *opt=NULL) const; 100 100 101 // MParContainer 102 Bool_t SetupFits(fits &fin); 103 101 104 ClassDef(MMcEvtBasic, 3) //Stores Basic Montecarlo Information of one event 102 105
Note:
See TracChangeset
for help on using the changeset viewer.