Minor changes
authorcheynis <cheynis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 2 Sep 2008 07:14:17 +0000 (07:14 +0000)
committercheynis <cheynis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 2 Sep 2008 07:14:17 +0000 (07:14 +0000)
VZERO/AliVZEROCalibData.h

index d133f51..5507e02 100644 (file)
@@ -27,55 +27,54 @@ class AliVZEROCalibData: public TNamed {
   Float_t* GetPedestal()   const {return (float*)fPedestal;}
   Float_t  GetSigma(Int_t channel)   const {return fSigma[channel];}
   Float_t* GetSigma()   const {return (float*)fSigma;}
-  Float_t  GetGain(Int_t channel)      const {return fGain[channel];}
-  Float_t* GetGain()   const {return (float*)fGain;}
+  Float_t  GetADCmean(Int_t channel)   const {return fADCmean[channel];}
+  Float_t* GetADCmean()   const {return (float*)fADCmean;}
   Float_t  GetADCsigma(Int_t channel)  const {return fADCsigma[channel];}
   Float_t* GetADCsigma()   const {return (float*)fADCsigma;}
-  
+  Float_t  GetMeanHV(Int_t channel)    const {return fMeanHV[channel];}
+  Float_t* GetMeanHV()   const {return (float*)fMeanHV;} 
+  Float_t  GetWidthHV(Int_t channel)   const {return fWidthHV[channel];}
+  Float_t* GetWidthHV()   const {return (float*)fWidthHV;}
+   
+  Float_t  GetGain(Int_t channel)      const {return fGain[channel];}
+  Float_t* GetGain()   const {return (float*)fGain;}  
   Float_t  GetTimeOffset(Int_t channel)        const {return fTimeOffset[channel];}
   Float_t* GetTimeOffset()   const {return (float*)fTimeOffset;}
   Float_t  GetTimeGain(Int_t channel)  const {return fTimeGain[channel];}
   Float_t* GetTimeGain()   const {return (float*)fTimeGain;}
-  
-  Float_t  GetMeanHV(Int_t channel)    const {return fMeanHV[channel];}
-  Float_t* GetMeanHV()   const {return (float*)fMeanHV;}
-  Float_t  GetWidthHV(Int_t channel)   const {return fWidthHV[channel];}
-  Float_t* GetWidthHV()   const {return (float*)fWidthHV;}
-  
+    
   void     SetPedestal(Float_t val, Int_t channel) {fPedestal[channel]=val;}
   void     SetPedestal(Float_t* Pedestal);
   void     SetSigma(Float_t val, Int_t channel) {fSigma[channel]=val;}
   void     SetSigma(Float_t* Sigma);
-  void            SetGain(Float_t val, Int_t channel) {fGain[channel]=val;}
-  void            SetGain(Float_t* Gain);
+  void            SetADCmean(Float_t val, Int_t channel) {fADCmean[channel]=val;}
+  void            SetADCmean(Float_t* ADCmean);  
   void            SetADCsigma(Float_t val, Int_t channel) {fADCsigma[channel]=val;}
   void            SetADCsigma(Float_t* ADCsigma);
-  
+  void     SetMeanHV(Float_t val, Int_t channel) {fMeanHV[channel]=val;}
+  void     SetMeanHV(Float_t* MeanHV);  
+  void     SetWidthHV(Float_t val, Int_t channel) {fWidthHV[channel]=val;}
+  void     SetWidthHV(Float_t* WidthHV); 
+   
+  void            SetGain(Float_t val, Int_t channel) {fGain[channel]=val;}
+  void            SetGain(Float_t* Gain);  
   void     SetTimeOffset(Float_t val, Int_t channel) {fTimeOffset[channel]=val;}
   void     SetTimeOffset(Float_t* TimeOffset);
   void     SetTimeGain(Float_t val, Int_t channel) {fTimeGain[channel]=val;}
   void     SetTimeGain(Float_t* TimeGain);
   
-  void     SetMeanHV(Float_t val, Int_t channel) {fMeanHV[channel]=val;}
-  void     SetMeanHV(Float_t* MeanHVs);
-  
-  void     SetWidthHV(Float_t val, Int_t channel) {fWidthHV[channel]=val;}
-  void     SetWidthHV(Float_t* WidthHVs);
-
  protected:
   Float_t  fPedestal[128];     // Mean pedestal values
   Float_t  fSigma[128];        // Sigmas of pedestal peaks
-  Float_t  fGain[128];        // ADC mean values
+  Float_t  fADCmean[128];      // ADC mean values
   Float_t  fADCsigma[128];     // ADC sigma values
+  Float_t  fMeanHV[64];        // Mean PMT HV needed to compute MIP value
+  Float_t  fWidthHV[64];       // Width of the PMT HV
   
+  Float_t  fGain[128];        // Gain factor used in digitization only  
   Float_t  fTimeOffset[64];
   Float_t  fTimeGain[64];
 
-  Float_t  fMeanHV[64];                // Mean PMT HV
-  Float_t  fWidthHV[64];               // Width of the PMT HV
-
   ClassDef(AliVZEROCalibData,2)    // VZERO Calibration data
 };