]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliDBPPR.h
#102990: Patch for compilation on Mavericks
[u/mrichter/AliRoot.git] / PHOS / AliDBPPR.h
1 #ifndef ALIDBPPR_H
2 #define ALIDBPPR_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice     */
5 /* $Id$ */
6 //_________________________________________________________________________
7 //  Class for the DB table PPR
8 //
9 //*-- Author: Yves Schutz (SUBATECH)
10  
11 #include <assert.h> 
12 // --- ROOT system ---
13 class TDatime ; 
14  
15 // --- AliRoot header files ---
16  
17 class AliDBPPR : public TObject {
18  
19  public:
20   AliDBPPR() ;
21   AliDBPPR(const AliDBPPR & obj) {assert(0==1);}
22   ~AliDBPPR() ;
23   const char * GetField(Int_t index) const { return fFields[index].Data() ; } 
24   const TString * GetFields() const { return fFields ; } 
25   const Int_t GetNfields() const { return fNfields ; } 
26   void GetEntry(Option_t * opt ="next") ;  
27   const Int_t GetRUN() const {return fRUN ;}  
28   const Int_t GetEVENT() const {return fEVENT ;}  
29   const TDatime GetDATE() const {return fDATE ;}  
30   const TString GetSIMULATION() const {return fSIMULATION ;}  
31   const TString GetDIGITIZATION() const {return fDIGITIZATION ;}  
32   const TString GetRECONSTRUCTION() const {return fRECONSTRUCTION ;}  
33  
34  private:
35   Int_t fCurrentEntry ; // Current entry to be retrieved from table
36   Int_t fNfields ; // number of fields in the table 
37   TString * fFields ; //[fNfields] list of fields in the table 
38   Int_t fRUN ; // RUN 
39   Int_t fEVENT ; // EVENT 
40   TDatime fDATE ; // DATE 
41   TString fSIMULATION ; // SIMULATION 
42   TString fDIGITIZATION ; // DIGITIZATION 
43   TString fRECONSTRUCTION ; // RECONSTRUCTION 
44  
45 ClassDef(AliDBPPR,1) // DB class for table PPR 
46 } ;
47 #endif