source: trunk/MagicSoft/Mars/mcalib/MExtractedSignalBlindPixel.h@ 3272

Last change on this file since 3272 was 3269, checked in by gaug, 23 years ago
*** empty log message ***
File size: 1.6 KB
Line 
1#ifndef MARS_MExtractedSignalBlindPixel
2#define MARS_MExtractedSignalBlindPixel
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8class MExtractedSignalBlindPixel : public MParContainer
9{
10private:
11
12 UInt_t fExtractedSignal; // mean value of the extracted signal
13
14 Byte_t fFirst;
15 Byte_t fNumFADCSamples;
16 Byte_t fNumSaturated;
17
18 Float_t fPed;
19 Float_t fPedErr;
20 Float_t fPedRms;
21 Float_t fPedRmsErr;
22
23public:
24
25 MExtractedSignalBlindPixel(const char* name=NULL, const char* title=NULL);
26
27 void Clear(Option_t *o="");
28 void Print(Option_t *o="") const;
29
30 // Setter
31 void SetExtractedSignal(const UInt_t sig) { fExtractedSignal = sig; }
32 void SetNumSaturated( const Byte_t numsat) { fNumSaturated = numsat; }
33 void SetUsedFADCSlices( const Byte_t first, const Byte_t num);
34
35 void SetPed( const Float_t f ) { fPed = f; }
36 void SetPedErr( const Float_t f ) { fPedErr = f; }
37 void SetPedRms( const Float_t f ) { fPedRms = f; }
38 void SetPedRmsErr(const Float_t f ) { fPedRmsErr = f; }
39
40 // Getter
41 UInt_t GetExtractedSignal() const { return fExtractedSignal; }
42
43 Byte_t GetNumFADCSamples() const { return fNumFADCSamples; }
44
45 Bool_t IsValid() const;
46
47 Float_t GetPed() const { return fPed; }
48 Float_t GetPedErr() const { return fPedErr; }
49 Float_t GetPedRms() const { return fPedRms; }
50 Float_t GetPedRmsErr() const { return fPedRmsErr; }
51
52 ClassDef(MExtractedSignalBlindPixel, 0) // Storage Container for Extracted Signal of the blind pixel
53};
54
55#endif
56
57
58
59
Note: See TracBrowser for help on using the repository browser.