AliPhysics  05c4c93 (05c4c93)
AliAnalysisTaskCaloConv Class Reference

#include <AliAnalysisTaskCaloConv.h>

Inheritance diagram for AliAnalysisTaskCaloConv:

Public Member Functions

 AliAnalysisTaskCaloConv ()
 
 AliAnalysisTaskCaloConv (const char *name)
 
virtual ~AliAnalysisTaskCaloConv ()
 
virtual void Init ()
 
virtual void LocalInit ()
 
virtual void UserCreateOutputObjects ()
 
virtual void UserExec (Option_t *option)
 
virtual void Terminate (Option_t *)
 
virtual void ConnectInputData (Option_t *option)
 
void SetPi0Threshold1 (Double_t thrs=0.5)
 
void SetPi0Threshold2 (Double_t thrs=1.)
 
void SetTriggerFlags (Bool_t flag)
 
void SetDEdxCuts (Double_t sEUp=5., Double_t sEDn=-3., Double_t sPiUp=0., Double_t sPiDn=1.)
 
void SetConvProbCut (Double_t prob=0.)
 
void SetConvMaxRCut (Double_t maxR=180.)
 
void SetConvMaxZCut (Double_t maxZ=240.)
 
void SetConvMaxEtaCut (Double_t eta=0.9)
 
void SetConvMinPtCut (Double_t minPt=0.02)
 
void SetConvMaxChi2Cut (Double_t chi2=30.)
 
void SetPHOSBadMap (Int_t mod, TH2I *h)
 
void SetEMCALBadMap (Int_t mod, TH2I *h)
 
void UseCF (Bool_t use=kTRUE)
 

Protected Types

enum  { kCaloPIDdisp = BIT(14), kCaloPIDtof = BIT(15), kCaloPIDneutral = BIT(16), kCaloDistBad = BIT(17) }
 
enum  {
  kConvOnFly = BIT(14), kConvArmQt = BIT(15), kConvdEdx = BIT(16), kConvProb = BIT(17),
  kConvR = BIT(18), kConvZR = BIT(19), kConvNDF = BIT(20), kConvEta = BIT(21),
  kConvPlan = BIT(22)
}
 

Protected Member Functions

void InitGeometry ()
 
void ProcessMC ()
 
void SelectConvPhotons ()
 
void SelectPHOSPhotons ()
 
void SelectEMCALPhotons ()
 
void FillRealMixed ()
 
void FillHistogram (const char *key, Double_t x) const
 
void FillHistogram (const char *key, Double_t x, Double_t y) const
 
void FillHistogram (const char *key, Double_t x, Double_t y, Double_t z) const
 
Double_t PlanarityAngle (const AliExternalTrackParam *pos, const AliExternalTrackParam *neg) const
 
Bool_t IsGoodChannel (const char *det="PHOS", Int_t mod=1, Int_t ix=1, Int_t iz=1)
 
void Recalibrate (Double_t &m, Double_t &pt, const TLorentzVector *calo, const TLorentzVector *conv, Int_t iw, Int_t in)
 
void RecalibrateConvPHOS (Double_t &m, Double_t &pt, const TLorentzVector *calo, const TLorentzVector *conv, Int_t iw, Int_t in)
 
void RecalibrateEMCAL (Double_t &m, Double_t &pt, const TLorentzVector *calo, const TLorentzVector *conv, Int_t iw, Int_t in)
 
void GetArmenterosQtAlfa (AliKFParticle *positiveKFParticle, AliKFParticle *negativeKFParticle, AliKFParticle *gammaKFCandidate, Double_t armenterosQtAlfa[2])
 

Protected Attributes

AliMCEvent * fMCEvent
 
AliESDEventfESDEvent
 
AliESDpid * fESDpid
 pointer to the ESDEvent More...
 
AliESDtrackCuts * fESDtrackCuts
 
TListfOutputContainer
 
TListfCFOutputContainer
 
AliCFContainer * fConvCFCont
 
AliCFContainer * fPHOSCFCont
 
AliCFContainer * fEMCALCFCont
 
AliCFContainer * fPi0CFCont
 
Double_t fCentr
 
Bool_t fTriggerCINT1B
 
Bool_t fToUseCF
 
Double_t fMinOpeningAngleGhostCut
 
AliPHOSGeoUtils * fPHOSgeom
 
AliEMCALGeometry * fEMCALgeom
 PHOS geometry. More...
 
Double_t fPi0Thresh1
 EMCAL geometry. More...
 
Double_t fPi0Thresh2
 
Double_t fBadDistCutPHOS
 
