source: trunk/MagicSoft/Mars/manalysis/MMcPedestalNSBAdd.h@ 1132

Last change on this file since 1132 was 1132, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 1.3 KB
Line 
1#ifndef MARS_MMcPedestalNSBAdd
2#define MARS_MMcPedestalNSBAdd
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MMcPedestalNSBAdd //
7// //
8// This task adds the contribution to pedestal rms from the NSB in the //
9// MARS Container (MPedestals). //
10// //
11/////////////////////////////////////////////////////////////////////////////
12
13#ifndef MARS_MTask
14#include "MTask.h"
15#endif
16
17class MMcFadcHeader;
18class MGeomCam;
19class MPedestalCam;
20
21class MMcPedestalNSBAdd : public MTask
22{
23private:
24 MMcFadcHeader *fFadc;
25 const MGeomCam *fGeom;
26 MPedestalCam *fPedCam;
27
28 Float_t fDnsbPixel;
29
30 Bool_t CheckRunType(MParList *pList) const;
31 Float_t GetDnsb(MParList *pList) const;
32
33public:
34 MMcPedestalNSBAdd(const Float_t difnsb = -1.0,
35 const char *name=NULL, const char *title=NULL);
36
37 Bool_t PreProcess(MParList *pList);
38
39 virtual Bool_t ReInit(MParList *pList);
40
41 ClassDef(MMcPedestalNSBAdd, 0) // Task which adds the NSB fluctuations to the pedestals rms
42};
43
44#endif
Note: See TracBrowser for help on using the repository browser.