AliPhysics  5364b50 (5364b50)
AliAnalysisTaskdPhi Class Reference

#include <AliAnalysisTaskdPhi.h>

Inheritance diagram for AliAnalysisTaskdPhi:

Public Member Functions

 AliAnalysisTaskdPhi (const char *name="slindal_dPhi")
 
virtual ~AliAnalysisTaskdPhi ()
 
virtual void UserCreateOutputObjects ()
 
More...
 
virtual void SetUpBins ()
 
More...
 
virtual void UserExec (Option_t *option)
 
virtual void Terminate (Option_t *)
 
TAxisGetAxistPt ()
 
TAxisGetAxiscPt ()
 
TAxisGetAxisdEta ()
 
TAxisGetAxisTrigEta ()
 
TAxisGetAxisAssEta ()
 
TAxisGetAxisPhi ()
 
TAxisGetAxisZ ()
 
TAxisGetAxisCent ()
 
TAxisGetAxisPiMass ()
 
void SetV0Filter (AliConvEventCuts *filterEvent, AliConversionPhotonCuts *filter)
 
void AddEventFilter (TObject *filter, Bool_t high=kTRUE)
 
void AddV0Filter (TObject *filter, Bool_t high=kTRUE)
 
void AddMesonFilter (TObject *filter, Bool_t high=kTRUE)
 
void AddTrackFilter (TObject *filter, Bool_t high=kTRUE)
 
void SetCorrectionMap (THnF *map)
 
void SetEventFilter (AliConvEventCuts *filter)
 
void SetMesonFilter (AliConversionMesonCuts *filter)
 
void SetPhotonFilter (AliConversionPhotonCuts *filter)
 
void SetV0Reader (AliV0ReaderV1 *reader)
 
void SaveReaderHists (Bool_t save=kTRUE)
 
AliAnalysisCuts * GetTrackCuts () const
 
void SetTrackFilter (AliAnalysisCuts *cuts)
 

Protected Member Functions

TClonesArray * GetConversionGammas (Bool_t isAOD)
 

Private Member Functions

Double_t GetTrackCorrection (Double_t vtxz, AliVTrack *track)
 
Float_t GetDPhi (Float_t dPhi)
 Get the distance in phi between trigger particle and correlated particle. More...
 
THnSparseF * CreateSparse (TString nameString, TString titleString, TList *axesList)
 
More...
 
Int_t GetBin (TAxis &axis, Double_t value)
 
THnSparseF * GetMEHistogram (Int_t binz, Int_t binc, TObjArray *array)
 
void Process (TObjArray *gammas, TObjArray *tracks, Float_t cent, Float_t vtxz)
 
void FindDeltaAODBranchName (AliVEvent *event)
 
 AliAnalysisTaskdPhi (const AliAnalysisTaskdPhi &)
 
AliAnalysisTaskdPhioperator= (const AliAnalysisTaskdPhi &)
 

Private Attributes

TListfHistograms
 Members. More...
 
THnSparseF * fCorrSparse
 
THnSparseF * fTrigSparse
 
THnSparseF * fTrackSparse
 
THnSparseF * fMassSparse
 
AliV0ReaderV1fV0Reader
 
Bool_t fSaveReaderHists
 
AliConvEventCutsfV0FilterEvent
 
AliConversionPhotonCutsfV0FilterPhoton
 
TObjArray fV0Filters [2]
 
TObjArray fEventFilters [2]
 
AliConvEventCutsfEventFilter
 
AliConversionPhotonCutsfPhotonFilter
 
AliConversionMesonCutsfMesonFilter
 
TObjArray fMesonFilters [2]
 
AliAnalysisCuts * fTrackFilter
 
TObjArray fTrackFilters [2]
 
TObjArray fGammas
 
TObjArray fTracks
 
TH2I * hMEvents
 
TH2I * hTrackCent
 
TH3FhTrigPt
 
TH2FhTrackPt
 
TH1F * hTrigPhi
 
TString fDeltaAODBranchName
 
