]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMDGainDA.h
Added the AliTrackReference::kFMD to enable the TrackRefs to be stored
[u/mrichter/AliRoot.git] / FMD / AliFMDGainDA.h
index 07e6b9522a6a21754d06dcef4391e99e8e6b407b..5a7fb278fa11dd8751e8210f6f38bf83c0d709a0 100644 (file)
@@ -21,12 +21,12 @@ class AliFMDGainDA: public AliFMDBaseDA {
   
   AliFMDGainDA() ;
   AliFMDGainDA(const AliFMDGainDA & gainDA) ;
-  AliFMDGainDA& operator = (const AliFMDGainDA & gainDA) ; 
+  //  AliFMDGainDA& operator = (const AliFMDGainDA & gainDA) ; 
   virtual ~AliFMDGainDA();
   void Init();
-  void SetPulseSize(Int_t pulseSize = 32) {fPulseSize = pulseSize; }
+  // void SetPulseSize(Int_t pulseSize = 32) {fPulseSize = pulseSize; }
   void SetMaxPulse(Int_t highPulse = 256) {fHighPulse = highPulse; }
-  void SetPulseLength(Int_t pulseLength = 100) {fPulseLength = pulseLength; }
+  //  void SetPulseLength(Int_t pulseLength = 100) {fPulseLength = pulseLength; }
   void SetNumberOfStrips(Int_t nStrips) {fNumberOfStripsPerChip = nStrips;}
 
  protected:
@@ -38,20 +38,24 @@ class AliFMDGainDA: public AliFMDBaseDA {
   void UpdatePulseAndADC(UShort_t det, Char_t ring, UShort_t sec, UShort_t strip);
   void ResetPulseAndUpdateChannel();
   void FinishEvent();
+  void Terminate(TFile* );
   
  private:
   
   TH1S* GetChannelHistogram(UShort_t det, Char_t ring, UShort_t sec, UShort_t strip);
   TGraphErrors* GetChannel(UShort_t det, Char_t ring, UShort_t sec, UShort_t strip);
   TObjArray fGainArray;
-  Int_t fPulseSize;
+  //  Int_t fPulseSize;
   Int_t fHighPulse;
-  Int_t fPulseLength;
-  Int_t fEventsPerChannel;
-  Int_t fCurrentPulse;
-  Int_t fCurrentChannel;
+  //Int_t fPulseLength;
+  TArrayS fEventsPerChannel;
+  TArrayS fCurrentPulse;
+  TArrayS fCurrentChannel;
   Int_t fNumberOfStripsPerChip;
   
+  TH1F fSummaryGains;
+  Int_t fCurrentSummaryStrip;
+  
   ClassDef(AliFMDGainDA,0)
 
 };