AliPhysics  2aaea23 (2aaea23)
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 SetCorrectionTaskSetting (TString setting)
 
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 fCorrTaskSetting
 
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 82 of file AliCaloTrackMatcher.h.

Definition at line 81 of file AliCaloTrackMatcher.h.

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

Definition at line 80 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 81 of file AliCaloTrackMatcher.cxx.

AliCaloTrackMatcher::AliCaloTrackMatcher ( const AliCaloTrackMatcher )
private

Member Function Documentation

void AliCaloTrackMatcher::DebugMatching ( )
private

Definition at line 1452 of file AliCaloTrackMatcher.cxx.

void AliCaloTrackMatcher::DebugV0Matching ( )
private

Definition at line 1413 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 1277 of file AliCaloTrackMatcher.cxx.

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

Definition at line 1313 of file AliCaloTrackMatcher.cxx.

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

Definition at line 1351 of file AliCaloTrackMatcher.cxx.

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

Definition at line 950 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 914 of file AliCaloTrackMatcher.cxx.

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

Definition at line 987 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 1209 of file AliCaloTrackMatcher.cxx.

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

Definition at line 1233 of file AliCaloTrackMatcher.cxx.

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

Definition at line 1259 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 871 of file AliCaloTrackMatcher.cxx.

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

Definition at line 897 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 1104 of file AliCaloTrackMatcher.cxx.

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

Definition at line 1140 of file AliCaloTrackMatcher.cxx.

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

Definition at line 1179 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 745 of file AliCaloTrackMatcher.cxx.

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

Definition at line 781 of file AliCaloTrackMatcher.cxx.

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

Definition at line 819 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 1036 of file AliCaloTrackMatcher.cxx.

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

Definition at line 1060 of file AliCaloTrackMatcher.cxx.

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

Definition at line 1086 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 679 of file AliCaloTrackMatcher.cxx.

Referenced by AliCaloPhotonCuts::ClusterQualityCuts().

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

Definition at line 703 of file AliCaloTrackMatcher.cxx.

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

Definition at line 728 of file AliCaloTrackMatcher.cxx.

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

Definition at line 1020 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 156 of file AliCaloTrackMatcher.cxx.

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

Definition at line 1030 of file AliCaloTrackMatcher.cxx.

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

Definition at line 202 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 31 of file AliCaloTrackMatcher.h.

void AliCaloTrackMatcher::SetCorrectionTaskSetting ( TString  setting)
inline

Definition at line 30 of file AliCaloTrackMatcher.h.

void AliCaloTrackMatcher::SetLogBinningYTH2 ( TH2 histoRebin)
private

Definition at line 1398 of file AliCaloTrackMatcher.cxx.

void AliCaloTrackMatcher::SetMatchingResidual ( Float_t  res)
inline

Definition at line 32 of file AliCaloTrackMatcher.h.

void AliCaloTrackMatcher::SetMatchingWindow ( Float_t  win)
inline

Definition at line 33 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 1381 of file AliCaloTrackMatcher.cxx.

void AliCaloTrackMatcher::Terminate ( Option_t )
virtual

Definition at line 104 of file AliCaloTrackMatcher.cxx.

void AliCaloTrackMatcher::UserCreateOutputObjects ( )

Definition at line 118 of file AliCaloTrackMatcher.cxx.

void AliCaloTrackMatcher::UserExec ( Option_t option)
virtual

Definition at line 184 of file AliCaloTrackMatcher.cxx.

Member Data Documentation

TString AliCaloTrackMatcher::fAnalysisTrainMode
private

Definition at line 100 of file AliCaloTrackMatcher.h.

Int_t AliCaloTrackMatcher::fClusterType
private

Definition at line 97 of file AliCaloTrackMatcher.h.

TString AliCaloTrackMatcher::fCorrTaskSetting
private

Definition at line 99 of file AliCaloTrackMatcher.h.

AliEMCALGeometry* AliCaloTrackMatcher::fGeomEMCAL
private

Definition at line 105 of file AliCaloTrackMatcher.h.

AliPHOSGeometry* AliCaloTrackMatcher::fGeomPHOS
private

Definition at line 106 of file AliCaloTrackMatcher.h.

TH2F* AliCaloTrackMatcher::fHistControlMatches
private

Definition at line 126 of file AliCaloTrackMatcher.h.

TList* AliCaloTrackMatcher::fListHistos
private

Definition at line 125 of file AliCaloTrackMatcher.h.

mapT AliCaloTrackMatcher::fMap_TrID_ClID_ToIndex
private

Definition at line 113 of file AliCaloTrackMatcher.h.

multimap<Int_t,Int_t> AliCaloTrackMatcher::fMapClusterToTrack
private

Definition at line 109 of file AliCaloTrackMatcher.h.

multimap<Int_t,Int_t> AliCaloTrackMatcher::fMapTrackToCluster
private

Definition at line 108 of file AliCaloTrackMatcher.h.

Float_t AliCaloTrackMatcher::fMatchingResidual
private

Definition at line 102 of file AliCaloTrackMatcher.h.

Double_t AliCaloTrackMatcher::fMatchingWindow
private

Definition at line 101 of file AliCaloTrackMatcher.h.

Int_t AliCaloTrackMatcher::fNEntries
private

Definition at line 111 of file AliCaloTrackMatcher.h.

Int_t AliCaloTrackMatcher::fRunNumber
private

Definition at line 103 of file AliCaloTrackMatcher.h.

TH2F* AliCaloTrackMatcher::fSecHistControlMatches
private

Definition at line 127 of file AliCaloTrackMatcher.h.

mapT AliCaloTrackMatcher::fSecMap_TrID_ClID_AlreadyTried
private

Definition at line 122 of file AliCaloTrackMatcher.h.

mapT AliCaloTrackMatcher::fSecMap_TrID_ClID_ToIndex
private

Definition at line 121 of file AliCaloTrackMatcher.h.

multimap<Int_t,Int_t> AliCaloTrackMatcher::fSecMapClusterToTrack
private

Definition at line 117 of file AliCaloTrackMatcher.h.

multimap<Int_t,Int_t> AliCaloTrackMatcher::fSecMapTrackToCluster
private

Definition at line 116 of file AliCaloTrackMatcher.h.

Int_t AliCaloTrackMatcher::fSecNEntries
private

Definition at line 119 of file AliCaloTrackMatcher.h.

vector<pairFloat> AliCaloTrackMatcher::fSecVectorDeltaEtaDeltaPhi
private

Definition at line 120 of file AliCaloTrackMatcher.h.

TString AliCaloTrackMatcher::fV0ReaderName
private

Definition at line 98 of file AliCaloTrackMatcher.h.

vector<pairFloat> AliCaloTrackMatcher::fVectorDeltaEtaDeltaPhi
private

Definition at line 112 of file AliCaloTrackMatcher.h.


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