]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliPlaneEff.h
Update the mult corr histograms
[u/mrichter/AliRoot.git] / STEER / AliPlaneEff.h
CommitLineData
7167ae53 1#ifndef ALIPLANEEFF_H
2#define ALIPLANEEFF_H
3/* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6#include <TObject.h>
7#include <TString.h>
8#include "AliLog.h"
9
10//class Alisegmentation;
11//class Aligeom;
12
13////////////////////////////////////////////////////
14// //
15// Virtual base class for Plane Efficiency //
16// Origin: Giuseppe.Bruno@ba.infn.it //
17// //
18////////////////////////////////////////////////////
19
20class AliPlaneEff : public TObject {
21 public:
22
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;}
32 //
5fbd4fd6 33 // Write into (read from) the data base
7167ae53 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;};
5fbd4fd6 40 // Write/read Histograms to/from File
41 virtual Bool_t WriteHistosToFile(TString ,Option_t* )
42 {AliError("This method must be implemented in a derived class"); return kFALSE; }
43 virtual Bool_t ReadHistosFromFile(TString )
44 {AliError("This method must be implemented in a derived class"); return kFALSE; }
45 virtual Bool_t GetCreateHistos() const
46 {AliError("This method must be implemented in a derived class"); return kFALSE; }
b0b80d33 47 virtual void InitCDB(){;};
7167ae53 48
49 protected:
50
7167ae53 51 virtual void Copy(TObject &obj) const;
52 //Int_t fRunNumber; //! run number (to access CDB)
53 //TString fCDBUri; //! Uri of the default CDB storage
54 //Bool_t fInitCDBCalled; //! flag to check if CDB storages are already initialized
55
56 private:
57 //Int_t fRunNumber; // run number (to access CDB)
58
b0b80d33 59 ClassDef(AliPlaneEff,2) // Plane Efficiency virtual base class
7167ae53 60};
61#endif