source: trunk/MagicSoft/Mars/manalysis/MPedCalcPedRun.h@ 2419

Last change on this file since 2419 was 2237, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 1.4 KB
Line 
1#ifndef MARS_MPedCalcPedRun
2#define MARS_MPedCalcPedRun
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MPedCalcPedRun //
7// //
8// Evaluate the pedestals from pedestal runs //
9// //
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef MARS_MTask
13#include "MTask.h"
14#endif
15
16class MRawEvtData;
17class MPedestalCam;
18
19class MPedCalcPedRun : public MTask
20{
21 Byte_t fNumHiGainSamples;
22
23 MRawEvtData *fRawEvt; // raw event data (time slices)
24 MPedestalCam *fPedestals; // Pedestals of all pixels in the camera
25
26 Float_t CalcHiGainMean(Byte_t *ptr, const Byte_t *end) const;
27 Float_t CalcHiGainRms(Byte_t *ptr, const Byte_t *end, Float_t higainped) const;
28 //Float_t CalcHiGainMeanErr(Float_t higainrms) const;
29 //Float_t CalcHiGainRmsErr(Float_t higainrms) const;
30
31 Int_t PreProcess(MParList *pList);
32 Int_t Process();
33
34public:
35
36 MPedCalcPedRun(const char *name=NULL, const char *title=NULL);
37
38 ClassDef(MPedCalcPedRun, 0) // Task to calculate pedestals from pedestal runs raw data
39};
40
41#endif
Note: See TracBrowser for help on using the repository browser.