ROOT logo
AliRoot » PWGCF » CORRELATIONS » JCORRAN » AliJRunTable

class AliJRunTable

Function Members (Methods)

public:
AliJRunTable()
AliJRunTable(const AliJRunTable&)
~AliJRunTable()
voidAddGoodRun(int period, int runnumber)
intGetBeamEnergy(int period) const
const char*GetBeamStr(int ib = -1) const
intGetBeamType() const
intGetBeamType(int period) const
TStringGetBeamTypeStr() const
const char*GetDataStr(int ib = -1) const
const char*GetEnergyStr(int ib = -1) const
static const AliJRunTable&GetInstance()
TStringGetMCPeriod(int period) const
TStringGetMCPeriodFromString(const char* tstr) const
intGetPeriod() const
intGetPeriodCode(TString perstr) const
intGetPeriodFromMCPeriod(const char* tstr)
TStringGetPeriodFromString(const char* tstr) const
TStringGetPeriodMCName() const
TStringGetPeriodName(int period = -1) const
intGetRunNumber() const
intGetRunNumberFromString(const char* tstr)
intGetRunNumberToPeriod(int runnumber)
static AliJRunTable&GetSpecialInstance()
voidInit()
boolIsHeavyIon() const
boolIsPA() const
boolIsPP() const
AliJRunTable*operator()(int run)
AliJRunTable&operator=(const AliJRunTable&)
boolParseString(const char* tstr)
voidSetPeriodInformation(int period, TString name, int beamtype, int datatype, int energy, int run0, int run1, TString MCPeriod)
voidSetRunNumber(int run)

Data Members

public:
enum { kUnknownPeriod
kLHC10b
kLHC10c
kLHC10d
kLHC10e
kLHC10h
kLHC11a
kLHC11b
kLHC11c
kLHC11d
kLHC11e
kLHC11h
kLHC12g
kLHC12h
kLHC13b
kLHC13c
kLHC13d
kLHC13e
kLHC13g
kJNPeriod
kRE
kMC
kPP
kPbPb
kPA
};
private:
intfBeamType[19]comment needed
intfCPeriodcomment needed
TStringfCPeriodMCNamecomment needed
intfCRunNumbercomment needed
intfDataType[19]comment needed
intfEnergy[19]comment needed
vector<int>fGoodRun[19]comment needed
TStringfMCPeriod[19]comment needed
TStringfPeriodName[19]comment needed
longfRunRange[19][2]comment needed

Class Charts

Inheritance Chart:
AliJRunTable

Function documentation

AliJRunTable()
void Init()
 comment needed
TString GetPeriodName(int period = -1) const
 TODO
int GetRunNumberToPeriod(int runnumber)
 comment needed
void SetPeriodInformation(int period, TString name, int beamtype, int datatype, int energy, int run0, int run1, TString MCPeriod)
 comment needed
int GetPeriodCode(TString perstr) const
 comment needed
int GetRunNumberFromString(const char* tstr)
 comment needed
TString GetPeriodFromString(const char* tstr) const
 comment needed
TString GetMCPeriodFromString(const char* tstr) const
 comment needed
int GetPeriodFromMCPeriod(const char* tstr)
 comment needed
bool ParseString(const char* tstr)
 comment needed
const char * GetBeamStr(int ib = -1) const
 comment needed
const char * GetDataStr(int ib = -1) const
 comment needed
AliJRunTable& GetSpecialInstance()
 comment needed
const char * GetEnergyStr(int ib = -1) const
 comment needed
const AliJRunTable& GetInstance()
 comment needed
AliJRunTable()
void AddGoodRun(int period, int runnumber)
{ fGoodRun[period].push_back(runnumber); }
int GetBeamType(int period) const
{ return fBeamType[period]; }
TString GetMCPeriod(int period) const
{ return fMCPeriod[period]; }
int GetBeamEnergy(int period) const
{ return fEnergy[period]; }
int GetPeriod() const
{ return fCPeriod; }
TString GetPeriodMCName() const
{ return fCPeriodMCName; }
int GetBeamType() const
{ return fBeamType[fCPeriod]; }
TString GetBeamTypeStr() const
{ return IsPP()?"pp":IsPA()?"pA":IsHeavyIon()?"PbPb":""; }
void SetRunNumber(int run)
int GetRunNumber() const
{ return fCRunNumber; }
bool IsHeavyIon() const
{ return fBeamType[fCPeriod]==kPbPb; }
bool IsPA() const
{ return fBeamType[fCPeriod]==kPA; }
bool IsPP() const
{ return fBeamType[fCPeriod]==kPP; }
AliJRunTable * operator()(int run)
{ SetRunNumber(run);return this; }