Adding stream level and debug streamer to the base class
[u/mrichter/AliRoot.git] / TPC / AliTPCcalibBase.h
index 7a1278e0b6a79431f739260cebfa8f673b8e5668..922465906d2f0a737bbde663e9113b453bd8b927 100644 (file)
 class AliTPCseed;
 class AliESDEvent;
 class TCollection;
+class TTreeSRedirector;
 
 class AliTPCcalibBase:public TNamed {
 public:
   AliTPCcalibBase(); 
+  AliTPCcalibBase(const AliTPCcalibBase&calib);
+  AliTPCcalibBase &operator=(const AliTPCcalibBase&calib);
   virtual ~AliTPCcalibBase();
   virtual void     Process(AliESDEvent */*event*/){return;}
   virtual void     Process(AliTPCseed */*track*/){return;}
   virtual Long64_t Merge(TCollection */*li*/){return 0;}
   virtual void     Analyze(){return;}
- private: 
+  void             Terminate();
+  //
+  // debug streamer support
+  TTreeSRedirector *GetDebugStreamer();
+  void       SetStreamLevel(Int_t streamLevel){fStreamLevel=streamLevel;}
+  void       SetDebugLevel(Int_t level) {fDebugLevel = level;}
+  Int_t      GetStreamLevel() const {return fStreamLevel;}
+  Int_t      GetDebugLevel() const {return fDebugLevel;}
+protected: 
+  TTreeSRedirector *fDebugStreamer;     //! debug streamer
+  Int_t  fStreamLevel;                  //  debug stream level
+private:
+  Int_t  fDebugLevel;                   //  debug level
   ClassDef(AliTPCcalibBase,1)
 };