TAxis fAxistPt
 
TAxis fAxiscPt
 
TAxis fAxisdEta
 
TAxis fAxisTrigEta
 
TAxis fAxisAssEta
 
TAxis fAxisdPhi
 
TAxis fAxisCent
 
TAxis fAxisZ
 
TAxis fAxisPiM
 
TAxis fAxisTrackFilters
 
TAxis fAxisV0Filters
 
TAxis fAxisMesonFilters
 
Bool_t fkTrackAxis
 
Bool_t fkV0Axis
 
Bool_t fkPionAxis
 
TList fAxesList
 
TList fTrigAxesList
 
TList fTrackAxesList
 
TList fMassAxesList
 
Bool_t fDoPhoton
 
THnF * fCorrectionMap
 

Detailed Description

Definition at line 34 of file AliAnalysisTaskdPhi.h.

Constructor & Destructor Documentation

AliAnalysisTaskdPhi::AliAnalysisTaskdPhi ( const char *  name = "slindal_dPhi")

Definition at line 53 of file AliAnalysisTaskdPhi.cxx.

AliAnalysisTaskdPhi::~AliAnalysisTaskdPhi ( )
virtual

Definition at line 114 of file AliAnalysisTaskdPhi.cxx.

AliAnalysisTaskdPhi::AliAnalysisTaskdPhi ( const AliAnalysisTaskdPhi )
private

Member Function Documentation

void AliAnalysisTaskdPhi::AddEventFilter ( TObject filter,
Bool_t  high = kTRUE 
)
inline

Definition at line 58 of file AliAnalysisTaskdPhi.h.

void AliAnalysisTaskdPhi::AddMesonFilter ( TObject filter,
Bool_t  high = kTRUE 
)
inline

Definition at line 60 of file AliAnalysisTaskdPhi.h.

void AliAnalysisTaskdPhi::AddTrackFilter ( TObject filter,
Bool_t  high = kTRUE 
)
inline

Definition at line 61 of file AliAnalysisTaskdPhi.h.

void AliAnalysisTaskdPhi::AddV0Filter ( TObject filter,
Bool_t  high = kTRUE 
)
inline

Definition at line 59 of file AliAnalysisTaskdPhi.h.

THnSparseF * AliAnalysisTaskdPhi::CreateSparse ( TString  nameString,
TString  titleString,
TList axesList 
)
private


Definition at line 449 of file AliAnalysisTaskdPhi.cxx.

void AliAnalysisTaskdPhi::FindDeltaAODBranchName ( AliVEvent *  event)
private

Find aod branch

Definition at line 1222 of file AliAnalysisTaskdPhi.cxx.

TAxis& AliAnalysisTaskdPhi::GetAxisAssEta ( )
inline

Definition at line 51 of file AliAnalysisTaskdPhi.h.

TAxis& AliAnalysisTaskdPhi::GetAxisCent ( )
inline

Definition at line 54 of file AliAnalysisTaskdPhi.h.

TAxis& AliAnalysisTaskdPhi::GetAxiscPt ( )
inline

Definition at line 48 of file AliAnalysisTaskdPhi.h.

TAxis& AliAnalysisTaskdPhi::GetAxisdEta ( )
inline

Definition at line 49 of file AliAnalysisTaskdPhi.h.

TAxis& AliAnalysisTaskdPhi::GetAxisPhi ( )
inline

Definition at line 52 of file AliAnalysisTaskdPhi.h.

TAxis& AliAnalysisTaskdPhi::GetAxisPiMass ( )
inline

Definition at line 55 of file AliAnalysisTaskdPhi.h.

TAxis& AliAnalysisTaskdPhi::GetAxistPt ( )
inline

Definition at line 47 of file AliAnalysisTaskdPhi.h.

TAxis& AliAnalysisTaskdPhi::GetAxisTrigEta ( )
inline

Definition at line 50 of file AliAnalysisTaskdPhi.h.

TAxis& AliAnalysisTaskdPhi::GetAxisZ ( )
inline

