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

Last change on this file since 2037 was 1014, checked in by tbretz, 23 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
31public:
32
33 MPedCalcPedRun(const char *name=NULL, const char *title=NULL);
34
35 Bool_t PreProcess(MParList *pList);
36 Bool_t Process();
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.