- Timestamp:
- 08/21/03 15:24:03 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mhist
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHCamEvent.cc
r2265 r2312 136 136 } 137 137 138 void MHCamEvent::PrintOutlayers(Float_t s) const 139 { 140 const Double_t mean = fSum->GetMean(); 141 const Double_t rms = fSum->GetRMS(); 142 143 *fLog << all << underline << GetDescriptor() << ": Mean=" << mean << ", Rms=" << rms << endl; 144 145 for (unsigned int i=0; i<fSum->GetNumPixels(); i++) 146 { 147 if (!fSum->IsUsed(i)) 148 continue; 149 150 if ((*fSum)[i+1]>mean+s*rms) 151 *fLog << "Contents of Pixel-Index #" << i << ": " << (*fSum)[i+1] << " > " << s << "*rms" << endl; 152 // if ((*fSum)[i+1]==0) 153 // *fLog << "Contents of Pixel-Index #" << i << ": " << (*fSum)[i+1] << " == 0" << endl; 154 // if ((*fSum)[i+1]<fSum->GetMean()-s*fSum->GetRMS()) 155 // *fLog << "Contents of Pixel-Index #" << i << ": " << (*fSum)[i+1] << " < " << s << "*rms" << endl; 156 } 157 } 158 138 159 // -------------------------------------------------------------------------- 139 160 // -
trunk/MagicSoft/Mars/mhist/MHCamEvent.h
r2229 r2312 34 34 void Draw(Option_t *o=""); 35 35 36 void PrintOutlayers(Float_t s) const; 37 36 38 ClassDef(MHCamEvent, 1) // Histogram to sum camera events 37 39 };
Note:
See TracChangeset
for help on using the changeset viewer.