AliPhysics  5be3bab (5be3bab)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliCaloTrackMatcher Class Reference

#include <AliCaloTrackMatcher.h>

Inheritance diagram for AliCaloTrackMatcher:

Public Member Functions

 AliCaloTrackMatcher (const char *name="CaloTrackMatcher_0", Int_t clusterType=0)
 
virtual ~AliCaloTrackMatcher ()
 
void UserCreateOutputObjects ()
 
virtual void UserExec (Option_t *option)
 
virtual void Terminate (Option_t *)
 
TListGetCaloTrackMatcherHistograms ()
 
void SetV0ReaderName (TString name)
 
void SetAnalysisTrainMode (TString mode)
 
void SetMatchingResidual (Float_t res)
 
void SetMatchingWindow (Float_t win)
 
Bool_t GetTrackClusterMatchingResidual (Int_t trackID, Int_t clusterID, Float_t &dEta, Float_t &dPhi)
 
Int_t GetNMatchedTrackIDsForCluster (AliVEvent *event, Int_t clusterID, Float_t dEtaMax, Float_t dEtaMin, Float_t dPhiMax, Float_t dPhiMin)
 
Int_t GetNMatchedTrackIDsForCluster (AliVEvent *event, Int_t clusterID, TF1 *fFuncPtDepEta, TF1 *fFuncPtDepPhi)
 
Int_t GetNMatchedTrackIDsForCluster (AliVEvent *event, Int_t clusterID, Float_t dR)
 
Int_t GetNMatchedClusterIDsForTrack (AliVEvent *event, Int_t trackID, Float_t dEtaMax, Float_t dEtaMin, Float_t dPhiMax, Float_t dPhiMin)
 
Int_t GetNMatchedClusterIDsForTrack (AliVEvent *event, Int_t trackID, TF1 *fFuncPtDepEta, TF1 *fFuncPtDepPhi)
 
Int_t GetNMatchedClusterIDsForTrack (AliVEvent *event, Int_t trackID, Float_t dR)
 
vector< Int_tGetMatchedTrackIDsForCluster (AliVEvent *event, Int_t clusterID, Float_t dEtaMax, Float_t dEtaMin, Float_t dPhiMax, Float_t dPhiMin)
 
vector< Int_tGetMatchedTrackIDsForCluster (AliVEvent *event, Int_t clusterID, TF1 *fFuncPtDepEta, TF1 *fFuncPtDepPhi)
 
vector< Int_tGetMatchedTrackIDsForCluster (AliVEvent *event, Int_t clusterID, Float_t dR)
 
vector< Int_tGetMatchedClusterIDsForTrack (AliVEvent *event, Int_t trackID, TF1 *fFuncPtDepEta, TF1 *fFuncPtDepPhi)
 
vector< Int_tGetMatchedClusterIDsForTrack (AliVEvent *event, Int_t trackID, Float_t dEtaMax, Float_t dEtaMin, Float_t dPhiMax, Float_t dPhiMin)
 
vector< Int_tGetMatchedClusterIDsForTrack (AliVEvent *event, Int_t trackID, Float_t dR)
 
Bool_t PropagateV0TrackToClusterAndGetMatchingResidual (AliVTrack *inSecTrack, AliVCluster *cluster, AliVEvent *event, Float_t &dEta, Float_t &dPhi)
 
Bool_t IsSecTrackClusterAlreadyTried (Int_t trackID, Int_t clusterID)
 
Bool_t GetSecTrackClusterMatchingResidual (Int_t trackID, Int_t clusterID, Float_t &dEta, Float_t &dPhi)
 
Int_t GetNMatchedClusterIDsForSecTrack (AliVEvent *event, Int_t clusterID, Float_t dEtaMax, Float_t dEtaMin, Float_t dPhiMax, Float_t dPhiMin)
 
Int_t GetNMatchedClusterIDsForSecTrack (AliVEvent *event, Int_t clusterID, TF1 *fFuncPtDepEta, TF1 *fFuncPtDepPhi)
 
Int_t GetNMatchedClusterIDsForSecTrack (AliVEvent *event, Int_t clusterID, Float_t dR)
 
Int_t GetNMatchedSecTrackIDsForCluster (AliVEvent *event, Int_t trackID, Float_t dEtaMax, Float_t dEtaMin, Float_t dPhiMax, Float_t dPhiMin)
 
Int_t GetNMatchedSecTrackIDsForCluster (AliVEvent *event, Int_t trackID, TF1 *fFuncPtDepEta, TF1 *fFuncPtDepPhi)
 
Int_t GetNMatchedSecTrackIDsForCluster (AliVEvent *event, Int_t trackID, Float_t dR)
 
vector< Int_tGetMatchedSecTrackIDsForCluster (AliVEvent *event, Int_t clusterID, Float_t dEtaMax, Float_t dEtaMin, Float_t dPhiMax, Float_t dPhiMin)
 
vector< Int_tGetMatchedSecTrackIDsForCluster (AliVEvent *event, Int_t clusterID, TF1 *fFuncPtDepEta, TF1 *fFuncPtDepPhi)
 
vector< Int_tGetMatchedSecTrackIDsForCluster (AliVEvent *event, Int_t clusterID, Float_t dR)
 
vector< Int_tGetMatchedClusterIDsForSecTrack (AliVEvent *event, Int_t trackID, Float_t dEtaMax, Float_t dEtaMin, Float_t dPhiMax, Float_t dPhiMin)
 
vector< Int_tGetMatchedClusterIDsForSecTrack (AliVEvent *event, Int_t trackID, TF1 *fFuncPtDepEta, TF1 *fFuncPtDepPhi)
 
vector< Int_tGetMatchedClusterIDsForSecTrack (AliVEvent *event, Int_t trackID, Float_t dR)
 
Float_t SumTrackEtAroundCluster (AliVEvent *event, Int_t clusterID, Float_t dR)
 

Private Types

typedef pair< Int_t, Int_tpairInt
 
typedef pair< Float_t, Float_tpairFloat
 
typedef map< pairInt, Int_tmapT
 

Private Member Functions

 AliCaloTrackMatcher (const AliCaloTrackMatcher &)
 
AliCaloTrackMatcheroperator= (const AliCaloTrackMatcher &)
 
void Initialize (Int_t runNumber)
 
void ProcessEvent (AliVEvent *event)
 
void SetLogBinningYTH2 (TH2 *histoRebin)
 
void DebugMatching ()
 
void DebugV0Matching ()
 

Private Attributes

Int_t fClusterType
 
TString fV0ReaderName
 
TString fAnalysisTrainMode
 
Double_t fMatchingWindow
 
Float_t fMatchingResidual
 
Int_t fRunNumber
 
AliEMCALGeometry * fGeomEMCAL
 
AliPHOSGeometry * fGeomPHOS
 
multimap< Int_t, Int_tfMapTrackToCluster
 
multimap< Int_t, Int_tfMapClusterToTrack
 
Int_t fNEntries
 
vector< pairFloatfVectorDeltaEtaDeltaPhi
 
mapT fMap_TrID_ClID_ToIndex
 
multimap< Int_t, Int_tfSecMapTrackToCluster
 
multimap< Int_t, Int_tfSecMapClusterToTrack
 
Int_t fSecNEntries
 
vector< pairFloatfSecVectorDeltaEtaDeltaPhi
 
mapT fSecMap_TrID_ClID_ToIndex
 
mapT fSecMap_TrID_ClID_AlreadyTried
 
TListfListHistos
 
TH2FfHistControlMatches
 
TH2FfSecHistControlMatches
 

Detailed Description

Definition at line 15 of file AliCaloTrackMatcher.h.

Member Typedef Documentation

typedef map<pairInt, Int_t> AliCaloTrackMatcher::mapT
private

Definition at line 81 of file AliCaloTrackMatcher.h.

Definition at line 80 of file AliCaloTrackMatcher.h.

typedef pair<Int_t, Int_t> AliCaloTrackMatcher::pairInt
private

Definition at line 79 of file AliCaloTrackMatcher.h.

Constructor & Destructor Documentation

AliCaloTrackMatcher::AliCaloTrackMatcher ( const char *  name = "CaloTrackMatcher_0",
Int_t  clusterType = 0 
)

Definition at line 51 of file AliCaloTrackMatcher.cxx.

AliCaloTrackMatcher::~AliCaloTrackMatcher ( )
virtual

Definition at line 80 of file AliCaloTrackMatcher.cxx.

AliCaloTrackMatcher::AliCaloTrackMatcher ( const AliCaloTrackMatcher )
private

Member Function Documentation

void AliCaloTrackMatcher::DebugMatching ( )
private

Definition at line 1307 of file AliCaloTrackMatcher.cxx.

void AliCaloTrackMatcher::DebugV0Matching ( )
private

Definition at line 1268 of file AliCaloTrackMatcher.cxx.

vector< Int_t > AliCaloTrackMatcher::GetMatchedClusterIDsForSecTrack ( AliVEvent *  event,
Int_t  trackID,
Float_t  dEtaMax,
Float_t  dEtaMin,
Float_t  dPhiMax,
Float_t  dPhiMin 
)

Definition at line 1132 of file AliCaloTrackMatcher.cxx.

vector< Int_t > AliCaloTrackMatcher::GetMatchedClusterIDsForSecTrack ( AliVEvent *  event,
Int_t  trackID,
TF1 *  fFuncPtDepEta,
TF1 *  fFuncPtDepPhi 
)

Definition at line 1168 of file AliCaloTrackMatcher.cxx.

vector< Int_t > AliCaloTrackMatcher::GetMatchedClusterIDsForSecTrack ( AliVEvent *  event,
Int_t  trackID,
Float_t  dR 
)

Definition at line 1206 of file AliCaloTrackMatcher.cxx.

vector< Int_t > AliCaloTrackMatcher::GetMatchedClusterIDsForTrack ( AliVEvent *  event,
Int_t  trackID,
TF1 *  fFuncPtDepEta,
TF1 *  fFuncPtDepPhi 
)

Definition at line 805 of file AliCaloTrackMatcher.cxx.

vector< Int_t > AliCaloTrackMatcher::GetMatchedClusterIDsForTrack ( AliVEvent *  event,
Int_t  trackID,
Float_t  dEtaMax,
Float_t  dEtaMin,
Float_t  dPhiMax,
Float_t  dPhiMin 
)

Definition at line 769 of file AliCaloTrackMatcher.cxx.

vector< Int_t > AliCaloTrackMatcher::GetMatchedClusterIDsForTrack ( AliVEvent *  event,
Int_t  trackID,
Float_t  dR 
)

Definition at line 842 of file AliCaloTrackMatcher.cxx.

vector< Int_t > AliCaloTrackMatcher::GetMatchedSecTrackIDsForCluster ( AliVEvent *  event,
Int_t  clusterID,
Float_t  dEtaMax,
Float_t  dEtaMin,
Float_t  dPhiMax,
Float_t  dPhiMin 
)

Definition at line 1064 of file AliCaloTrackMatcher.cxx.

vector< Int_t > AliCaloTrackMatcher::GetMatchedSecTrackIDsForCluster ( AliVEvent *  event,
Int_t  clusterID,
TF1 *  fFuncPtDepEta,
TF1 *  fFuncPtDepPhi 
)

Definition at line 1088 of file AliCaloTrackMatcher.cxx.

vector< Int_t > AliCaloTrackMatcher::GetMatchedSecTrackIDsForCluster ( AliVEvent *  event,
Int_t  clusterID,
Float_t  dR 
)

Definition at line 1114 of file AliCaloTrackMatcher.cxx.

vector< Int_t > AliCaloTrackMatcher::GetMatchedTrackIDsForCluster ( AliVEvent *  event,
Int_t  clusterID,
Float_t  dEtaMax,
Float_t  dEtaMin,
Float_t  dPhiMax,
Float_t  dPhiMin 
)
vector< Int_t > AliCaloTrackMatcher::GetMatchedTrackIDsForCluster ( AliVEvent *  event,
Int_t  clusterID,
TF1 *  fFuncPtDepEta,
TF1 *  fFuncPtDepPhi 
)

Definition at line 726 of file AliCaloTrackMatcher.cxx.

vector< Int_t > AliCaloTrackMatcher::GetMatchedTrackIDsForCluster ( AliVEvent *  event,
Int_t  clusterID,
Float_t  dR 
)

Definition at line 752 of file AliCaloTrackMatcher.cxx.

Int_t AliCaloTrackMatcher::GetNMatchedClusterIDsForSecTrack ( AliVEvent *  event,
Int_t  clusterID,
Float_t  dEtaMax,
Float_t  dEtaMin,
Float_t  dPhiMax,
Float_t  dPhiMin 
)

Definition at line 959 of file AliCaloTrackMatcher.cxx.

Int_t AliCaloTrackMatcher::GetNMatchedClusterIDsForSecTrack ( AliVEvent *  event,
Int_t  clusterID,
TF1 *  fFuncPtDepEta,
TF1 *  fFuncPtDepPhi 
)

Definition at line 995 of file AliCaloTrackMatcher.cxx.

Int_t AliCaloTrackMatcher::GetNMatchedClusterIDsForSecTrack ( AliVEvent *  event,
Int_t  clusterID,
Float_t  dR 
)

Definition at line 1034 of file AliCaloTrackMatcher.cxx.

Int_t AliCaloTrackMatcher::GetNMatchedClusterIDsForTrack ( AliVEvent *  event,
Int_t  trackID,
Float_t  dEtaMax,
Float_t  dEtaMin,
Float_t  dPhiMax,
Float_t  dPhiMin 
)

Definition at line 600 of file AliCaloTrackMatcher.cxx.

Int_t AliCaloTrackMatcher::GetNMatchedClusterIDsForTrack ( AliVEvent *  event,
Int_t  trackID,
TF1 *  fFuncPtDepEta,
TF1 *  fFuncPtDepPhi 
)

Definition at line 636 of file AliCaloTrackMatcher.cxx.

Int_t AliCaloTrackMatcher::GetNMatchedClusterIDsForTrack ( AliVEvent *  event,
Int_t  trackID,
Float_t  dR 
)

Definition at line 674 of file AliCaloTrackMatcher.cxx.

Int_t AliCaloTrackMatcher::GetNMatchedSecTrackIDsForCluster ( AliVEvent *  event,
Int_t  trackID,
Float_t  dEtaMax,
Float_t  dEtaMin,
Float_t  dPhiMax,
Float_t  dPhiMin 
)

Definition at line 891 of file AliCaloTrackMatcher.cxx.

Int_t AliCaloTrackMatcher::GetNMatchedSecTrackIDsForCluster ( AliVEvent *  event,
Int_t  trackID,
TF1 *  fFuncPtDepEta,
TF1 *  fFuncPtDepPhi 
)

Definition at line 915 of file AliCaloTrackMatcher.cxx.

Int_t AliCaloTrackMatcher::GetNMatchedSecTrackIDsForCluster ( AliVEvent *  event,
Int_t  trackID,
Float_t  dR 
)

Definition at line 941 of file AliCaloTrackMatcher.cxx.

Int_t AliCaloTrackMatcher::GetNMatchedTrackIDsForCluster ( AliVEvent *  event,
Int_t  clusterID,
Float_t  dEtaMax,
Float_t  dEtaMin,
Float_t  dPhiMax,
Float_t  dPhiMin 
)

Definition at line 534 of file AliCaloTrackMatcher.cxx.

Referenced by AliCaloPhotonCuts::ClusterQualityCuts().

Int_t AliCaloTrackMatcher::GetNMatchedTrackIDsForCluster ( AliVEvent *  event,
Int_t  clusterID,
TF1 *  fFuncPtDepEta,
TF1 *  fFuncPtDepPhi 
)

Definition at line 558 of file AliCaloTrackMatcher.cxx.

Int_t AliCaloTrackMatcher::GetNMatchedTrackIDsForCluster ( AliVEvent *  event,
Int_t  clusterID,
Float_t  dR 
)

Definition at line 583 of file AliCaloTrackMatcher.cxx.

Bool_t AliCaloTrackMatcher::GetSecTrackClusterMatchingResidual ( Int_t  trackID,
Int_t  clusterID,
Float_t dEta,
Float_t dPhi 
)

Definition at line 875 of file AliCaloTrackMatcher.cxx.

Bool_t AliCaloTrackMatcher::GetTrackClusterMatchingResidual ( Int_t  trackID,
Int_t  clusterID,
Float_t dEta,
Float_t dPhi 
)
void AliCaloTrackMatcher::Initialize ( Int_t  runNumber)
private

Definition at line 155 of file AliCaloTrackMatcher.cxx.

Bool_t AliCaloTrackMatcher::IsSecTrackClusterAlreadyTried ( Int_t  trackID,
Int_t  clusterID 
)

Definition at line 885 of file AliCaloTrackMatcher.cxx.

AliCaloTrackMatcher& AliCaloTrackMatcher::operator= ( const AliCaloTrackMatcher )
private
void AliCaloTrackMatcher::ProcessEvent ( AliVEvent *  event)
private

Definition at line 201 of file AliCaloTrackMatcher.cxx.

Bool_t AliCaloTrackMatcher::PropagateV0TrackToClusterAndGetMatchingResidual ( AliVTrack *  inSecTrack,
AliVCluster *  cluster,
AliVEvent *  event,
Float_t dEta,
Float_t dPhi 
)
void AliCaloTrackMatcher::SetAnalysisTrainMode ( TString  mode)
inline

Definition at line 30 of file AliCaloTrackMatcher.h.

void AliCaloTrackMatcher::SetLogBinningYTH2 ( TH2 histoRebin)
private

