Changeset 9262 for trunk/MagicSoft
- Timestamp:
- 01/25/09 14:39:15 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9254 r9262 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2009/01/25 Thomas Bretz 22 23 * mbase/Makefile, mbase/BaseLinkDef.h: 24 - added MLut 25 26 * mbase/MLut.[h,cc]: 27 - added 28 29 * msimcamera/MSimCamera.[h,cc], msimcamera/MSimTrigger.[h,cc], 30 msimcamera/MSimRadout.[h,cc], msimcamera/SimCameraLinkDef.h, 31 msimcamera/Makefile, msimcamera/MSimCalibrationSignal.[h,cc], 32 msimcamera/SimCameraIncl,h: 33 - added 34 35 * mjobs/MJob.cc: 36 - included TClass for newer root versions 37 38 * mreflector/MRflEvtData.cc: 39 - repaced a use of MHexagon by a direct use of MGeomCam 40 41 * melectronics/MAvalanchePhotoDiode.[h,cc]: 42 - added some getters 43 - remobved some obsolete comment 44 - set entries to 1 by default 45 46 * mgeom/MGeomCam.[h,cc]: 47 - split the Get[Max,Min]Radius into two member functions 48 - added the HitDetector based on the maximum radius calculated 49 50 * mgeom/MGeomCamDwarf.[h,cc], mgeom/MGeomCamMagic.[h,cc]: 51 - removed overloading of the new HitDetector 52 53 * mgeom/MGeomPix.[h,cc]: 54 - reset fUserBits in constructor according to a suggestion by valgrind 55 - added GetT member function 56 57 * mjobs/MJSpectrum.cc: 58 - replaced some Form calls for sanity by MString::Format 59 - check the result of CheckEnv 60 61 * mjobs/MJStar.cc: 62 - check the result of CheckEnv 63 64 * mjobs/MJob.cc: 65 - fixed a typo in the name for the seed value resource 66 67 * mraw/MRawRunHeader.h: 68 - added a getter for run type point run 69 70 * msignal/MSignalCalc.cc: 71 - don't execute Process at all if fPedestal==NULL 72 73 * msignal/MSignalCam.cc: 74 - aded case 10 and 11 to GetPixelContent 75 76 * msim/MHPhotonEvent.cc: 77 - replaced case 4 by using the traversal distance in the 0-pixel 78 79 * msimcamera/MSimSignalCam.cc: 80 - set pixel only to used if contents>0 81 82 * msimcamera/MSimTrigger.[h,cc]: 83 - added ReadEnv for setup from a resource file 84 85 * msimreflector/MReflector.[h,cc]: 86 - store file name in title 87 - added ReadEnv for setup from a resource file 88 89 * msimreflector/MSimReflector.[h,cc]: 90 - changed copyright notice 91 - added fDetectorMargin 92 93 20 94 21 95 2009/01/24 Thomas Bretz -
trunk/MagicSoft/Mars/NEWS
r9249 r9262 30 30 minus). This allows to use file names starting with a - 31 31 32 * In all resource files you can now initialize the random number 33 generator. For details see: MJob::InitRandomNumberGenerator 34 32 35 * added a new program called ''readcorsika''. It's purpose is (in analogy 33 36 to readraw and readdaq) to read a Corsika output file (for now … … 35 38 human readable form. It can also write the contents of this file 36 39 into a root-file. 40 41 * The calculation of the maximum distance to the origin in a MGeomCam 42 has been improved (edges might be further away than the sides). 43 This is just a tiny change but it might change the appearance of 44 the radial profiles a little bit. 37 45 38 46 ;Database -
trunk/MagicSoft/Mars/msimreflector/MReflector.cc
r9252 r9262 120 120 Bool_t MReflector::ReadFile(TString fname) 121 121 { 122 SetTitle(fname); 123 122 124 gSystem->ExpandPathName(fname); 123 125 … … 265 267 } 266 268 269 // -------------------------------------------------------------------------- 270 // 271 // FileName: reflector.txt 272 // 273 Int_t MReflector::ReadEnv(const TEnv &env, TString prefix, Bool_t print) 274 { 275 Bool_t rc = kFALSE; 276 if (IsEnvDefined(env, prefix, "FileName", print)) 277 { 278 rc = kTRUE; 279 if (!ReadFile(GetEnvValue(env, prefix, "FileName", ""))) 280 return kERROR; 281 } 282 283 return rc; 284 } -
trunk/MagicSoft/Mars/msimreflector/MReflector.h
r9236 r9262 28 28 void InitMaxR(); 29 29 30 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print); 31 30 32 public: 31 33 MReflector(const char *name=NULL, const char *title=NULL);
Note:
See TracChangeset
for help on using the changeset viewer.