Definition at line 53 of file AliAnalysisTaskdPhi.h.

Int_t AliAnalysisTaskdPhi::GetBin ( TAxis axis,
Double_t  value 
)
inlineprivate

Definition at line 193 of file AliAnalysisTaskdPhi.h.

TClonesArray * AliAnalysisTaskdPhi::GetConversionGammas ( Bool_t  isAOD)
protected

Definition at line 1202 of file AliAnalysisTaskdPhi.cxx.

Float_t AliAnalysisTaskdPhi::GetDPhi ( Float_t  dPhi)
inlineprivate

Get the distance in phi between trigger particle and correlated particle.

Definition at line 85 of file AliAnalysisTaskdPhi.h.

THnSparseF * AliAnalysisTaskdPhi::GetMEHistogram ( Int_t  binz,
Int_t  binc,
TObjArray array 
)
inlineprivate

Get Mixed Event histogram

Definition at line 164 of file AliAnalysisTaskdPhi.h.

Double_t AliAnalysisTaskdPhi::GetTrackCorrection ( Double_t  vtxz,
AliVTrack *  track 
)
private

Definition at line 1237 of file AliAnalysisTaskdPhi.cxx.

AliAnalysisCuts* AliAnalysisTaskdPhi::GetTrackCuts ( ) const
inline

Definition at line 69 of file AliAnalysisTaskdPhi.h.

AliAnalysisTaskdPhi& AliAnalysisTaskdPhi::operator= ( const AliAnalysisTaskdPhi )
private
void AliAnalysisTaskdPhi::Process ( TObjArray gammas,
TObjArray tracks,
Float_t  cent,
Float_t  vtxz 
)
private
void AliAnalysisTaskdPhi::SaveReaderHists ( Bool_t  save = kTRUE)
inline

Definition at line 68 of file AliAnalysisTaskdPhi.h.

void AliAnalysisTaskdPhi::SetCorrectionMap ( THnF *  map)
inline

Definition at line 62 of file AliAnalysisTaskdPhi.h.

void AliAnalysisTaskdPhi::SetEventFilter ( AliConvEventCuts filter)
inline

Definition at line 64 of file AliAnalysisTaskdPhi.h.

void AliAnalysisTaskdPhi::SetMesonFilter ( AliConversionMesonCuts filter)
inline

Definition at line 65 of file AliAnalysisTaskdPhi.h.

void AliAnalysisTaskdPhi::SetPhotonFilter ( AliConversionPhotonCuts filter)
inline

Definition at line 66 of file AliAnalysisTaskdPhi.h.

void AliAnalysisTaskdPhi::SetTrackFilter ( AliAnalysisCuts *  cuts)
inline

Definition at line 70 of file AliAnalysisTaskdPhi.h.

void AliAnalysisTaskdPhi::SetUpBins ( )
virtual


Definition at line 151 of file AliAnalysisTaskdPhi.cxx.

void AliAnalysisTaskdPhi::SetV0Filter ( AliConvEventCuts filterEvent,
AliConversionPhotonCuts filter 
)
inline

Definition at line 57 of file AliAnalysisTaskdPhi.h.

void AliAnalysisTaskdPhi::SetV0Reader ( AliV0ReaderV1 reader)
inline

Definition at line 67 of file AliAnalysisTaskdPhi.h.

void AliAnalysisTaskdPhi::Terminate ( Option_t )
virtual

Definition at line 1195 of file AliAnalysisTaskdPhi.cxx.

void AliAnalysisTaskdPhi::UserCreateOutputObjects ( )
virtual



Set up axes in corr object

Set up ME histograms

Add gamma and track containers:

Definition at line 223 of file AliAnalysisTaskdPhi.cxx.

void AliAnalysisTaskdPhi::UserExec ( Option_t option)
virtual

User exec. This is a very ugly function, cut the complexity of the logic demands it.

Initialize track cuts. Delete tracks that have been constrained to vertex (copies)

Fill arrays of accepted gammas

create track array

upside cuts

Check lowside cuts

