ROOT logo
AliRoot » PWGCF » CORRELATIONS » JCORRAN » AliJCard

class AliJCard: public AliJBaseCard

last modified FK 6.NOV 2009

blah
 blah

Function Members (Methods)

public:
AliJCard()
AliJCard()
AliJCard(const char* filename)
AliJCard(const AliJCard& obj)
AliJCard(const char* filename)
AliJCard(const AliJCard& obj)
virtual~AliJCard()
virtual~AliJCard()
boolAcceptKinkDaughters(int kinkIndex)
boolAcceptKinkDaughters(int kinkIndex)
voidAliJBaseCard::AddToKeyTable(TString key, int index)
voidAliJBaseCard::AddToKeyTable(TString key, int index)
boolCheckEventZVetrex(double fZVertex, double ZVertErr)
boolCheckEventZVetrex(double fZVertex, double ZVertErr)
boolCheckMinNumTPCClustPt(int NClustersTPC, float fpt)
boolCheckMinNumTPCClustPt(int NClustersTPC, float fpt)
boolCheckTrackImpact(float xyIm, float zIm, float fpt)
boolCheckTrackImpact(float xyIm, float zIm, float fpt)
boolCheckTrackParamsInTPC(int NClustersTPC, float Chi2PerClusterTPC)
boolCheckTrackParamsInTPC(int NClustersTPC, float Chi2PerClusterTPC)
boolDeltaEtaCheck(const AliJBaseTrack* ftk1, const AliJBaseTrack* ftk2)
voidFinishCard()
voidFinishCard()
floatGet(TString keyword, int VectorComponent = 0)
floatGet(corrType ctype, int VectorComponent = 0)
floatGet(TString keyword, int VectorComponent = 0)
floatGet(corrType ctype, int VectorComponent = 0)
intGetBin(corrType ctype, float val)
intGetBin(corrType ctype, float val)
floatGetBinBorder(corrType ctype, int ii)
floatGetBinBorder(corrType ctype, int ii)
doubleGetBinCenter(corrType ctype, int ii)
doubleGetBinCenter(corrType ctype, int ii)
intGetBinFast(corrType ctype, float val)
intGetBinFast(corrType ctype, float val)
floatGetCollisionType()
floatGetCollisionType()
doubleGetCutOnBkgActivity()
doubleGetCutOnBkgActivity()
intGetEventPoolDepth(int cBin)
intGetEventPoolDepth(int cBin)
doubleGetEventV3kv() const
doubleGetEventV3kv() const
floatGetFast(corrType ctype, int VectorComponent = 0)
floatGetFast(corrType ctype, int VectorComponent = 0)
intGetN(TString keyword)
intGetN(corrType ctype)
intGetN(TString keyword)
intGetN(corrType ctype)
intGetNFast(corrType ctype)
intGetNFast(corrType ctype)
intGetNoOfBins(corrType ctype)
intGetNoOfBins(corrType ctype)
floatGetPhotEnergyCut()
TStringAliJBaseCard::GetStr(TString keyword)
TStringAliJBaseCard::GetStr(TString keyword)
TVector*AliJBaseCard::GetVector(TString keyword)
TVector*AliJBaseCard::GetVector(TString keyword)
virtual voidInitCard()
virtual voidInitCard()
boolInPhiRange(float Phi)
boolIsGoodRun(int runID)
boolIsGoodRun(int runID)
boolIsInEtaRange(float eta)
boolIsInEtaRange(float eta)
boolIsInZEDandThetaRange(float zedDC, float theta)
intIsLessThanUpperPairPtCut(double inPairPt)
intIsLessThanUpperPairPtCut(double inPairPt)
boolIsPhoton(AliJPhoton* g)
voidMakeFastCorrTypeIndex()
voidMakeFastCorrTypeIndex()
boolMbTrigger(int triggin) const
boolMbTrigger(int triggin) const
boolMixMBForPi0Mass()
boolMixMBForPi0Mass()
boolMixMBMBForPi0Mass()
boolMixMBMBForPi0Mass()
boolMixPhotonForPi0Mass()
boolMixPhotonForPi0Mass()
boolNotGhost(float zedDC, float PhiDC)
boolNotGhost(float zedDC, float PhiDC)
AliJCard&operator=(const AliJCard& obj)
AliJCard&operator=(const AliJCard& obj)
voidPrintOut()
voidPrintOut()
boolReadEmcalSm(int sm)
boolReadEmcalSm(int sm)
voidAliJBaseCard::ReadInputLine(const char* buffer)
voidAliJBaseCard::ReadInputLine(const char* buffer)
voidAliJBaseCard::ReadLine(const char* buffer)
boolReadPhosSm(int sm)
boolReadPhosSm(int sm)
voidReCompile()
voidSetEventV3kv(double inV3kv)
voidSetEventV3kv(double inV3kv)
boolSimilarCentrality(float c1, float c2, int cbin)
boolSimilarCentrality(float c1, float c2, int cbin)
boolSimilarMultiplicity(float mult1, float mult2)
boolSimilarMultiplicity(float mult1, float mult2)
boolSimilarVertZ(float Z1, float Z2)
boolSimilarVertZ(float Z1, float Z2)
floatVertInZRange(float Z)
floatVertInZRange(float Z)
voidAliJBaseCard::WriteCard(TDirectory* file)
voidAliJBaseCard::WriteCard(TFile* file)
protected:
corrTypeGetCorrType(TString inStr)
corrTypeGetCorrType(TString inStr)
TStringGetKeyWord(corrType ctype)
TStringGetKeyWord(corrType ctype)
intAliJBaseCard::GetNwithIndex(int i)
intAliJBaseCard::GetNwithIndex(int i)
unsigned intAliJBaseCard::GetTVectorIndex(TString keyword, int tol = 0)
unsigned intAliJBaseCard::GetTVectorIndex(TString keyword, int tol = 0)
voidAliJBaseCard::ReadInputCard()
voidAliJBaseCard::ReadInputCard()

