| Last change
 on this file since 8751 was             452, checked in by harald, 25 years ago | 
        
          | Further improvements in the layout of some guiclasses.
Know the fundament for calculating the pedestals is created with
the first implementation of the classes MPixPedest and MPedest.
A first task for calculating the pedestals is set up (MCalcPed1). | 
        
          | File size:
            506 bytes | 
      
      
| Line |  | 
|---|
| 1 | #include "MPixPedest.h" | 
|---|
| 2 |  | 
|---|
| 3 | #include <iostream.h> | 
|---|
| 4 |  | 
|---|
| 5 |  | 
|---|
| 6 | ClassImp(MPixPedest) | 
|---|
| 7 |  | 
|---|
| 8 |  | 
|---|
| 9 | MPixPedest::MPixPedest() | 
|---|
| 10 | { | 
|---|
| 11 | //   default constructor | 
|---|
| 12 | // | 
|---|
| 13 |  | 
|---|
| 14 | fMean    = 0. ; | 
|---|
| 15 | fErrMean = 0. ; | 
|---|
| 16 |  | 
|---|
| 17 | fSig     = 0. ; | 
|---|
| 18 | fErrSig  = 0. ; | 
|---|
| 19 | } | 
|---|
| 20 |  | 
|---|
| 21 |  | 
|---|
| 22 | MPixPedest::~MPixPedest() | 
|---|
| 23 | { | 
|---|
| 24 | //  default constructor | 
|---|
| 25 |  | 
|---|
| 26 | } | 
|---|
| 27 |  | 
|---|
| 28 | void MPixPedest::Print() | 
|---|
| 29 | { | 
|---|
| 30 | //   information about the content on screen | 
|---|
| 31 |  | 
|---|
| 32 | cout << " MPixPedest:  Mean:" << fMean << " +- " << fErrMean | 
|---|
| 33 | << "        Sigma: " << fSig << " +- " << fErrSig | 
|---|
| 34 | << endl ; | 
|---|
| 35 | } | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.