- Timestamp:
- 07/10/01 14:54:23 (23 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r865 r866 8 8 * mmontecarlo/MMcThresholdCalc.cc: 9 9 - changed style of comments 10 - moved sqrt(2) from Postprocess to header. 10 11 11 12 * mmontecarlo/MMcEnerHisto.[cc,h], mmontecarlo/MMcEnerThre.[cc,h], -
trunk/MagicSoft/Mars/mmontecarlo/MMcThresholdCalc.cc
r862 r866 50 50 #include "MHMcEnergy.h" 51 51 52 ClassImp(MMcThresholdCalc) 52 ClassImp(MMcThresholdCalc); 53 54 const Float_t MMcThresholdCalc::fSqrt2 = sqrt(2); 53 55 54 56 // -------------------------------------------------------------------------- … … 168 170 Bool_t MMcThresholdCalc::PostProcess() 169 171 { 170 const Float_t sqrt2 = sqrt(2);171 172 172 for (unsigned int i=0; i<fDimension; i++) 173 173 { … … 183 183 peak = fHMcEnergy[i]->GetGaussPeak(); 184 184 sigma = fHMcEnergy[i]->GetGaussSigma(); 185 fHMcEnergy[i]->Fit(peak - sqrt2*sigma, peak + sqrt2*sigma);185 fHMcEnergy[i]->Fit(peak - fSqrt2*sigma, peak + fSqrt2*sigma); 186 186 } 187 187 return kTRUE; -
trunk/MagicSoft/Mars/mmontecarlo/MMcThresholdCalc.h
r861 r866 29 29 Bool_t *fMustDelete; // delete indicator for selfcreated energy hists 30 30 31 const static Float_t fSqrt2; // sqrt(2) 32 31 33 public: 32 34
Note:
See TracChangeset
for help on using the changeset viewer.