Data Members

protected:
vector<int>fIndexVectorarray of float number confg parameter vectors
vector<int>fIndexVectorarray of float number confg parameter vectors
THashListAliJBaseCard::fKeyTablekey map with hash algorithm
THashListAliJBaseCard::fKeyTablekey map with hash algorithm
vector<TString>AliJBaseCard::fKeyWordVectorarray of key words
vector<TString>AliJBaseCard::fKeyWordVectorarray of key words
vector<TString>AliJBaseCard::fValueStringStorage of raw inut string for each item
vector<TString>AliJBaseCard::fValueStringStorage of raw inut string for each item
vector<TVector>AliJBaseCard::fValuesVectorarray of float number confg parameter vectors
vector<TVector>AliJBaseCard::fValuesVectorarray of float number confg parameter vectors
charAliJBaseCard::fcardname[255]file name
charAliJBaseCard::fcardname[255]file name
doublefeventV3kvcomment me
doublefeventV3kvcomment me
TH2D*fhCorrcomment me
TH2D*fhCorrcomment me
intAliJBaseCard::fnentryNumber of lines in cfg file
intAliJBaseCard::fnentryNumber of lines in cfg file
Double_t**fpi0massbin! faster access to pi0 mass bins
Double_t**fpi0massbin! faster access to pi0 mass bins

Class Charts

Inheritance Chart:
AliJBaseCard
AliJCard

Function documentation

AliJCard()
constructor
AliJCard(const char *filename)
constructor
AliJCard(const AliJCard& obj)
 copy constructor
AliJCard& operator=(const AliJCard& obj)
 copy constructor
~AliJCard()
 destructor
void MakeFastCorrTypeIndex()
 make fast findex array
int IsLessThanUpperPairPtCut(double inPairPt)
 pt cut
TString GetKeyWord(corrType ctype)
 get keyword
corrType GetCorrType( TString inStr )
 get corr type
