source: trunk/Mars/mcalib/MCalibrationTestPix.h@ 17124

Last change on this file since 17124 was 4649, checked in by gaug, 20 years ago
*** empty log message ***
File size: 1.9 KB
Line 
1#ifndef MARS_MCalibrationTestPix
2#define MARS_MCalibrationTestPix
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8class MCalibrationTestPix : public MParContainer
9{
10private:
11
12 Int_t fPixId; // Software PixId (needed to get Id in calls to Next())
13 Bool_t fExcluded; // If pixels is excluded or not (not interpolateable)
14
15 Float_t fNumPhotons; // Number of calibrated photons
16 Float_t fNumPhotonsErr; // Error Number of calibrated photons
17 Float_t fNumPhotonsPerArea; // Number of calibrated photons per mm^2
18 Float_t fNumPhotonsPerAreaErr; // Error Number of calibrated photons per mm^2
19
20public:
21
22 MCalibrationTestPix(const char *name=NULL, const char *title=NULL);
23 ~MCalibrationTestPix() {}
24
25 void Clear(Option_t *o="");
26
27 // Getters
28 Float_t GetNumPhotons () const { return fNumPhotons; }
29 Float_t GetNumPhotonsErr () const { return fNumPhotonsErr; }
30 Float_t GetNumPhotonsPerArea () const { return fNumPhotonsPerArea; }
31 Float_t GetNumPhotonsPerAreaErr() const { return fNumPhotonsPerAreaErr; }
32 Int_t GetPixId () const { return fPixId; }
33
34 Bool_t IsExcluded () const { return fExcluded; }
35
36 // Setters
37 void SetPixId ( const Int_t i ) { fPixId = i; }
38 void SetExcluded ( const Bool_t b=kTRUE ) { fExcluded = b; }
39 void SetNumPhotons ( const Float_t f ) { fNumPhotons = f; }
40 void SetNumPhotonsErr ( const Float_t f ) { fNumPhotonsErr = f; }
41 void SetNumPhotonsPerArea ( const Float_t f ) { fNumPhotonsPerArea = f; }
42 void SetNumPhotonsPerAreaErr( const Float_t f ) { fNumPhotonsPerAreaErr = f; }
43
44
45 ClassDef(MCalibrationTestPix, 1) // Container for Calibration Test Results Pixel
46};
47
48#endif
49
Note: See TracBrowser for help on using the repository browser.