Double_t fBadDistCutEMCAL
 
TH2I * fPHOSBadMap [6]
 
TH2I * fEMCALBadMap [10]
 
TListfPHOSEvents [10]
 
TListfEMCALEvents [10]
 
TListfConvEvents [10]
 
Int_t fGammaV0s [100]
 
Int_t fGammaPHOS [100]
 
Int_t fGammaEMCAL [100]
 
TClonesArray * fConvEvent
 
TClonesArray * fPHOSEvent
 
TClonesArray * fEMCALEvent
 
Double_t fnSigmaAboveElectronLine
 
Double_t fnSigmaBelowElectronLine
 
Double_t fnSigmaAbovePionLine
 
Double_t fpnSigmaAbovePionLine
 
Double_t fprobCut
 
Double_t fmaxR
 
Double_t fmaxZ
 
Double_t fetaCut
 
Double_t fptCut
 
Double_t fchi2CutConversion
 

Private Member Functions

 AliAnalysisTaskCaloConv (const AliAnalysisTaskCaloConv &)
 
AliAnalysisTaskCaloConvoperator= (const AliAnalysisTaskCaloConv &)
 

Detailed Description

Definition at line 31 of file AliAnalysisTaskCaloConv.h.

Member Enumeration Documentation

anonymous enum
protected
Enumerator
kCaloPIDdisp 
kCaloPIDtof 
kCaloPIDneutral 
kCaloDistBad 

Definition at line 92 of file AliAnalysisTaskCaloConv.h.

anonymous enum
protected
Enumerator
kConvOnFly 
kConvArmQt 
kConvdEdx 
kConvProb 
kConvR 
kConvZR 
kConvNDF 
kConvEta 
kConvPlan 

Definition at line 98 of file AliAnalysisTaskCaloConv.h.

Constructor & Destructor Documentation

AliAnalysisTaskCaloConv::AliAnalysisTaskCaloConv ( )

Definition at line 57 of file AliAnalysisTaskCaloConv.cxx.

Referenced by UseCF().

AliAnalysisTaskCaloConv::AliAnalysisTaskCaloConv ( const char *  name)

Definition at line 113 of file AliAnalysisTaskCaloConv.cxx.

AliAnalysisTaskCaloConv::~AliAnalysisTaskCaloConv ( )
virtual

Definition at line 178 of file AliAnalysisTaskCaloConv.cxx.

AliAnalysisTaskCaloConv::AliAnalysisTaskCaloConv ( const AliAnalysisTaskCaloConv )
private

Member Function Documentation

void AliAnalysisTaskCaloConv::ConnectInputData ( Option_t option)
virtual

Definition at line 378 of file AliAnalysisTaskCaloConv.cxx.

Referenced by Terminate().

void AliAnalysisTaskCaloConv::FillHistogram ( const char *  key,
Double_t  x 
) const
protected
void AliAnalysisTaskCaloConv::FillHistogram ( const char *  key,
Double_t  x,
Double_t  y 
) const
protected

Definition at line 2761 of file AliAnalysisTaskCaloConv.cxx.

void AliAnalysisTaskCaloConv::FillHistogram ( const char *  key,
Double_t  x,
Double_t  y,
Double_t  z 
) const
protected

Definition at line 2780 of file AliAnalysisTaskCaloConv.cxx.

void AliAnalysisTaskCaloConv::FillRealMixed ( )
protected

Definition at line 1482 of file AliAnalysisTaskCaloConv.cxx.

Referenced by UseCF(), and UserExec().

void AliAnalysisTaskCaloConv::GetArmenterosQtAlfa ( AliKFParticle *  positiveKFParticle,
AliKFParticle *  negativeKFParticle,
AliKFParticle *  gammaKFCandidate,
Double_t  armenterosQtAlfa[2] 
)
protected

Definition at line 2931 of file AliAnalysisTaskCaloConv.cxx.

Referenced by SelectConvPhotons(), and UseCF().

void AliAnalysisTaskCaloConv::Init ( )
virtual

Definition at line 231 of file AliAnalysisTaskCaloConv.cxx.

Referenced by LocalInit().

void AliAnalysisTaskCaloConv::InitGeometry ( )
protected

Definition at line 824 of file AliAnalysisTaskCaloConv.cxx.

Referenced by UseCF(), and UserExec().

Bool_t AliAnalysisTaskCaloConv::IsGoodChannel ( const char *  det = "PHOS",
Int_t  mod = 1,
Int_t  ix = 1,
Int_t  iz = 1 
)
protected

Definition at line 2818 of file AliAnalysisTaskCaloConv.cxx.