int GetN(corrType ctype)
returns size of TVector
int GetNFast(corrType ctype)
returns size of TVector
float Get(corrType ctype, int VectorComponent)
returns VectorComponent Component of  fValuesVecto`uor TVector for given keyword
float GetFast(corrType ctype, int VectorComponent)
 fast get
void ReCompile()
void InitCard()
 Init card
void FinishCard()
 Finish loading of card
void PrintOut()
 Print out contents of card
int GetBin(corrType ctype, float val)
 get bin
int GetBinFast(corrType ctype, float val)
 fast get bin
bool IsGoodRun(int runID)
 run quality
bool MbTrigger(int triggin)
 MB trigger
bool SimilarVertZ(float Z1, float Z2)
 z vert
bool SimilarMultiplicity(float mult1, float mult2)
 multi
bool SimilarCentrality(float c1, float c2, int cbin)
 centra
bool InPhiRange(float Phi)
 phi
bool CheckTrackParamsInTPC(int NClustersTPC,float Chi2PerClusterTPC)
 tpc pars
bool CheckMinNumTPCClustPt(int NClustersTPC, float fpt)
 tpc pars
bool CheckTrackImpact(float xyIm, float zIm, float fpt)
 tpc pars
bool DeltaEtaCheck(const AliJBaseTrack* ftk1, const AliJBaseTrack* ftk2)
 deta
AliJCard()
AliJCard(const char *filename)
AliJCard(const AliJCard& obj)
AliJCard& operator=(const AliJCard& obj)
virtual ~AliJCard()
void MakeFastCorrTypeIndex()
void PrintOut()
float Get(TString keyword, int VectorComponent=0)
{ return AliJBaseCard::Get(keyword, VectorComponent); }
float Get(corrType ctype, int VectorComponent =0)
float GetFast(corrType ctype, int VectorComponent=0)
int GetN(TString keyword)
{ return AliJBaseCard::GetN(keyword); }
int GetN(corrType ctype)
int GetNFast(corrType ctype)
float GetCollisionType()
Collision Species
{ return Get("CollisionType");}
float VertInZRange(float Z)
v e r t e x
bool CheckEventZVetrex(double fZVertex, double ZVertErr)
Alice vertex  cuts
int IsLessThanUpperPairPtCut(double inPairPt)
int GetNoOfBins(corrType ctype)
c o r r e l a t i o n  bins & borders
{ return GetNFast(ctype)-1; }
float GetBinBorder(corrType ctype, int ii)
{ return GetFast(ctype,ii); }
int GetBin(corrType ctype, float val)
int GetBinFast(corrType ctype, float val)
double GetBinCenter(corrType ctype, int ii)
{ return (GetFast(ctype,ii)+GetFast(ctype,ii+1))/2.;}
int GetEventPoolDepth(int cBin)
m i x i n g
{ return (int) Get("EventPoolDepth",cBin);}
bool SimilarVertZ(float Z1, float Z2)
bool SimilarMultiplicity(float mult1, float mult2)
bool SimilarCentrality(float c1, float c2, int cbin)
bool IsGoodRun(int runID)
run characteristics
bool MbTrigger(int triggin)
trigger
bool IsPhoton(AliJPhoton* g)
photon
{ return g->GetProbPhot() > Get("probPhot"); }
float GetPhotEnergyCut()
{ return Get("minEnergy"); }
bool IsInZEDandThetaRange(float zedDC, float theta)
bool IsInEtaRange(float eta)
  bool   likeSgnCheck(PhJCgl *cgl1, PhJCgl *cgl2);
{return fabs(eta)<Get("EtaRange"); }
bool NotGhost(float zedDC, float PhiDC)
bool CheckTrackParamsInTPC(int NClustersTPC,float Chi2PerClusterTPC)
 bool CheckCovDiagonalElements(double *element){
           if(Get("MaxCovDiagonalElements",0)<0) return true;
           bool isGoodTrack = true;
           for(Int_t i=0;i<5;i++){
           if(Get("MaxCovDiagonalElements",i) < element[i]) isGoodTrack = false;
           }
           return isGoodTrack;
}
bool CheckMinNumTPCClustPt(int NClustersTPC, float fpt)
bool CheckTrackImpact(float xyIm, float zIm, float fpt)
bool AcceptKinkDaughters(int kinkIndex)
double GetCutOnBkgActivity()
void SetEventV3kv(double inV3kv)
{feventV3kv = inV3kv;}
double GetEventV3kv()
{return feventV3kv;}
bool ReadEmcalSm(int sm)
Alice CALO
{ return (bool) Get("EMCAL_SM",sm);}
bool ReadPhosSm(int sm)
{ return (bool) Get("PHOS_SM",sm);}
bool MixPhotonForPi0Mass()
{return ((int) Get("massMix")==1);}
bool MixMBForPi0Mass()
{return ((int) Get("massMixMB")>0);}
bool MixMBMBForPi0Mass()
{return ((int) Get("massMixMB")==2);}
void InitCard()
void FinishCard()
TString GetKeyWord(corrType ctype)
corrType GetCorrType( TString inStr )