Changeset 5384 for trunk/MagicSoft/Mars
- Timestamp:
- 11/11/04 11:58:03 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5381 r5384 20 20 21 21 -*-*- END OF LINE -*-*- 22 2004/11/11: Markus Gaug 23 24 * mcalib/MCalibrationBlindPix.[h,cc] 25 - introduced new data member: fAreaErr which is not zero for the 26 third blind pixel 27 28 * msignal/MExtractor.cc: 29 - changed default argument of SetNoiseCalculation back from kTRUE 30 to kFALSE 31 32 22 33 2004/11/11: Thomas Bretz 23 34 … … 65 76 66 77 67 68 78 2004/11/10: Abelardo Moralejo 69 79 … … 75 85 on the text messages. At high energies the underestimation of Q 76 86 could be as large as a 20%. 77 78 79 87 80 88 2004/11/10: Markus Gaug -
trunk/MagicSoft/Mars/mcalib/MCalibrationBlindPix.cc
r5009 r5384 101 101 102 102 fArea = fgArea; 103 fAreaErr = 0.; 103 104 104 105 Float_t att[MCalibrationCam::gkNumPulserColors]; … … 226 227 pix.fFlags = fFlags; 227 228 pix.fArea = fArea; 229 pix.fAreaErr = fAreaErr; 228 230 pix.fColor = fColor; 229 231 … … 345 347 // -------------------------------------------------------------------------- 346 348 // 349 // Return fAreaErr^2 / (fArea^2 ) 350 // 351 const Float_t MCalibrationBlindPix::GetAreaRelVar() const 352 { 353 return fAreaErr*fAreaErr/fArea/fArea; 354 } 355 356 357 // -------------------------------------------------------------------------- 358 // 347 359 // Return TMath::Power(10,fAtt[fColor]) 348 360 // … … 498 510 return kFALSE; 499 511 500 fFluxInsidePlexiglassVar = GetLambdaRelVar() + GetQERelVar() + GetAttRelVar() + GetCollEffRelVar() ;512 fFluxInsidePlexiglassVar = GetLambdaRelVar() + GetQERelVar() + GetAttRelVar() + GetCollEffRelVar() + GetAreaRelVar(); 501 513 502 514 // -
trunk/MagicSoft/Mars/mcalib/MCalibrationBlindPix.h
r4986 r5384 38 38 static const Float_t fgCollEffErr; //! Uncertainty Collection Efficiency 39 39 40 Float_t fArea; // Blind Pixel Area 40 Float_t fArea; // Blind Pixel Area 41 Float_t fAreaErr; // Blind Pixel Area Error 41 42 MArrayF fAtt; // Attenuation filter (per color) 42 43 MArrayF fAttErr; // Error attnuation filter (per color) … … 75 76 76 77 // Getters 78 const Float_t GetAreaRelVar () const; 77 79 const Float_t GetAtt () const; 78 80 const Float_t GetAttRelVar () const; … … 109 111 110 112 // Setters 111 void SetArea ( Float_t f ) { fArea = f; } 113 void SetArea ( Float_t f ) { fArea = f; } 114 void SetAreaErr ( Float_t f ) { fAreaErr = f; } 112 115 113 116 void SetAtt ( Int_t n, Float_t *array ) { fAtt .Set(n,array); } … … 138 141 void SetFluxInsidePlexiglassAvailable( const Bool_t b=kTRUE); 139 142 140 ClassDef(MCalibrationBlindPix, 1) // Container Calibration Results Blind Pixel143 ClassDef(MCalibrationBlindPix, 2) // Container Calibration Results Blind Pixel 141 144 }; 142 145
Note:
See TracChangeset
for help on using the changeset viewer.