Added V0A23 (V0 rings 2-3), V0C01 (V0 rings 0-1) and V0S = V0A23+V0C01
[u/mrichter/AliRoot.git] / STEER / STEERBase / AliProdInfo.h
CommitLineData
4cf1e5f2 1#ifndef ALIPRODINFO_H
2#define ALIPRODINFO_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6//---------------------------------------------------------------//
7// Base class for parsing alirootVersion //
8// TNamed object stored in ESD/AOD data //
9// and setup easy getters for end user //
10// //
11// Origin: Pietro Antonioli, INFN-BO, pietro.antonioli@cern.ch //
12// //
13//---------------------------------------------------------------//
14#include <TList.h>
15#include <TNamed.h>
16#include <TObject.h>
17#include <TString.h>
18#include <TObjString.h>
19
20class AliProdInfo : public TNamed {
21public:
22 AliProdInfo();
23 AliProdInfo(const TString& name, const TString& title);
24 AliProdInfo(TList *userInfo);
25 virtual ~AliProdInfo();
26
27 void Init(TList *userInfo);
28 void List() const;
29 TString GetLHCPeriod() const {return fPeriod;}
30 TString GetAlirootVersion() const {return fAlirootVersion;}
31 Int_t GetAlirootSvnVersion() const {return fAlirootSvnVersion;}
32 TString GetRootVersion() const {return fRootVersion;}
33 Int_t GetRootSvnVersion() const {return fRootSvnVersion;}
34 Int_t GetRecoPass() const {return fRecoPass;}
35 Bool_t IsMC() const {return fMcFlag;}
36
37protected:
38 void ParseProdInfo(TNamed *uList);
39
40private:
41 AliProdInfo(const AliProdInfo&);
42 AliProdInfo &operator=(const AliProdInfo&);
43
44 TString fPeriod; // LHC period
45 TString fAlirootVersion; // aliroot version used producing data
46 Int_t fAlirootSvnVersion; // aliroot svn numbering
47 TString fRootVersion; // root version used producing data
48 Int_t fRootSvnVersion; // root svn numbering
49 Bool_t fMcFlag; // MC data: kTrue ; raw data: kFalse
50 Int_t fRecoPass; // Reconstruction pass
51 ClassDef(AliProdInfo, 1); // Combined PID using priors
52};
53
54#endif