Referenced by SelectEMCALPhotons(), SelectPHOSPhotons(), and UseCF().

virtual void AliAnalysisTaskCaloConv::LocalInit ( )
inlinevirtual

Definition at line 41 of file AliAnalysisTaskCaloConv.h.

AliAnalysisTaskCaloConv& AliAnalysisTaskCaloConv::operator= ( const AliAnalysisTaskCaloConv )
private

Referenced by UseCF().

Double_t AliAnalysisTaskCaloConv::PlanarityAngle ( const AliExternalTrackParam *  pos,
const AliExternalTrackParam *  neg 
) const
protected

Definition at line 2797 of file AliAnalysisTaskCaloConv.cxx.

Referenced by SelectConvPhotons(), and UseCF().

void AliAnalysisTaskCaloConv::ProcessMC ( )
protected

Definition at line 2032 of file AliAnalysisTaskCaloConv.cxx.

Referenced by UseCF(), and UserExec().

void AliAnalysisTaskCaloConv::Recalibrate ( Double_t m,
Double_t pt,
const TLorentzVector *  calo,
const TLorentzVector *  conv,
Int_t  iw,
Int_t  in 
)
protected

Definition at line 2858 of file AliAnalysisTaskCaloConv.cxx.

Referenced by FillRealMixed(), ProcessMC(), and UseCF().

void AliAnalysisTaskCaloConv::RecalibrateConvPHOS ( Double_t m,
Double_t pt,
const TLorentzVector *  calo,
const TLorentzVector *  conv,
Int_t  iw,
Int_t  in 
)
protected

Definition at line 2894 of file AliAnalysisTaskCaloConv.cxx.

Referenced by FillRealMixed(), ProcessMC(), and UseCF().

void AliAnalysisTaskCaloConv::RecalibrateEMCAL ( Double_t m,
Double_t pt,
const TLorentzVector *  calo,
const TLorentzVector *  conv,
Int_t  iw,
Int_t  in 
)
protected

Definition at line 2876 of file AliAnalysisTaskCaloConv.cxx.

Referenced by FillRealMixed(), ProcessMC(), and UseCF().

void AliAnalysisTaskCaloConv::SelectConvPhotons ( )
protected

Definition at line 1074 of file AliAnalysisTaskCaloConv.cxx.

Referenced by UseCF(), and UserExec().

void AliAnalysisTaskCaloConv::SelectEMCALPhotons ( )
protected

Definition at line 986 of file AliAnalysisTaskCaloConv.cxx.

Referenced by UseCF(), and UserExec().

void AliAnalysisTaskCaloConv::SelectPHOSPhotons ( )
protected

Definition at line 859 of file AliAnalysisTaskCaloConv.cxx.

Referenced by UseCF(), and UserExec().

void AliAnalysisTaskCaloConv::SetConvMaxChi2Cut ( Double_t  chi2 = 30.)
inline

Definition at line 61 of file AliAnalysisTaskCaloConv.h.

void AliAnalysisTaskCaloConv::SetConvMaxEtaCut ( Double_t  eta = 0.9)
inline

Definition at line 59 of file AliAnalysisTaskCaloConv.h.

void AliAnalysisTaskCaloConv::SetConvMaxRCut ( Double_t  maxR = 180.)
inline

Definition at line 57 of file AliAnalysisTaskCaloConv.h.

void AliAnalysisTaskCaloConv::SetConvMaxZCut ( Double_t  maxZ = 240.)
inline

Definition at line 58 of file AliAnalysisTaskCaloConv.h.

void AliAnalysisTaskCaloConv::SetConvMinPtCut ( Double_t  minPt = 0.02)
inline

Definition at line 60 of file AliAnalysisTaskCaloConv.h.

void AliAnalysisTaskCaloConv::SetConvProbCut ( Double_t  prob = 0.)
inline

Definition at line 56 of file AliAnalysisTaskCaloConv.h.

void AliAnalysisTaskCaloConv::SetDEdxCuts ( Double_t  sEUp = 5.,
Double_t  sEDn = -3.,
Double_t  sPiUp = 0.,
Double_t  sPiDn = 1. 
)
inline

Definition at line 53 of file AliAnalysisTaskCaloConv.h.

void AliAnalysisTaskCaloConv::SetEMCALBadMap ( Int_t  mod,
TH2I *  h 
)
inline

Definition at line 65 of file AliAnalysisTaskCaloConv.h.

void AliAnalysisTaskCaloConv::SetPHOSBadMap ( Int_t  mod,
TH2I *  h 
)
inline

Definition at line 63 of file AliAnalysisTaskCaloConv.h.