Definition at line 1253 of file AliCaloTrackMatcher.cxx.

void AliCaloTrackMatcher::SetMatchingResidual ( Float_t  res)
inline

Definition at line 31 of file AliCaloTrackMatcher.h.

void AliCaloTrackMatcher::SetMatchingWindow ( Float_t  win)
inline

Definition at line 32 of file AliCaloTrackMatcher.h.

void AliCaloTrackMatcher::SetV0ReaderName ( TString  name)
inline

Definition at line 29 of file AliCaloTrackMatcher.h.

Float_t AliCaloTrackMatcher::SumTrackEtAroundCluster ( AliVEvent *  event,
Int_t  clusterID,
Float_t  dR 
)

Definition at line 1236 of file AliCaloTrackMatcher.cxx.

void AliCaloTrackMatcher::Terminate ( Option_t )
virtual

Definition at line 103 of file AliCaloTrackMatcher.cxx.

void AliCaloTrackMatcher::UserCreateOutputObjects ( )

Definition at line 117 of file AliCaloTrackMatcher.cxx.

void AliCaloTrackMatcher::UserExec ( Option_t option)
virtual

Definition at line 183 of file AliCaloTrackMatcher.cxx.

Member Data Documentation

TString AliCaloTrackMatcher::fAnalysisTrainMode
private

Definition at line 98 of file AliCaloTrackMatcher.h.

Int_t AliCaloTrackMatcher::fClusterType
private

Definition at line 96 of file AliCaloTrackMatcher.h.

AliEMCALGeometry* AliCaloTrackMatcher::fGeomEMCAL
private

Definition at line 103 of file AliCaloTrackMatcher.h.

AliPHOSGeometry* AliCaloTrackMatcher::fGeomPHOS
private

Definition at line 104 of file AliCaloTrackMatcher.h.

TH2F* AliCaloTrackMatcher::fHistControlMatches
private

Definition at line 124 of file AliCaloTrackMatcher.h.

TList* AliCaloTrackMatcher::fListHistos
private

Definition at line 123 of file AliCaloTrackMatcher.h.

mapT AliCaloTrackMatcher::fMap_TrID_ClID_ToIndex
private

Definition at line 111 of file AliCaloTrackMatcher.h.

multimap<Int_t,Int_t> AliCaloTrackMatcher::fMapClusterToTrack
private

Definition at line 107 of file AliCaloTrackMatcher.h.

multimap<Int_t,Int_t> AliCaloTrackMatcher::fMapTrackToCluster
private

Definition at line 106 of file AliCaloTrackMatcher.h.

Float_t AliCaloTrackMatcher::fMatchingResidual
private

Definition at line 100 of file AliCaloTrackMatcher.h.

Double_t AliCaloTrackMatcher::fMatchingWindow
private

Definition at line 99 of file AliCaloTrackMatcher.h.

Int_t AliCaloTrackMatcher::fNEntries
private

Definition at line 109 of file AliCaloTrackMatcher.h.

Int_t AliCaloTrackMatcher::fRunNumber
private

Definition at line 101 of file AliCaloTrackMatcher.h.

TH2F* AliCaloTrackMatcher::fSecHistControlMatches
private

Definition at line 125 of file AliCaloTrackMatcher.h.

mapT AliCaloTrackMatcher::fSecMap_TrID_ClID_AlreadyTried
private

Definition at line 120 of file AliCaloTrackMatcher.h.

mapT AliCaloTrackMatcher::fSecMap_TrID_ClID_ToIndex
private

Definition at line 119 of file AliCaloTrackMatcher.h.

multimap<Int_t,Int_t> AliCaloTrackMatcher::fSecMapClusterToTrack
private

Definition at line 115 of file AliCaloTrackMatcher.h.

multimap<Int_t,Int_t> AliCaloTrackMatcher::fSecMapTrackToCluster
private

Definition at line 114 of file AliCaloTrackMatcher.h.

Int_t AliCaloTrackMatcher::fSecNEntries
private

Definition at line 117 of file AliCaloTrackMatcher.h.

vector<pairFloat> AliCaloTrackMatcher::fSecVectorDeltaEtaDeltaPhi
private

Definition at line 118 of file AliCaloTrackMatcher.h.

TString AliCaloTrackMatcher::fV0ReaderName
private

Definition at line 97 of file AliCaloTrackMatcher.h.

vector<pairFloat> AliCaloTrackMatcher::fVectorDeltaEtaDeltaPhi
private

Definition at line 110 of file AliCaloTrackMatcher.h.


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