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

Last change on this file since 839 was 805, checked in by jflix, 23 years ago
Modification done to MPedCalcPedRun.h
File size: 1.3 KB
Line 
1#ifndef MPEDCALCPEDRUN_H
2#define MPEDCALCPEDRUN_H
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MPedCalcPedRun //
7// //
8// Evaluate the pedestals from pedestal runs //
9// //
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef MTASK_H
13#include "MTask.h"
14#endif
15
16class MRawEvtData;
17class MPedestalCam;
18
19class MPedCalcPedRun : public MTask
20{
21
22 MRawEvtData *fRawEvt; // raw event data (time slices)
23 MPedestalCam *fPedestals; // Pedestals of all pixels in the camera
24
25public:
26
27 MPedCalcPedRun(const char *name=NULL, const char *title=NULL);
28
29 Bool_t PreProcess(MParList *pList);
30 Bool_t Process();
31
32 Float_t PedMeanCalcHiGain(Byte_t *ptr, const Byte_t *end);
33 Float_t PedRmsCalcHiGain(Byte_t *ptr, const Byte_t *end, Float_t HiGainPed);
34 Float_t PedMeanErrCalcHiGain(Float_t HiGainRms);
35 Float_t PedRmsErrCalcHiGain(Float_t HiGainRms);
36
37 ClassDef(MPedCalcPedRun, 0) // Task to calculate pedestals from pedestal runs raw data
38};
39
40#endif
Note: See TracBrowser for help on using the repository browser.