AliPhysics  b752f14 (b752f14)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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])
 
 ClassDef (AliAnalysisTaskCaloConv, 2)
 

Protected Attributes

AliESDEventfESDEvent
 
AliESDpid * fESDpid
 pointer to the ESDEvent More...
 
AliESDtrackCuts * fESDtrackCuts
 
AliStack * fStack
 
TListfOutputContainer
 pointer to the MC particle stack More...
 
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 32 of file AliAnalysisTaskCaloConv.h.

Member Enumeration Documentation

anonymous enum
protected
Enumerator
kCaloPIDdisp 
kCaloPIDtof 
kCaloPIDneutral 
kCaloDistBad 

Definition at line 93 of file AliAnalysisTaskCaloConv.h.

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

Definition at line 99 of file AliAnalysisTaskCaloConv.h.

Constructor & Destructor Documentation

AliAnalysisTaskCaloConv::AliAnalysisTaskCaloConv ( )
AliAnalysisTaskCaloConv::AliAnalysisTaskCaloConv ( const char *  name)

Definition at line 114 of file AliAnalysisTaskCaloConv.cxx.

AliAnalysisTaskCaloConv::~AliAnalysisTaskCaloConv ( )
virtual

Definition at line 179 of file AliAnalysisTaskCaloConv.cxx.

AliAnalysisTaskCaloConv::AliAnalysisTaskCaloConv ( const AliAnalysisTaskCaloConv )
private

Member Function Documentation

AliAnalysisTaskCaloConv::ClassDef ( AliAnalysisTaskCaloConv  ,
 
)
protected
void AliAnalysisTaskCaloConv::ConnectInputData ( Option_t option)
virtual

Definition at line 383 of file AliAnalysisTaskCaloConv.cxx.

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 2766 of file AliAnalysisTaskCaloConv.cxx.

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

Definition at line 2785 of file AliAnalysisTaskCaloConv.cxx.

void AliAnalysisTaskCaloConv::FillRealMixed ( )
protected

Definition at line 1487 of file AliAnalysisTaskCaloConv.cxx.

Referenced by UserExec().

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

Definition at line 2936 of file AliAnalysisTaskCaloConv.cxx.

Referenced by SelectConvPhotons().

void AliAnalysisTaskCaloConv::Init ( )
virtual

Definition at line 232 of file AliAnalysisTaskCaloConv.cxx.

Referenced by LocalInit().

void AliAnalysisTaskCaloConv::InitGeometry ( )
protected

Definition at line 829 of file AliAnalysisTaskCaloConv.cxx.

Referenced by 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 2823 of file AliAnalysisTaskCaloConv.cxx.

Referenced by SelectEMCALPhotons(), and SelectPHOSPhotons().

virtual void AliAnalysisTaskCaloConv::LocalInit ( )
inlinevirtual

Definition at line 42 of file AliAnalysisTaskCaloConv.h.

AliAnalysisTaskCaloConv& AliAnalysisTaskCaloConv::operator= ( const AliAnalysisTaskCaloConv )
private
Double_t AliAnalysisTaskCaloConv::PlanarityAngle ( const AliExternalTrackParam *  pos,
const AliExternalTrackParam *  neg 
) const
protected

Definition at line 2802 of file AliAnalysisTaskCaloConv.cxx.

Referenced by SelectConvPhotons().

void AliAnalysisTaskCaloConv::ProcessMC ( )
protected

Definition at line 2037 of file AliAnalysisTaskCaloConv.cxx.

Referenced by 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 2863 of file AliAnalysisTaskCaloConv.cxx.

Referenced by FillRealMixed(), and ProcessMC().

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 2899 of file AliAnalysisTaskCaloConv.cxx.

Referenced by FillRealMixed(), and ProcessMC().

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 2881 of file AliAnalysisTaskCaloConv.cxx.

Referenced by FillRealMixed(), and ProcessMC().

void AliAnalysisTaskCaloConv::SelectConvPhotons ( )
protected

Definition at line 1079 of file AliAnalysisTaskCaloConv.cxx.

Referenced by UserExec().

void AliAnalysisTaskCaloConv::SelectEMCALPhotons ( )
protected

Definition at line 991 of file AliAnalysisTaskCaloConv.cxx.

Referenced by UserExec().

void AliAnalysisTaskCaloConv::SelectPHOSPhotons ( )
protected

Definition at line 864 of file AliAnalysisTaskCaloConv.cxx.

Referenced by UserExec().

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

Definition at line 62 of file AliAnalysisTaskCaloConv.h.

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

Definition at line 60 of file AliAnalysisTaskCaloConv.h.

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

Definition at line 58 of file AliAnalysisTaskCaloConv.h.

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

Definition at line 59 of file AliAnalysisTaskCaloConv.h.

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

Definition at line 61 of file AliAnalysisTaskCaloConv.h.

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

Definition at line 57 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 54 of file AliAnalysisTaskCaloConv.h.

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

Definition at line 66 of file AliAnalysisTaskCaloConv.h.

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

Definition at line 64 of file AliAnalysisTaskCaloConv.h.

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

Definition at line 48 of file AliAnalysisTaskCaloConv.h.

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

Definition at line 49 of file AliAnalysisTaskCaloConv.h.

void AliAnalysisTaskCaloConv::SetTriggerFlags ( Bool_t  flag)
inline

Definition at line 51 of file AliAnalysisTaskCaloConv.h.

virtual void AliAnalysisTaskCaloConv::Terminate ( Option_t )
inlinevirtual

Definition at line 45 of file AliAnalysisTaskCaloConv.h.

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

Definition at line 68 of file AliAnalysisTaskCaloConv.h.

void AliAnalysisTaskCaloConv::UserCreateOutputObjects ( )
virtual

Definition at line 390 of file AliAnalysisTaskCaloConv.cxx.

void AliAnalysisTaskCaloConv::UserExec ( Option_t option)
virtual

Definition at line 238 of file AliAnalysisTaskCaloConv.cxx.

Member Data Documentation

Double_t AliAnalysisTaskCaloConv::fBadDistCutEMCAL
protected

Definition at line 136 of file AliAnalysisTaskCaloConv.h.

Referenced by ProcessMC().

Double_t AliAnalysisTaskCaloConv::fBadDistCutPHOS
protected

Definition at line 135 of file AliAnalysisTaskCaloConv.h.

Referenced by ProcessMC(), and SelectPHOSPhotons().

Double_t AliAnalysisTaskCaloConv::fCentr
protected

Definition at line 124 of file AliAnalysisTaskCaloConv.h.

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

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

Definition at line 162 of file AliAnalysisTaskCaloConv.h.

Referenced by SelectConvPhotons(), and SetConvMaxChi2Cut().

AliCFContainer* AliAnalysisTaskCaloConv::fConvCFCont
protected

Definition at line 119 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 121 of file AliAnalysisTaskCaloConv.h.

Referenced by UserCreateOutputObjects().

TClonesArray* AliAnalysisTaskCaloConv::fEMCALEvent
protected

Definition at line 151 of file AliAnalysisTaskCaloConv.h.

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

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

PHOS geometry.

Definition at line 132 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 113 of file AliAnalysisTaskCaloConv.h.

Referenced by SelectConvPhotons(), and UserExec().

AliESDtrackCuts* AliAnalysisTaskCaloConv::fESDtrackCuts
protected

Definition at line 114 of file AliAnalysisTaskCaloConv.h.

Referenced by UserExec().

Double_t AliAnalysisTaskCaloConv::fetaCut
protected

Definition at line 160 of file AliAnalysisTaskCaloConv.h.

Referenced by SelectConvPhotons(), and SetConvMaxEtaCut().