corr values

Trigger me counters

Mass histogram

Set up track me counters and initialize

Combine gamma into pions

Check that particle is in histo phase space

See if it passes lowside cuts

Low side pion

Lowside v0

End lowside mass histo fillers

Check that particle is in histo phase space

Fill standard triggers including upside v0 filters

Check trigger bin

Check if trigger also in low side (both gamma present in low side!)

See if the lowside pion filter also passes this, if not

Fill the triggers not selected in lowside filters only if passsing standard v0 filter

Lowside v0 filters

Correlate with tracks

Fill the low side track filters

Fill the low side v0 filters

Fill the low side pi filter

end non standard filters track corr

Only check the pions from standard v0 filter

Fill invariant mass hist

Check that particle is in histo phase space — redundant!

Fill trigger counters

Correlate with standard tracks

end track corr

end else .. end upside meson filters

Etalim && pt limits

v0 filter

Check lowside gamma

If not in main, see if in upside filters Do upside v0 filters

v0 filter

Do upside pi filter

v0 filter

Definition at line 488 of file AliAnalysisTaskdPhi.cxx.

Member Data Documentation

TList AliAnalysisTaskdPhi::fAxesList
private

Definition at line 149 of file AliAnalysisTaskdPhi.h.

TAxis AliAnalysisTaskdPhi::fAxisAssEta
private

Definition at line 137 of file AliAnalysisTaskdPhi.h.

TAxis AliAnalysisTaskdPhi::fAxisCent
private

Definition at line 139 of file AliAnalysisTaskdPhi.h.

TAxis AliAnalysisTaskdPhi::fAxiscPt
private

Definition at line 134 of file AliAnalysisTaskdPhi.h.

TAxis AliAnalysisTaskdPhi::fAxisdEta
private

Definition at line 135 of file AliAnalysisTaskdPhi.h.

TAxis AliAnalysisTaskdPhi::fAxisdPhi
private

Definition at line 138 of file AliAnalysisTaskdPhi.h.

TAxis AliAnalysisTaskdPhi::fAxisMesonFilters
private

Definition at line 144 of file AliAnalysisTaskdPhi.h.

TAxis AliAnalysisTaskdPhi::fAxisPiM
private

Definition at line 141 of file AliAnalysisTaskdPhi.h.

TAxis AliAnalysisTaskdPhi::fAxistPt
private

Definition at line 133 of file AliAnalysisTaskdPhi.h.

TAxis AliAnalysisTaskdPhi::fAxisTrackFilters
private

Definition at line 142 of file AliAnalysisTaskdPhi.h.

TAxis AliAnalysisTaskdPhi::fAxisTrigEta
private

Definition at line 136 of file AliAnalysisTaskdPhi.h.

TAxis AliAnalysisTaskdPhi::fAxisV0Filters
private

Definition at line 143 of file AliAnalysisTaskdPhi.h.

TAxis AliAnalysisTaskdPhi::fAxisZ
private

Definition at line 140 of file AliAnalysisTaskdPhi.h.

THnF* AliAnalysisTaskdPhi::fCorrectionMap
private

Definition at line 155 of file AliAnalysisTaskdPhi.h.

THnSparseF* AliAnalysisTaskdPhi::fCorrSparse
private

Definition at line 100 of file AliAnalysisTaskdPhi.h.

TString AliAnalysisTaskdPhi::fDeltaAODBranchName
private

Definition at line 131 of file AliAnalysisTaskdPhi.h.

Bool_t AliAnalysisTaskdPhi::fDoPhoton
private

Definition at line 154 of file AliAnalysisTaskdPhi.h.

AliConvEventCuts* AliAnalysisTaskdPhi::fEventFilter
private

Definition at line 111 of file AliAnalysisTaskdPhi.h.

TObjArray AliAnalysisTaskdPhi::fEventFilters[2]
private

Definition at line 110 of file AliAnalysisTaskdPhi.h.

TObjArray AliAnalysisTaskdPhi::fGammas
private

