00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00014
00015 #ifndef LIPLANE_H
00016 #define LIPLANE_H
00017
00018 #include <vector>
00019 #include <string>
00020
00021 #include "TObject.h"
00022
00023 #include "LISummary/LILookup.h"
00024
00025 class LIPlane : public TObject
00026 {
00027
00028 public:
00029
00030 LIPlane(Int_t firstStrip,Int_t lastStrip);
00031 ~LIPlane();
00032
00033
00034 void SetPoint(Int_t stripEnd,Int_t strip,Double_t adc,
00035 Double_t gain,Double_t gainErr,Double_t numEnt);
00036
00037
00038 Double_t GetAdc(Int_t stripEnd,Int_t strip);
00039 std::vector<Double_t> GetAdc();
00040 Double_t GetGain(Int_t stripEnd,Int_t strip);
00041 Double_t GetGainErr(Int_t stripEnd,Int_t strip);
00042 Double_t GetNumEnt(Int_t stripEnd,Int_t strip);
00043
00044 private:
00045
00046
00047 void InitialiseVariables(Int_t firstStrip,Int_t lastStrip);
00048
00049
00050
00051
00052
00053 std::vector<Double_t> fAdc;
00054 std::vector<Double_t> fAdc2;
00055 std::vector<Double_t> fGain;
00056 std::vector<Double_t> fGain2;
00057 std::vector<Double_t> fGainErr;
00058 std::vector<Double_t> fGainErr2;
00059 std::vector<Double_t> fNumEnt;
00060 std::vector<Double_t> fNumEnt2;
00061 std::vector<Double_t> fCounter;
00062 std::vector<Double_t> fCounter2;
00063
00064 Int_t fFirstStrip;
00065 Int_t fLed;
00066 Double_t fHighestPh;
00067 Double_t fHighestPin;
00068 Int_t fLastStrip;
00069 Double_t fLowestPh;
00070 Double_t fLowestPin;
00071 Double_t fMaxPin;
00072 Double_t fMaxPin2;
00073 Double_t fMinAdc;
00074 Double_t fMaxAdc;
00075 Int_t fPulserBox;
00076 std::string fS;
00077
00078 ClassDef(LIPlane,0)
00079 };
00080
00081 #endif // LIPLANE_H