]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSPlaneEff.h
Last warnings... fed up to wait
[u/mrichter/AliRoot.git] / ITS / AliITSPlaneEff.h
index 52d3fd40c86bed44781e22f5399a3ae26a1926a5..9aba39c15dc62aff8a153d1a217fb1b60767420b 100644 (file)
@@ -18,7 +18,7 @@ class AliITSgeom;
 //                                                //
 ////////////////////////////////////////////////////
 
-/* $Id$ */
+/* $Id:$ */
 
 class AliITSPlaneEff : public AliPlaneEff {
  public:
@@ -29,7 +29,7 @@ class AliITSPlaneEff : public AliPlaneEff {
     // copy constructor. See detector specific implementation.
     AliITSPlaneEff(const AliITSPlaneEff &source);
     // Assignment operator. See detector specific implementation.
-    virtual AliITSPlaneEff& operator=(const AliITSPlaneEff &source);
+    AliITSPlaneEff& operator=(const AliITSPlaneEff &source);
     // Simple way to add another class (i.e. statistics). 
     //AliITSPlaneEff& operator +=( const AliITSPlaneEff &){return *this};
     // Average Plane efficiency (including dead/noisy)
@@ -74,6 +74,18 @@ class AliITSPlaneEff : public AliPlaneEff {
       {AliError("This method must be implemented in a derived class"); return 999999;};
     virtual Bool_t GetBlockBoundaries(const UInt_t,Float_t&,Float_t&,Float_t&,Float_t&) const
       {AliError("This method must be implemented in a derived class"); return kFALSE;};
+  // Methods for dealing with auxiliary histograms
+    // method to set on/off the creation/updates of histograms (Histos are created/destroyed)
+    virtual void   SetCreateHistos(Bool_t)
+      {AliError("This method must be implemented in a derived class"); return; }
+    virtual Bool_t GetCreateHistos() const {return fHis;};
+    //virtual Bool_t FillHistos(UInt_t, Bool_t, Float_t[2], Float_t[2], Int_t[2])
+    virtual Bool_t FillHistos(UInt_t, Bool_t, Float_t*, Float_t*, Int_t*)
+      {AliError("This method must be implemented in a derived class"); return kFALSE; }
+    virtual Bool_t WriteHistosToFile(TString ,Option_t*)
+      {AliError("This method must be implemented in a derived class"); return kFALSE; }
+    virtual Bool_t ReadHistosFromFile(TString )
+      {AliError("This method must be implemented in a derived class"); return kFALSE; }
 
  protected:
 
@@ -84,6 +96,7 @@ class AliITSPlaneEff : public AliPlaneEff {
     Int_t      fRunNumber;     //! run number (to access CDB)
     TString    fCDBUri;        //! Uri of the default CDB storage
     Bool_t     fInitCDBCalled; //! flag to check if CDB storages are already initialized
+    Bool_t      fHis;           //! if true, then histograms are created and filled 
    
  private:
     //Int_t*   fFound;         // number of associated clusters into a given block (e.g. SPD 1200 chip)