Definition at line 118 of file AliAnalysisTaskdPhi.h.

TList* AliAnalysisTaskdPhi::fHistograms
private

Members.

Definition at line 99 of file AliAnalysisTaskdPhi.h.

Bool_t AliAnalysisTaskdPhi::fkPionAxis
private

Definition at line 147 of file AliAnalysisTaskdPhi.h.

Bool_t AliAnalysisTaskdPhi::fkTrackAxis
private

Definition at line 145 of file AliAnalysisTaskdPhi.h.

Bool_t AliAnalysisTaskdPhi::fkV0Axis
private

Definition at line 146 of file AliAnalysisTaskdPhi.h.

TList AliAnalysisTaskdPhi::fMassAxesList
private

Definition at line 152 of file AliAnalysisTaskdPhi.h.

THnSparseF* AliAnalysisTaskdPhi::fMassSparse
private

Definition at line 103 of file AliAnalysisTaskdPhi.h.

AliConversionMesonCuts* AliAnalysisTaskdPhi::fMesonFilter
private

Definition at line 113 of file AliAnalysisTaskdPhi.h.

TObjArray AliAnalysisTaskdPhi::fMesonFilters[2]
private

Definition at line 114 of file AliAnalysisTaskdPhi.h.

AliConversionPhotonCuts* AliAnalysisTaskdPhi::fPhotonFilter
private

Definition at line 112 of file AliAnalysisTaskdPhi.h.

Bool_t AliAnalysisTaskdPhi::fSaveReaderHists
private

Definition at line 106 of file AliAnalysisTaskdPhi.h.

TList AliAnalysisTaskdPhi::fTrackAxesList
private

Definition at line 151 of file AliAnalysisTaskdPhi.h.

AliAnalysisCuts* AliAnalysisTaskdPhi::fTrackFilter
private

Definition at line 115 of file AliAnalysisTaskdPhi.h.

TObjArray AliAnalysisTaskdPhi::fTrackFilters[2]
private

Definition at line 116 of file AliAnalysisTaskdPhi.h.

TObjArray AliAnalysisTaskdPhi::fTracks
private

Definition at line 119 of file AliAnalysisTaskdPhi.h.

THnSparseF* AliAnalysisTaskdPhi::fTrackSparse
private

Definition at line 102 of file AliAnalysisTaskdPhi.h.

TList AliAnalysisTaskdPhi::fTrigAxesList
private

Definition at line 150 of file AliAnalysisTaskdPhi.h.

THnSparseF* AliAnalysisTaskdPhi::fTrigSparse
private

Definition at line 101 of file AliAnalysisTaskdPhi.h.

AliConvEventCuts* AliAnalysisTaskdPhi::fV0FilterEvent
private

Definition at line 107 of file AliAnalysisTaskdPhi.h.

AliConversionPhotonCuts* AliAnalysisTaskdPhi::fV0FilterPhoton
private

Definition at line 108 of file AliAnalysisTaskdPhi.h.

TObjArray AliAnalysisTaskdPhi::fV0Filters[2]
private

Definition at line 109 of file AliAnalysisTaskdPhi.h.

AliV0ReaderV1* AliAnalysisTaskdPhi::fV0Reader
private

Definition at line 105 of file AliAnalysisTaskdPhi.h.

TH2I* AliAnalysisTaskdPhi::hMEvents
private

Definition at line 122 of file AliAnalysisTaskdPhi.h.

TH2I* AliAnalysisTaskdPhi::hTrackCent
private

Definition at line 123 of file AliAnalysisTaskdPhi.h.

TH2F* AliAnalysisTaskdPhi::hTrackPt
private

Definition at line 125 of file AliAnalysisTaskdPhi.h.

TH1F* AliAnalysisTaskdPhi::hTrigPhi
private

Definition at line 126 of file AliAnalysisTaskdPhi.h.

TH3F* AliAnalysisTaskdPhi::hTrigPt
private

Definition at line 124 of file AliAnalysisTaskdPhi.h.


The documentation for this class was generated from the following files: