AliPhysics  b752f14 (b752f14)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliConversionTrackCuts Class Reference

#include <AliConversionTrackCuts.h>

Inheritance diagram for AliConversionTrackCuts:

Public Types

enum  CTCuts_t {
  kPreCut = 0, kCutNcls, kCutNclsFrac, kCutNDF,
  kCutKinc, kCutDCAZ, kCutDCAXY, kCutTPCRefit,
  kNCuts
}
 

Public Member Functions

Bool_t IsSelected (TObject *object)
 
Bool_t IsSelected (TList *)
 
Bool_t AcceptTrack (AliAODTrack *track)
 
Bool_t AcceptTrack (AliESDtrack *track)
 
Bool_t GetDCA (const AliAODTrack *track, Double_t dca[2])
 
More...
 
Bool_t GetDCA (const AliESDtrack *track, Double_t dca[2])
 
More...
 
void DeleteTracks ()
 
void FillDCAHist (Float_t dcaz, Float_t dcaxy, AliVTrack *track)
 
 AliConversionTrackCuts ()
 
 AliConversionTrackCuts (TString name, TString title)
 
 ~AliConversionTrackCuts ()
 
void SetEsdTrackCuts (AliESDtrackCuts *trackcuts)
 
void SetDCAZmax (Double_t value)
 
void SetDCAXYmax (Double_t value)
 
void SetFilterBit (Int_t value)
 
void SetEvent (AliVEvent *event)
 
void CreateTrackEff (Bool_t create=kTRUE)
 
TListCreateHistograms ()
 
void FillHistograms (Int_t cutIndex, AliVTrack *track)
 
virtual void Print (const Option_t *option="") const
 

Static Public Attributes

static const char * fgkCutNames [kNCuts]
 

Protected Member Functions

void DefineESDCuts ()
 
 AliConversionTrackCuts (const AliConversionTrackCuts &)
 
AliConversionTrackCutsoperator= (const AliConversionTrackCuts &)
 

Protected Attributes

AliESDtrackCuts * fEsdTrackCuts
 
AliESDtrackCuts * fEsdTrackCutsExtra1
 
AliESDtrackCuts * fEsdTrackCutsExtra2
 
AliVEvent * fEvent
 
Int_t fFilterBit
 
Double_t fDCAZmax
 
Double_t fDCAXYmax
 
TObjArray fOwnedTracks
 
Bool_t fInitialized
 
TH2FfhPhi
 
TH2FfhdcaxyPt
 
TH2FfhdcazPt
 
TH2Ffhdca
 
TH2Ffhnclpt
 
TH2Ffhnclsfpt
 
TH2FfhEtaPhi
 
THn * fhTrackEff
 
Bool_t fkCreateTrackEff
 
TListfHistograms
 

Detailed Description

Definition at line 18 of file AliConversionTrackCuts.h.

Member Enumeration Documentation

Enumerator
kPreCut 
kCutNcls 
kCutNclsFrac 
kCutNDF 
kCutKinc 
kCutDCAZ 
kCutDCAXY 
kCutTPCRefit 
kNCuts 

Definition at line 22 of file AliConversionTrackCuts.h.

Constructor & Destructor Documentation

AliConversionTrackCuts::AliConversionTrackCuts ( )

Definition at line 48 of file AliConversionTrackCuts.cxx.

AliConversionTrackCuts::AliConversionTrackCuts ( TString  name,
TString  title = "title" 
)

Definition at line 76 of file AliConversionTrackCuts.cxx.

AliConversionTrackCuts::~AliConversionTrackCuts ( )

destructor

Definition at line 106 of file AliConversionTrackCuts.cxx.

AliConversionTrackCuts::AliConversionTrackCuts ( const AliConversionTrackCuts )
protected

Member Function Documentation

Bool_t AliConversionTrackCuts::AcceptTrack ( AliAODTrack *  track)

Do dca xy cut!

DCA

DCA

Definition at line 315 of file AliConversionTrackCuts.cxx.

Referenced by IsSelected().

Bool_t AliConversionTrackCuts::AcceptTrack ( AliESDtrack *  track)

Standalone tpc tracks constrained

If only one track cuts then it has passed the cuts

If passing extra

If passing extra2

Definition at line 207 of file AliConversionTrackCuts.cxx.

TList * AliConversionTrackCuts::CreateHistograms ( )
void AliConversionTrackCuts::CreateTrackEff ( Bool_t  create = kTRUE)
inline

Definition at line 61 of file AliConversionTrackCuts.h.

void AliConversionTrackCuts::DefineESDCuts ( )
protected

Copied from alianalyseleadingue

Definition at line 128 of file AliConversionTrackCuts.cxx.

Referenced by AcceptTrack().

void AliConversionTrackCuts::DeleteTracks ( )
inline

Definition at line 50 of file AliConversionTrackCuts.h.

Referenced by AliAnalysisTaskdPhi::UserExec().

void AliConversionTrackCuts::FillDCAHist ( Float_t  dcaz,
Float_t  dcaxy,
AliVTrack *  track 
)

Definition at line 543 of file AliConversionTrackCuts.cxx.

Referenced by AcceptTrack().

void AliConversionTrackCuts::FillHistograms ( Int_t  cutIndex,
AliVTrack *  track 
)

Definition at line 534 of file AliConversionTrackCuts.cxx.

Referenced by AcceptTrack().

Bool_t AliConversionTrackCuts::GetDCA ( const AliAODTrack *  track,
Double_t  dca[2] 
)