Int_t AliAnalysisTaskCaloConv::fGammaEMCAL[100]
protected

Definition at line 148 of file AliAnalysisTaskCaloConv.h.

Referenced by ProcessMC(), and SelectEMCALPhotons().

Int_t AliAnalysisTaskCaloConv::fGammaPHOS[100]
protected

Definition at line 147 of file AliAnalysisTaskCaloConv.h.

Referenced by ProcessMC(), and SelectPHOSPhotons().

Int_t AliAnalysisTaskCaloConv::fGammaV0s[100]
protected

Definition at line 146 of file AliAnalysisTaskCaloConv.h.

Referenced by ProcessMC(), and SelectConvPhotons().

Double_t AliAnalysisTaskCaloConv::fmaxR
protected

Definition at line 158 of file AliAnalysisTaskCaloConv.h.

Referenced by SelectConvPhotons(), and SetConvMaxRCut().

Double_t AliAnalysisTaskCaloConv::fmaxZ
protected

Definition at line 159 of file AliAnalysisTaskCaloConv.h.

Referenced by SelectConvPhotons(), and SetConvMaxZCut().

Double_t AliAnalysisTaskCaloConv::fMinOpeningAngleGhostCut
protected

Definition at line 129 of file AliAnalysisTaskCaloConv.h.

Double_t AliAnalysisTaskCaloConv::fnSigmaAboveElectronLine
protected

Definition at line 153 of file AliAnalysisTaskCaloConv.h.

Referenced by SelectConvPhotons(), and SetDEdxCuts().

Double_t AliAnalysisTaskCaloConv::fnSigmaAbovePionLine
protected

Definition at line 155 of file AliAnalysisTaskCaloConv.h.

Referenced by SetDEdxCuts().

Double_t AliAnalysisTaskCaloConv::fnSigmaBelowElectronLine
protected

Definition at line 154 of file AliAnalysisTaskCaloConv.h.

Referenced by SelectConvPhotons(), and SetDEdxCuts().

TList* AliAnalysisTaskCaloConv::fOutputContainer
protected

pointer to the MC particle stack

Definition at line 116 of file AliAnalysisTaskCaloConv.h.

Referenced by FillHistogram(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskCaloConv().

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

Definition at line 120 of file AliAnalysisTaskCaloConv.h.

Referenced by UserCreateOutputObjects().

TClonesArray* AliAnalysisTaskCaloConv::fPHOSEvent
protected

Definition at line 150 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 122 of file AliAnalysisTaskCaloConv.h.

Referenced by UserCreateOutputObjects().

Double_t AliAnalysisTaskCaloConv::fPi0Thresh1
protected

EMCAL geometry.

Definition at line 133 of file AliAnalysisTaskCaloConv.h.

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

Double_t AliAnalysisTaskCaloConv::fPi0Thresh2
protected

Definition at line 134 of file AliAnalysisTaskCaloConv.h.

Referenced by SelectEMCALPhotons(), and SetPi0Threshold2().

Double_t AliAnalysisTaskCaloConv::fpnSigmaAbovePionLine
protected

Definition at line 156 of file AliAnalysisTaskCaloConv.h.

Referenced by SetDEdxCuts().

Double_t AliAnalysisTaskCaloConv::fprobCut
protected

Definition at line 157 of file AliAnalysisTaskCaloConv.h.

Referenced by SelectConvPhotons(), and SetConvProbCut().

Double_t AliAnalysisTaskCaloConv::fptCut
protected

Definition at line 161 of file AliAnalysisTaskCaloConv.h.

Referenced by SelectConvPhotons(), and SetConvMinPtCut().

AliStack* AliAnalysisTaskCaloConv::fStack
protected

Definition at line 115 of file AliAnalysisTaskCaloConv.h.

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

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

Definition at line 126 of file AliAnalysisTaskCaloConv.h.

Referenced by SetTriggerFlags().


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