void AliAnalysisTaskCaloConv::SetPi0Threshold1 ( Double_t  thrs = 0.5)
inline

Definition at line 47 of file AliAnalysisTaskCaloConv.h.

void AliAnalysisTaskCaloConv::SetPi0Threshold2 ( Double_t  thrs = 1.)
inline

Definition at line 48 of file AliAnalysisTaskCaloConv.h.

void AliAnalysisTaskCaloConv::SetTriggerFlags ( Bool_t  flag)
inline

Definition at line 50 of file AliAnalysisTaskCaloConv.h.

virtual void AliAnalysisTaskCaloConv::Terminate ( Option_t )
inlinevirtual

Definition at line 44 of file AliAnalysisTaskCaloConv.h.

void AliAnalysisTaskCaloConv::UseCF ( Bool_t  use = kTRUE)
inline

Definition at line 67 of file AliAnalysisTaskCaloConv.h.

void AliAnalysisTaskCaloConv::UserCreateOutputObjects ( )
virtual

Definition at line 385 of file AliAnalysisTaskCaloConv.cxx.

Referenced by LocalInit().

void AliAnalysisTaskCaloConv::UserExec ( Option_t option)
virtual

Definition at line 237 of file AliAnalysisTaskCaloConv.cxx.

Referenced by LocalInit().

Member Data Documentation

Double_t AliAnalysisTaskCaloConv::fBadDistCutEMCAL
protected

Definition at line 134 of file AliAnalysisTaskCaloConv.h.

Referenced by ProcessMC().

Double_t AliAnalysisTaskCaloConv::fBadDistCutPHOS
protected

Definition at line 133 of file AliAnalysisTaskCaloConv.h.

Referenced by ProcessMC(), and SelectPHOSPhotons().

Double_t AliAnalysisTaskCaloConv::fCentr
protected

Definition at line 122 of file AliAnalysisTaskCaloConv.h.

Referenced by FillRealMixed(), ProcessMC(), SelectPHOSPhotons(), and UserExec().

TList* AliAnalysisTaskCaloConv::fCFOutputContainer
protected
Double_t AliAnalysisTaskCaloConv::fchi2CutConversion
protected

Definition at line 160 of file AliAnalysisTaskCaloConv.h.

Referenced by SelectConvPhotons(), and SetConvMaxChi2Cut().

AliCFContainer* AliAnalysisTaskCaloConv::fConvCFCont
protected

Definition at line 117 of file AliAnalysisTaskCaloConv.h.

Referenced by SelectConvPhotons(), and UserCreateOutputObjects().

TClonesArray* AliAnalysisTaskCaloConv::fConvEvent
protected
TList* AliAnalysisTaskCaloConv::fConvEvents[10]
protected
TH2I* AliAnalysisTaskCaloConv::fEMCALBadMap[10]
protected
AliCFContainer* AliAnalysisTaskCaloConv::fEMCALCFCont
protected

Definition at line 119 of file AliAnalysisTaskCaloConv.h.

Referenced by UserCreateOutputObjects().

TClonesArray* AliAnalysisTaskCaloConv::fEMCALEvent
protected

Definition at line 149 of file AliAnalysisTaskCaloConv.h.

Referenced by FillRealMixed(), ProcessMC(), and SelectEMCALPhotons().

TList* AliAnalysisTaskCaloConv::fEMCALEvents[10]
protected
AliEMCALGeometry* AliAnalysisTaskCaloConv::fEMCALgeom
protected

PHOS geometry.

Definition at line 130 of file AliAnalysisTaskCaloConv.h.

Referenced by InitGeometry(), ProcessMC(), SelectEMCALPhotons(), and ~AliAnalysisTaskCaloConv().

AliESDEvent* AliAnalysisTaskCaloConv::fESDEvent
protected
AliESDpid* AliAnalysisTaskCaloConv::fESDpid
protected

pointer to the ESDEvent

Definition at line 112 of file AliAnalysisTaskCaloConv.h.

Referenced by SelectConvPhotons(), and UserExec().

AliESDtrackCuts* AliAnalysisTaskCaloConv::fESDtrackCuts
protected

Definition at line 113 of file AliAnalysisTaskCaloConv.h.

Referenced by UserExec().

Double_t AliAnalysisTaskCaloConv::fetaCut
protected

Definition at line 158 of file AliAnalysisTaskCaloConv.h.

Referenced by SelectConvPhotons(), and SetConvMaxEtaCut().

Int_t AliAnalysisTaskCaloConv::fGammaEMCAL[100]
protected

