]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSDigitizer.h
Improved the mechanism to divert SDigits into a separate file.
[u/mrichter/AliRoot.git] / PHOS / AliPHOSDigitizer.h
index 3f9ad00e4cb1828ad66c88c25a7f55f0e5b73438..9c50f0ef649315ac9899961fff48b299be9b4468 100644 (file)
@@ -69,7 +69,7 @@ public:
   void    MixWith(const char* HeaderFile) ; // Add another one file to mix
   void    Print(Option_t* option)const ;
   void    Reset() ;   //restarts starts event processing from 0 event(s)
-  void    SetSplitFile(const TString splitFileName = "PHOS.Digits.root") const ;
+  void    SetSplitFile(const TString splitFileName = "PHOS.Digits.root") ;
   void    SetSDigitsBranch(const char* file) ;
 
   AliPHOSDigitizer & operator = (const AliPHOSDigitizer & rvalue)  {
@@ -112,6 +112,7 @@ private:
   Float_t fADCchanelCpv ;           // width of one ADC channel in CPV 'popugais'
   Float_t fADCpedestalCpv ;         // 
   Int_t   fNADCcpv ;                // number of channels in CPV ADC
+  TFile * fSplitFile ;             //! file in which Digits will eventually be stored
 
 
   ClassDef(AliPHOSDigitizer,1)  // description