source: trunk/MagicSoft/MarsOctober/mocttest/MCalcPed1.h@ 7551

Last change on this file since 7551 was 452, checked in by harald, 24 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: 777 bytes
Line 
1#ifndef MCALCPED1_H
2#define MCALCPED1_H
3
4#include "Magic.h"
5
6#include "TH1.h"
7#include "TF1.h"
8#include "TFile.h"
9
10#include "MTask.h"
11#include "MObjBuffer.h"
12#include "MPedest.h"
13
14class MHistosAdc;
15class MParList ;
16class MPedest ;
17
18class MCalcPed1 : public MTask
19{
20private:
21
22 char fFileOut[256] ;
23
24 MHistosAdc *fHists; // Pointer to Container with the histograms
25
26 MPedest *fPedData ; // Pointer to Container with Pedestals datas
27
28 public:
29 MCalcPed1( Char_t* fileout = "nooutput" ) {
30 sprintf ( fFileOut, "%s", fileout ) ;
31 } ;
32
33
34 Bool_t PreProcess(MParList * pList);
35 // Bool_t Process() ;
36 Bool_t PostProcess();
37
38 ClassDef(MCalcPed1, 1) // Fill the raw ADC in the histograms
39};
40
41#endif
42
43
44
Note: See TracBrowser for help on using the repository browser.