Changeset 5384 for trunk/MagicSoft/Mars/mcalib
- Timestamp:
- 11/11/04 11:58:03 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mcalib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.