3 /* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
10 //class Alisegmentation;
13 ////////////////////////////////////////////////////
15 // Virtual base class for Plane Efficiency //
16 // Origin: Giuseppe.Bruno@ba.infn.it //
18 ////////////////////////////////////////////////////
20 class AliPlaneEff : public TObject {
23 AliPlaneEff();// Default constructor
24 virtual ~AliPlaneEff(){;};
25 // copy constructor. See detector specific implementation.
26 AliPlaneEff(const AliPlaneEff &source);
27 // Assignment operator. See detector specific implementation.
28 AliPlaneEff& operator=(const AliPlaneEff &source);
29 // Average Plane efficiency (including dead/noisy)
30 //Int_t GetRunNumber() const {return fRunNumber;}
31 //void SetRunNumber(Int_t n) {fRunNumber=n;}
33 // Write into the data base
34 virtual Bool_t WriteIntoCDB() const
35 {AliError("This method must be implemented in a derived class"); return kFALSE;};
36 virtual Bool_t ReadFromCDB()
37 {AliError("This method must be implemented in a derived class"); return kFALSE;};
38 virtual Bool_t AddFromCDB()
39 {AliError("This method must be implemented in a derived class"); return kFALSE;};
43 virtual void InitCDB(){;};
44 virtual void Copy(TObject &obj) const;
45 //Int_t fRunNumber; //! run number (to access CDB)
46 //TString fCDBUri; //! Uri of the default CDB storage
47 //Bool_t fInitCDBCalled; //! flag to check if CDB storages are already initialized
50 //Int_t fRunNumber; // run number (to access CDB)
52 ClassDef(AliPlaneEff,1) // Plane Efficiency virtual base class