Changeset 2135 for trunk/MagicSoft/Mars/mreflector
- Timestamp:
- 05/23/03 17:30:31 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/mreflector
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mreflector/MRflEvtData.cc
r2134 r2135 1 /* ======================================================================== *\ 2 ! 3 ! * 4 ! * This file is part of MARS, the MAGIC Analysis and Reconstruction 5 ! * Software. It is distributed to you in the hope that it can be a useful 6 ! * and timesaving tool in analysing Data of imaging Cerenkov telescopes. 7 ! * It is distributed WITHOUT ANY WARRANTY. 8 ! * 9 ! * Permission to use, copy, modify and distribute this software and its 10 ! * documentation for any purpose is hereby granted without fee, 11 ! * provided that the above copyright notice appear in all copies and 12 ! * that both that copyright notice and this permission notice appear 13 ! * in supporting documentation. It is provided "as is" without express 14 ! * or implied warranty. 15 ! * 16 ! 17 ! 18 ! Author(s): Thomas Bretz, 5/2003 <mailto:tbretz@astro.uni-wuerzburg.de> 19 ! 20 ! Copyright: MAGIC Software Development, 2000-2003 21 ! 22 ! 23 \* ======================================================================== */ 24 25 ///////////////////////////////////////////////////////////////////////////// 26 // 27 // MRflEvtData 28 // 29 // All Photons of a event from the reflector program 30 // 31 // Should be filled like this: 32 // MRflEvtData evt; 33 // evt.Reset(); 34 // for (int i=0; i<10; i++) 35 // MRflSinglePhoton &ph = evt.GetNewPhoton(); 36 // evt.FixSize(); 37 // 38 ///////////////////////////////////////////////////////////////////////////// 1 39 #include "MRflEvtData.h" 2 40 … … 17 55 } 18 56 57 // -------------------------------------------------------------------------- 58 // 59 // Dump informations off all photons 60 // 19 61 void MRflEvtData::Print(Option_t *o="") const 20 62 { … … 23 65 } 24 66 67 // -------------------------------------------------------------------------- 68 // 69 // Add a new photon to the list 70 // 25 71 MRflSinglePhoton &MRflEvtData::GetNewPhoton() 26 72 { … … 31 77 } 32 78 79 // -------------------------------------------------------------------------- 80 // 81 // If you have added all photon fix the size of the container. 82 // 33 83 void MRflEvtData::FixSize() 34 84 { -
trunk/MagicSoft/Mars/mreflector/MRflEvtData.h
r2134 r2135 28 28 29 29 void Print(Option_t *o="") const; 30 ClassDef(MRflEvtData, 0) 30 31 ClassDef(MRflEvtData, 0) // All Photons of a event from the reflector program 31 32 }; 32 33 -
trunk/MagicSoft/Mars/mreflector/MRflSinglePhoton.cc
r2134 r2135 1 /* ======================================================================== *\ 2 ! 3 ! * 4 ! * This file is part of MARS, the MAGIC Analysis and Reconstruction 5 ! * Software. It is distributed to you in the hope that it can be a useful 6 ! * and timesaving tool in analysing Data of imaging Cerenkov telescopes. 7 ! * It is distributed WITHOUT ANY WARRANTY. 8 ! * 9 ! * Permission to use, copy, modify and distribute this software and its 10 ! * documentation for any purpose is hereby granted without fee, 11 ! * provided that the above copyright notice appear in all copies and 12 ! * that both that copyright notice and this permission notice appear 13 ! * in supporting documentation. It is provided "as is" without express 14 ! * or implied warranty. 15 ! * 16 ! 17 ! 18 ! Author(s): Thomas Bretz, 5/2003 <mailto:tbretz@astro.uni-wuerzburg.de> 19 ! 20 ! Copyright: MAGIC Software Development, 2000-2003 21 ! 22 ! 23 \* ======================================================================== */ 24 25 ///////////////////////////////////////////////////////////////////////////// 26 // 27 // MRflSinglePhoton 28 // 29 // Single Photon of a event from the reflector program 30 // 31 ///////////////////////////////////////////////////////////////////////////// 1 32 #include "MRflSinglePhoton.h" 2 33 … … 6 37 ClassImp(MRflSinglePhoton); 7 38 39 // -------------------------------------------------------------------------- 40 // 41 // Dump all photon information 42 // 8 43 void MRflSinglePhoton::Print(Option_t *o="") const 9 44 { -
trunk/MagicSoft/Mars/mreflector/MRflSinglePhoton.h
r2134 r2135 28 28 void Print(Option_t *o="") const; 29 29 30 ClassDef(MRflSinglePhoton, 0) 30 ClassDef(MRflSinglePhoton, 0) // Single Photon of a event from the reflector program 31 31 32 }; 32 33
Note:
See TracChangeset
for help on using the changeset viewer.