X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;ds=sidebyside;f=EMCAL%2FAliEMCALCalibMapAPD.h;h=7b99ce3e342c96b62b1528a85b72190c957100c2;hb=8166d5d78ac8d0e29a6e7f7ce86777849b675800;hp=bd74e2b96ff69a2c84183ca436200cdeeeeb63aa;hpb=61917ab3778617578e8c13231f4cc2d98d9c2e86;p=u%2Fmrichter%2FAliRoot.git diff --git a/EMCAL/AliEMCALCalibMapAPD.h b/EMCAL/AliEMCALCalibMapAPD.h index bd74e2b96ff..7b99ce3e342 100644 --- a/EMCAL/AliEMCALCalibMapAPD.h +++ b/EMCAL/AliEMCALCalibMapAPD.h @@ -7,13 +7,16 @@ /* $Id: $ */ #include +#include #include "AliEMCALGeoParams.h" #include class TString; class TTree; /* - Objects of this class contain info on APD calibration and map info + Objects of this class contain info on APD calibration and map info, + such as V30 and other parameters from the tests in Catania/Houston, + as well as info on which APD is located where. */ // ******* internal class definition ************* @@ -45,6 +48,22 @@ class AliEMCALCalibMapAPDVal : public TObject { } public: + void SetHardWareId(Int_t i) { fHardWareId = i; }; // + Int_t GetHardWareId() const { return fHardWareId; }; // + void SetAPDNum(Int_t i) { fAPDNum = i; }; // + Int_t GetAPDNum() const { return fAPDNum; }; // + void SetV30(Float_t f) { fV30 = f; }; // + Float_t GetV30() const { return fV30; }; // + void SetPar(int ip, Float_t f) { fPar[ip] = f; }; // + Float_t GetPar(int ip) const { return fPar[ip]; }; // + void SetParErr(int ip, Float_t f) { fParErr[ip] = f; }; // + Float_t GetParErr(int ip) const { return fParErr[ip]; }; // + void SetBreakDown(Int_t i) { fBreakDown = i; }; // + Int_t GetBreakDown() const { return fBreakDown; }; // + void SetDarkCurrent(Float_t f) { fDarkCurrent = f; }; // + Float_t GetDarkCurrent() const { return fDarkCurrent; }; // + + private: Int_t fHardWareId; // HardWareIndex // info from APD calibrations Int_t fAPDNum; // assigned APD-PA number; Catania 10000-, Houston: 20000- @@ -55,15 +74,14 @@ class AliEMCALCalibMapAPDVal : public TObject { Int_t fBreakDown; // Hamamatsu Breakdown Voltage (V) Float_t fDarkCurrent; // Hamamatsu Dark Current (A) - ClassDef(AliEMCALCalibMapAPDVal, 1) // help class + ClassDef(AliEMCALCalibMapAPDVal, 2) // help class }; // AliEMCALCalibAPDVal // 1 SuperModule's worth of info: info on where the different APDs are class AliEMCALSuperModuleCalibMapAPD : public TObject { public: - // AliEMCALSuperModuleCalibMapAPD(Int_t nSM = 0); - AliEMCALSuperModuleCalibMapAPD() : TObject(), // just init values - fSuperModuleNum(0) + AliEMCALSuperModuleCalibMapAPD(const int smNum=0) : TObject(), // just init values + fSuperModuleNum(smNum) { for (int icol=0; icol