Get track dca aod trck

Definition at line 428 of file AliConversionTrackCuts.cxx.

Referenced by AcceptTrack().

Bool_t AliConversionTrackCuts::GetDCA ( const AliESDtrack *  track,
Double_t  dca[2] 
)


Get track dca esd trck

Definition at line 410 of file AliConversionTrackCuts.cxx.

Bool_t AliConversionTrackCuts::IsSelected ( TObject object)

Definition at line 580 of file AliConversionTrackCuts.cxx.

Bool_t AliConversionTrackCuts::IsSelected ( TList )
inline

Definition at line 43 of file AliConversionTrackCuts.h.

AliConversionTrackCuts& AliConversionTrackCuts::operator= ( const AliConversionTrackCuts )
protected
void AliConversionTrackCuts::Print ( const Option_t option = "") const
virtual

Definition at line 563 of file AliConversionTrackCuts.cxx.

void AliConversionTrackCuts::SetDCAXYmax ( Double_t  value)
inline

Definition at line 58 of file AliConversionTrackCuts.h.

void AliConversionTrackCuts::SetDCAZmax ( Double_t  value)
inline

Definition at line 57 of file AliConversionTrackCuts.h.

void AliConversionTrackCuts::SetEsdTrackCuts ( AliESDtrackCuts *  trackcuts)
inline

Definition at line 56 of file AliConversionTrackCuts.h.

void AliConversionTrackCuts::SetEvent ( AliVEvent *  event)
inline

Definition at line 60 of file AliConversionTrackCuts.h.

Referenced by AliAnalysisTaskdPhi::UserExec().

void AliConversionTrackCuts::SetFilterBit ( Int_t  value)
inline

Definition at line 59 of file AliConversionTrackCuts.h.

Member Data Documentation

Double_t AliConversionTrackCuts::fDCAXYmax
protected

Definition at line 83 of file AliConversionTrackCuts.h.

Referenced by AcceptTrack().

Double_t AliConversionTrackCuts::fDCAZmax
protected

Definition at line 82 of file AliConversionTrackCuts.h.

Referenced by AcceptTrack().

AliESDtrackCuts* AliConversionTrackCuts::fEsdTrackCuts
protected

Definition at line 72 of file AliConversionTrackCuts.h.

Referenced by AcceptTrack(), DefineESDCuts(), and ~AliConversionTrackCuts().

AliESDtrackCuts* AliConversionTrackCuts::fEsdTrackCutsExtra1
protected

Definition at line 73 of file AliConversionTrackCuts.h.

Referenced by AcceptTrack(), DefineESDCuts(), and ~AliConversionTrackCuts().

AliESDtrackCuts* AliConversionTrackCuts::fEsdTrackCutsExtra2
protected

Definition at line 74 of file AliConversionTrackCuts.h.

Referenced by AcceptTrack(), DefineESDCuts(), and ~AliConversionTrackCuts().

AliVEvent* AliConversionTrackCuts::fEvent
protected

Definition at line 76 of file AliConversionTrackCuts.h.

Referenced by FillDCAHist(), and GetDCA().

Int_t AliConversionTrackCuts::fFilterBit
protected

Definition at line 80 of file AliConversionTrackCuts.h.

Referenced by AcceptTrack(), and DefineESDCuts().

const char* AliConversionTrackCuts::fgkCutNames[kNCuts]
static

Definition at line 40 of file AliConversionTrackCuts.h.

TH2F* AliConversionTrackCuts::fhdca
protected

Definition at line 94 of file AliConversionTrackCuts.h.

Referenced by CreateHistograms(), and FillDCAHist().

TH2F* AliConversionTrackCuts::fhdcaxyPt
protected

Definition at line 92 of file AliConversionTrackCuts.h.

Referenced by CreateHistograms(), and FillDCAHist().

TH2F* AliConversionTrackCuts::fhdcazPt
protected

Definition at line 93 of file AliConversionTrackCuts.h.

Referenced by CreateHistograms(), and FillDCAHist().

TH2F* AliConversionTrackCuts::fhEtaPhi
protected

Definition at line 97 of file AliConversionTrackCuts.h.

Referenced by AcceptTrack(), and CreateHistograms().

TList* AliConversionTrackCuts::fHistograms
protected

Definition at line 101 of file AliConversionTrackCuts.h.

Referenced by CreateHistograms().

TH2F* AliConversionTrackCuts::fhnclpt
protected

Definition at line 95 of file AliConversionTrackCuts.h.

TH2F* AliConversionTrackCuts::fhnclsfpt
protected

Definition at line 96 of file AliConversionTrackCuts.h.

TH2F* AliConversionTrackCuts::fhPhi
protected

Definition at line 89 of file AliConversionTrackCuts.h.

Referenced by CreateHistograms(), and FillHistograms().

THn* AliConversionTrackCuts::fhTrackEff
protected

Definition at line 98 of file AliConversionTrackCuts.h.

Referenced by CreateHistograms(), and FillDCAHist().

Bool_t AliConversionTrackCuts::fInitialized
protected

Definition at line 87 of file AliConversionTrackCuts.h.

Referenced by AcceptTrack().

Bool_t AliConversionTrackCuts::fkCreateTrackEff
protected

Definition at line 99 of file AliConversionTrackCuts.h.

Referenced by CreateHistograms().

TObjArray AliConversionTrackCuts::fOwnedTracks
protected

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