]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALCalibMapAPD.h
one more coverity sprintf vs snprintf + tmp enable triggerConfig check also for pedes...
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALCalibMapAPD.h
index 89f459188c0bab3aadbade7539538d4c8ccbc13c..7b99ce3e342c96b62b1528a85b72190c957100c2 100644 (file)
@@ -14,7 +14,9 @@ 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 *************
@@ -95,8 +97,8 @@ class AliEMCALSuperModuleCalibMapAPD : public TObject {
     { return &fAPDVal[icol][irow]; };
 
  private:
-  Int_t fSuperModuleNum;
-  AliEMCALCalibMapAPDVal fAPDVal[AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows];
+  Int_t fSuperModuleNum; // SuperModule index
+  AliEMCALCalibMapAPDVal fAPDVal[AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows]; // APD calibration info
   
   ClassDef(AliEMCALSuperModuleCalibMapAPD, 2) // help class
 };
@@ -123,13 +125,12 @@ public:
   // pointer to stored info.
   Int_t GetNSuperModule() const { return fNSuperModule; }; 
 
-  // - via the index in the stored array:
+  // on a SuperModule level
   virtual AliEMCALSuperModuleCalibMapAPD * GetSuperModuleCalibMapAPDId(Int_t smIndex) const
-   { return (AliEMCALSuperModuleCalibMapAPD*) fSuperModuleData[smIndex]; };
-
-  // - or via the actual SM number
-  virtual AliEMCALSuperModuleCalibMapAPD * GetSuperModuleCalibMapAPDNum(Int_t smNum) const;
+    { return (AliEMCALSuperModuleCalibMapAPD*) fSuperModuleData[smIndex]; }; // - via the index in the stored array:
 
+  virtual AliEMCALSuperModuleCalibMapAPD * GetSuperModuleCalibMapAPDNum(Int_t smNum) const;   // - or via the actual SM number
+  
   // method to calculate gain M from fit parameters, and HV value
   Float_t GetGain(Float_t fitPar[3], Float_t HV) const 
     { return (fitPar[0] + fitPar[1] * exp(fitPar[2]*HV)); };