Definition at line 146 of file AliAnalysisTaskCaloConv.h.

Referenced by ProcessMC(), and SelectEMCALPhotons().

Int_t AliAnalysisTaskCaloConv::fGammaPHOS[100]
protected

Definition at line 145 of file AliAnalysisTaskCaloConv.h.

Referenced by ProcessMC(), and SelectPHOSPhotons().

Int_t AliAnalysisTaskCaloConv::fGammaV0s[100]
protected

Definition at line 144 of file AliAnalysisTaskCaloConv.h.

Referenced by ProcessMC(), and SelectConvPhotons().

Double_t AliAnalysisTaskCaloConv::fmaxR
protected

Definition at line 156 of file AliAnalysisTaskCaloConv.h.

Referenced by SelectConvPhotons(), and SetConvMaxRCut().

Double_t AliAnalysisTaskCaloConv::fmaxZ
protected

Definition at line 157 of file AliAnalysisTaskCaloConv.h.

Referenced by SelectConvPhotons(), and SetConvMaxZCut().

AliMCEvent* AliAnalysisTaskCaloConv::fMCEvent
protected

Definition at line 110 of file AliAnalysisTaskCaloConv.h.

Referenced by ProcessMC(), SelectConvPhotons(), and UserExec().

Double_t AliAnalysisTaskCaloConv::fMinOpeningAngleGhostCut
protected

Definition at line 127 of file AliAnalysisTaskCaloConv.h.

Double_t AliAnalysisTaskCaloConv::fnSigmaAboveElectronLine
protected

Definition at line 151 of file AliAnalysisTaskCaloConv.h.

Referenced by SelectConvPhotons(), and SetDEdxCuts().

Double_t AliAnalysisTaskCaloConv::fnSigmaAbovePionLine
protected

Definition at line 153 of file AliAnalysisTaskCaloConv.h.

Referenced by SetDEdxCuts().

Double_t AliAnalysisTaskCaloConv::fnSigmaBelowElectronLine
protected

Definition at line 152 of file AliAnalysisTaskCaloConv.h.

Referenced by SelectConvPhotons(), and SetDEdxCuts().

TList* AliAnalysisTaskCaloConv::fOutputContainer
protected
TH2I* AliAnalysisTaskCaloConv::fPHOSBadMap[6]
protected
AliCFContainer* AliAnalysisTaskCaloConv::fPHOSCFCont
protected

Definition at line 118 of file AliAnalysisTaskCaloConv.h.

Referenced by UserCreateOutputObjects().

TClonesArray* AliAnalysisTaskCaloConv::fPHOSEvent
protected

Definition at line 148 of file AliAnalysisTaskCaloConv.h.

Referenced by FillRealMixed(), ProcessMC(), and SelectPHOSPhotons().

TList* AliAnalysisTaskCaloConv::fPHOSEvents[10]
protected
AliPHOSGeoUtils* AliAnalysisTaskCaloConv::fPHOSgeom
protected
AliCFContainer* AliAnalysisTaskCaloConv::fPi0CFCont
protected

Definition at line 120 of file AliAnalysisTaskCaloConv.h.

Referenced by UserCreateOutputObjects().

Double_t AliAnalysisTaskCaloConv::fPi0Thresh1
protected

EMCAL geometry.

Definition at line 131 of file AliAnalysisTaskCaloConv.h.

Referenced by SelectEMCALPhotons(), SelectPHOSPhotons(), and SetPi0Threshold1().

Double_t AliAnalysisTaskCaloConv::fPi0Thresh2
protected

Definition at line 132 of file AliAnalysisTaskCaloConv.h.

Referenced by SelectEMCALPhotons(), and SetPi0Threshold2().

Double_t AliAnalysisTaskCaloConv::fpnSigmaAbovePionLine
protected

Definition at line 154 of file AliAnalysisTaskCaloConv.h.

Referenced by SetDEdxCuts().

Double_t AliAnalysisTaskCaloConv::fprobCut
protected

Definition at line 155 of file AliAnalysisTaskCaloConv.h.

Referenced by SelectConvPhotons(), and SetConvProbCut().

Double_t AliAnalysisTaskCaloConv::fptCut
protected

Definition at line 159 of file AliAnalysisTaskCaloConv.h.

Referenced by SelectConvPhotons(), and SetConvMinPtCut().

Bool_t AliAnalysisTaskCaloConv::fToUseCF
protected
Bool_t AliAnalysisTaskCaloConv::fTriggerCINT1B
protected

Definition at line 124 of file AliAnalysisTaskCaloConv.h.

Referenced by SetTriggerFlags().


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