ROOT logo
AliRoot » PWGJE » USERTASKS » AliAnalysisTaskJetShape::AliAnalysisTaskJetShapeTool

class AliAnalysisTaskJetShape::AliAnalysisTaskJetShapeTool: public TObject

Function Members (Methods)

public:
virtual~AliAnalysisTaskJetShapeTool()
voidTObject::AbstractMethod(const char* method) const
voidAdd(TVector3 v)
voidAddToB1(Int_t b, Int_t i, Int_t index)
voidAddToB2(Int_t b, Int_t i, Int_t index)
voidAddToJ(Int_t b, Int_t i, Int_t index)
AliAnalysisTaskJetShape::AliAnalysisTaskJetShapeToolAliAnalysisTaskJetShapeTool()
AliAnalysisTaskJetShape::AliAnalysisTaskJetShapeToolAliAnalysisTaskJetShapeTool(TClonesArray* list)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static Double_tCalcdPhi(Double_t phi1, Double_t phi2)
static Double_tCalcdPhi0To2pi(Double_t phi1, Double_t phi2 = 0.)
static Double_tCalcdPhiSigned(Double_t phi1, Double_t phi2)
static TClass*Class()
virtual const char*TObject::ClassName() const
voidClean()
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
Bool_tFindCorrelationAxes(TArrayI list, TVector3 vec, Double_t& Phi, Int_t scenario = 3)
Bool_tFindCorrelationAxesCorr(TArrayI list, TVector3 vec, Double_t& Phi, Int_t scenario, Double_t R)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
TVector3*GetAt(Int_t i)
TVector3*GetB1(Int_t b, Int_t i, Int_t p)
TVector3*GetB2(Int_t b, Int_t i, Int_t p)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
TVector3*GetJ(Int_t b, Int_t i, Int_t p)
TArrayIGetListB1(Int_t b, Int_t i)
TArrayIGetListB2(Int_t b, Int_t i)
TArrayIGetListJ(Int_t b, Int_t i)
Double_tGetLocPhi(TVector3 v, Int_t i)
Double_tGetLocPhiB1(Int_t b, Int_t i, Int_t index)
Double_tGetLocPhiB2(Int_t b, Int_t i, Int_t index)
Double_tGetLocPhiJ(Int_t b, Int_t i, Int_t index)
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
TVector3GetPRecInRJ()
TVector3GetPRecJ(Int_t b, Int_t i)
Double_tGetR(Int_t b)
Int_tGetSizeB1(Int_t b, Int_t i)
Int_tGetSizeB2(Int_t b, Int_t i)
Int_tGetSizeJ(Int_t b, Int_t i)
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
TVector3GetVecB1()
TVector3GetVecB2()
TVector3GetVecJ()
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
voidInit()
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
voidPRINT() const
virtual voidTObject::Print(Option_t* option = "") const
voidPRINT(TArrayI a, Int_t n, const char* txt = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetNEntries(Int_t n)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetPtMinTr(Double_t a, Double_t b)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidSetVecJ(TVector3 v)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

private:
Int_tfEntries
TClonesArray*fList!
TArrayIfListB1[3][2]
Int_tfListB1c[3][2]
TArrayIfListB2[3][2]
Int_tfListB2c[3][2]
TArrayIfListJ[3][2]
Int_tfListJc[3][2]
TVector3fPRecInRJ
TVector3fPRecJ[3][2]
Double_tfPtMinTr[2]
Double_tfR[3]
Double_tfRmax
static const Int_tfgkbinRn bins
TVector3fvecB1
TVector3fvecB2
TVector3fvecJ

Class Charts

Inheritance Chart:
TObject
AliAnalysisTaskJetShape::AliAnalysisTaskJetShapeTool

Function documentation

AliAnalysisTaskJetShapeTool()
AliAnalysisTaskJetShapeTool(TClonesArray* list)
~AliAnalysisTaskJetShapeTool()
void SetVecJ(TVector3 v)
void Clean()
  printf("AnalJetSubStrTool::Clean()\n");

  fList->Delete();
  for(Int_t i1=0; i1<fgkbinR; i1++)
    {
      for(Int_t i2=0; i2<2; i2++)
	{
	  fListJ[i1][i2]->Delete();
	  fListB1[i1][i2]->Delete();
	  fListB2[i1][i2]->Delete();
	}
    }


void PRINT() const
void PRINT(TArrayI a, Int_t n, const char* txt = "") const
void Init()
Double_t CalcR(TVector3 v1, TVector3 v2)
Double_t CalcdPhi(Double_t phi1, Double_t phi2)
void GetLocalMom(TVector3 vecJ, TVector3* q)
 theta and phi of a particle in loc.syst of fvecJ
Bool_t FindCorrelationAxes(TArrayI list, TVector3 vec, Double_t& Phi, Int_t scenario = 3)
 scenario 0- Pmax, 1-Pzmax_Local, 2->cosMin, 3-PTmac, 4->PTmax_Local
Bool_t FindCorrelationAxesCorr(TArrayI list, TVector3 vec, Double_t& Phi, Int_t scenario, Double_t R)
 scenario 0- Pmax, 1-Pzmax_Local, 2->cosMin, 3-PTmac, 4->PTmax_Local
AliAnalysisTaskJetShapeTool()
AnalJetSubStrTool(TList *list, TVector3 v);
void SetPtMinTr(Double_t a, Double_t b)
{fPtMinTr[0] = a; fPtMinTr[1] = b;}
void SetNEntries(Int_t n)
{fEntries = n;}
TArrayI GetListJ(Int_t b, Int_t i)
{return fListJ[b][i];}
TArrayI GetListB1(Int_t b, Int_t i)
{return fListB1[b][i];}
TArrayI GetListB2(Int_t b, Int_t i)
{return fListB2[b][i];}
Int_t GetSizeJ(Int_t b, Int_t i)
{return fListJc[b][i];}
Int_t GetSizeB1(Int_t b, Int_t i)
{return fListB1c[b][i];}
Int_t GetSizeB2(Int_t b, Int_t i)
{return fListB2c[b][i];}
TVector3 * GetJ(Int_t b, Int_t i, Int_t p)
{ return (TVector3*)GetAt(fListJ[b][i].At(p)); }
TVector3 * GetB1(Int_t b, Int_t i, Int_t p)
{ return (TVector3*)GetAt(fListB1[b][i].At(p)); }
TVector3 * GetB2(Int_t b, Int_t i, Int_t p)
{ return (TVector3*)GetAt(fListB2[b][i].At(p)); }
TVector3 GetVecJ()
{return fvecJ;}
TVector3 GetVecB1()
{return fvecB1;}
TVector3 GetVecB2()
{return fvecB2;}
Double_t GetR(Int_t b)
{return fR[b];}
TVector3 * GetAt(Int_t i)
Double_t GetLocPhi(TVector3 v, Int_t i)
return CalcdPhi0To2pi(phi)
Double_t GetLocPhiJ(Int_t b, Int_t i, Int_t index)
Double_t GetLocPhiB1(Int_t b, Int_t i, Int_t index)
Double_t GetLocPhiB2(Int_t b, Int_t i, Int_t index)
void Add(TVector3 v)
 { new(fList[fList.GetEntriesFast()]) TVector3(v);}
{ new((*fList)[fEntries]) TVector3(v); fEntries++;}
void AddToJ(Int_t b, Int_t i, Int_t index)
void AddToB1(Int_t b, Int_t i, Int_t index)
void AddToB2(Int_t b, Int_t i, Int_t index)
TVector3 GetPRecJ(Int_t b, Int_t i)
{return fPRecJ[b][i];}
TVector3 GetPRecInRJ()
{return fPRecInRJ;}
Double_t CalcdPhiSigned(Double_t phi1, Double_t phi2)
AliAnalysisTaskJetShapeTool& operator=(const AliAnalysisTaskJetShape::AliAnalysisTaskJetShapeTool& )