Changeset 18455 for branches/Corsika7500Compatibility/msim
- Timestamp:
- 03/09/16 15:40:33 (9 years ago)
- Location:
- branches/Corsika7500Compatibility/msim
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Corsika7500Compatibility/msim/MPhotonData.h
r18449 r18455 16 16 #ifndef ROOT_TQuaternion 17 17 #include <math.h> 18 #define sqrt ::sqrt18 //#define sqrt ::sqrt 19 19 #include <TQuaternion.h> 20 #undef sqrt20 //#undef sqrt 21 21 #endif 22 22 -
branches/Corsika7500Compatibility/msim/MPhotonEvent.cc
r18447 r18455 559 559 fInFormat->Read(bunchHeader, 3 * sizeof(Int_t)); 560 560 561 this->resize( bunchHeader[2] ); 562 561 563 Int_t n = 0; 562 564 … … 583 585 { 584 586 Int_t n = 0; 587 588 this->resize(numEvents); 585 589 586 590 for (Int_t event = 0; event < numEvents; event++) … … 644 648 } 645 649 } 650 651 void MPhotonEvent::Reset() 652 { 653 this->Clear(); 654 this->Resize(0); 655 } -
branches/Corsika7500Compatibility/msim/MPhotonEvent.h
r18447 r18455 70 70 //void Clear(Option_t * = NULL); 71 71 72 void Reset(); 73 72 74 ClassDef(MPhotonEvent, 1) //Container to store the raw Event Data 73 75 };
Note:
See TracChangeset
for help on using the changeset viewer.