AliPhysics  vAN-20150429 (ffa5c54)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliAnalysisTaskMuonTrackingEff Class Reference

tracking chamber efficiency from ESD data More...

#include <AliAnalysisTaskMuonTrackingEff.h>

Inheritance diagram for AliAnalysisTaskMuonTrackingEff:

Public Member Functions

 AliAnalysisTaskMuonTrackingEff ()
 
 AliAnalysisTaskMuonTrackingEff (TString name)
 
virtual ~AliAnalysisTaskMuonTrackingEff ()
 
void SetDefaultStorage (const char *ocdbPath)
 Set location of the default OCDB storage (if not set use "raw://") More...
 
void SetAlignStorage (const char *ocdbPath)
 Set the OCDB path to the alignment file used in the reco (if not set use default storage) More...
 
void SetRecoParamStorage (const char *ocdbPath)
 Set the OCDB path to the recoParam file used in the reco (if not set use default storage) More...
 
void SelectCentrality (Double_t min, Double_t max)
 Select tracks in the given centrality range. More...
 
void SetMuonTrackCuts (AliMuonTrackCuts &trackCuts)
 
void SetMuonPtCut (Double_t cut)
 set the muon low pT cut More...
 
void UseMCLabel (Bool_t flag=kTRUE)
 set the flag to select tracks using MC label More...
 
void EnableDisplay (Bool_t flag=kTRUE)
 enable the display in the terminate More...
 
virtual void UserCreateOutputObjects ()
 
virtual void UserExec (Option_t *)
 
virtual void NotifyRun ()
 
virtual void Terminate (Option_t *)
 

Private Member Functions

 AliAnalysisTaskMuonTrackingEff (const AliAnalysisTaskMuonTrackingEff &rhs)
 Not implemented. More...
 
AliAnalysisTaskMuonTrackingEffoperator= (const AliAnalysisTaskMuonTrackingEff &rhs)
 Not implemented. More...
 
Bool_t TagRemovableClusters (AliMUONTrack &track, Bool_t removableChambers[10])
 
void FindAndRecordMissingClusters (AliMUONTrackParam &param, Int_t chamber, Double_t trackInfo[6])
 
void Intersect (AliMUONTrackParam &param, Int_t deId, Double_t p[3])
 
Bool_t OverlapDE (AliMpArea &area, Int_t deId)
 
void RecordCluster (Int_t chamber, Int_t deId, AliMpPad pad[2], Double_t trackInfo[6], TString clusterKey, TList *chamberHistList, Bool_t recordChamber)
 
Bool_t FindPads (Int_t deId, Double_t pos[3], AliMpPad pad[2])
 Look for pads at the cluster's location. More...
 

Private Attributes

Bool_t fOCDBLoaded
 Determine if the OCDB and =geometry have been loaded. More...
 
TString fOCDBpath
 OCDB path. More...
 
TString fAlignOCDBpath
 OCDB path to the alignment file. More...
 
TString fRecoParamOCDBpath
 OCDB path to the recoParam file. More...
 
Double_t fCentMin
 select centrality > fCentMin More...
 
Double_t fCentMax
 select centrality <= fCentMax More...
 
AliMuonTrackCuts * fMuonTrackCuts
 cuts to select tracks to be considered More...
 
Double_t fPtCut
 cut on minimum pt More...
 
Bool_t fUseMCLabel
 select tracks using MC label More...
 
Bool_t fEnableDisplay
 enable the display in the terminate More...
 
AliMUONGeometryTransformer * fTransformer
 Transformer object. More...
 
TObjArray * fDEPlanes
 vectors (x0, y0, z0, a, b, c) defining the plane of each DE in the global frame More...
 
AliCounterCollection * fClusters
 detected (all), accepted (for efficiency calculation) and expected clusters More...
 
TList * fChamberTDHistList
 List of histograms of the tracks detected in the chambers. More...
 
TList * fChamberTTHistList
 List of histograms of the tracks which have passed through the chambers. More...
 
TList * fChamberSDHistList
 List of histograms of the tracks only detected by one chamber of the station. More...
 
TList * fExtraHistList
 List of extra histograms. More...
 

Static Private Attributes

static const Int_t fgkNofDE [11]
 Total number of detection elements in each chamber. More...
 
static const Int_t fgkNofBusPath = 888
 Total number of bus patches. More...
 
static const Int_t fgkNofManu = 16828
 Total number of manus. More...
 

Detailed Description

tracking chamber efficiency from ESD data

Definition at line 28 of file AliAnalysisTaskMuonTrackingEff.h.

Constructor & Destructor Documentation

AliAnalysisTaskMuonTrackingEff::AliAnalysisTaskMuonTrackingEff ( )

Default constructor

Definition at line 87 of file AliAnalysisTaskMuonTrackingEff.cxx.

AliAnalysisTaskMuonTrackingEff::AliAnalysisTaskMuonTrackingEff ( TString  name)

Constructor

Definition at line 111 of file AliAnalysisTaskMuonTrackingEff.cxx.

AliAnalysisTaskMuonTrackingEff::~AliAnalysisTaskMuonTrackingEff ( )
virtual

Destructor

Definition at line 142 of file AliAnalysisTaskMuonTrackingEff.cxx.

AliAnalysisTaskMuonTrackingEff::AliAnalysisTaskMuonTrackingEff ( const AliAnalysisTaskMuonTrackingEff rhs)
private

Not implemented.

Member Function Documentation

void AliAnalysisTaskMuonTrackingEff::EnableDisplay ( Bool_t  flag = kTRUE)
inline

enable the display in the terminate

Definition at line 59 of file AliAnalysisTaskMuonTrackingEff.h.

void AliAnalysisTaskMuonTrackingEff::FindAndRecordMissingClusters ( AliMUONTrackParam &  param,
Int_t  chamber,
Double_t  trackInfo[6] 
)
private

Find which detection elements should have been hit and record the missing clusters

Definition at line 661 of file AliAnalysisTaskMuonTrackingEff.cxx.

Referenced by UserExec().

Bool_t AliAnalysisTaskMuonTrackingEff::FindPads ( Int_t  deId,
Double_t  pos[3],
AliMpPad  pad[2] 
)
private

Look for pads at the cluster's location.

Look for pads at the cluster's location

Definition at line 802 of file AliAnalysisTaskMuonTrackingEff.cxx.

Referenced by FindAndRecordMissingClusters(), and UserExec().

void AliAnalysisTaskMuonTrackingEff::Intersect ( AliMUONTrackParam &  param,
Int_t  deId,
Double_t  p[3] 
)
private

Find the intersection point between the track (assuming straight line) and the DE in the global frame

Definition at line 748 of file AliAnalysisTaskMuonTrackingEff.cxx.

Referenced by FindAndRecordMissingClusters().

void AliAnalysisTaskMuonTrackingEff::NotifyRun ( )
virtual

Load the OCDB and the Geometry

Definition at line 158 of file AliAnalysisTaskMuonTrackingEff.cxx.

AliAnalysisTaskMuonTrackingEff& AliAnalysisTaskMuonTrackingEff::operator= ( const AliAnalysisTaskMuonTrackingEff rhs)
private

Not implemented.

Bool_t AliAnalysisTaskMuonTrackingEff::OverlapDE ( AliMpArea &  area,
Int_t  deId 
)
private

Check whether (global) area overlaps with the given DE

Definition at line 764 of file AliAnalysisTaskMuonTrackingEff.cxx.

Referenced by FindAndRecordMissingClusters().

void AliAnalysisTaskMuonTrackingEff::RecordCluster ( Int_t  chamber,
Int_t  deId,
AliMpPad  pad[2],
Double_t  trackInfo[6],
TString  clusterKey,
TList *  chamberHistList,
Bool_t  recordChamber 
)
private

Register the cluster in the given stores

Definition at line 776 of file AliAnalysisTaskMuonTrackingEff.cxx.

Referenced by FindAndRecordMissingClusters(), and UserExec().

void AliAnalysisTaskMuonTrackingEff::SelectCentrality ( Double_t  min,
Double_t  max 
)
inline

Select tracks in the given centrality range.

Definition at line 47 of file AliAnalysisTaskMuonTrackingEff.h.

void AliAnalysisTaskMuonTrackingEff::SetAlignStorage ( const char *  ocdbPath)
inline

Set the OCDB path to the alignment file used in the reco (if not set use default storage)

Definition at line 41 of file AliAnalysisTaskMuonTrackingEff.h.

void AliAnalysisTaskMuonTrackingEff::SetDefaultStorage ( const char *  ocdbPath)
inline

Set location of the default OCDB storage (if not set use "raw://")

Definition at line 38 of file AliAnalysisTaskMuonTrackingEff.h.

void AliAnalysisTaskMuonTrackingEff::SetMuonPtCut ( Double_t  cut)
inline

set the muon low pT cut

Definition at line 53 of file AliAnalysisTaskMuonTrackingEff.h.

void AliAnalysisTaskMuonTrackingEff::SetMuonTrackCuts ( AliMuonTrackCuts &  trackCuts)
inline

set standard cuts to select tracks to be considered

Definition at line 129 of file AliAnalysisTaskMuonTrackingEff.h.

Referenced by AddTaskMUONTrackingEfficiency().

void AliAnalysisTaskMuonTrackingEff::SetRecoParamStorage ( const char *  ocdbPath)
inline

Set the OCDB path to the recoParam file used in the reco (if not set use default storage)

Definition at line 44 of file AliAnalysisTaskMuonTrackingEff.h.

Bool_t AliAnalysisTaskMuonTrackingEff::TagRemovableClusters ( AliMUONTrack &  track,
Bool_t  removableChambers[10] 
)
private

Identify clusters/chambers that can be removed from the track return kTRUE if the track as it is satisfies the tracking conditions

Definition at line 577 of file AliAnalysisTaskMuonTrackingEff.cxx.

Referenced by UserExec().

void AliAnalysisTaskMuonTrackingEff::Terminate ( Option_t *  )
virtual

final plots

Definition at line 474 of file AliAnalysisTaskMuonTrackingEff.cxx.

void AliAnalysisTaskMuonTrackingEff::UseMCLabel ( Bool_t  flag = kTRUE)
inline

set the flag to select tracks using MC label

Definition at line 56 of file AliAnalysisTaskMuonTrackingEff.h.

void AliAnalysisTaskMuonTrackingEff::UserCreateOutputObjects ( )
virtual

Define output objects

Definition at line 227 of file AliAnalysisTaskMuonTrackingEff.cxx.

void AliAnalysisTaskMuonTrackingEff::UserExec ( Option_t *  )
virtual

Main event loop

Definition at line 351 of file AliAnalysisTaskMuonTrackingEff.cxx.

Member Data Documentation

TString AliAnalysisTaskMuonTrackingEff::fAlignOCDBpath
private

OCDB path to the alignment file.

Definition at line 103 of file AliAnalysisTaskMuonTrackingEff.h.

Referenced by NotifyRun(), and SetAlignStorage().

Double_t AliAnalysisTaskMuonTrackingEff::fCentMax
private

select centrality <= fCentMax

Definition at line 106 of file AliAnalysisTaskMuonTrackingEff.h.

Referenced by SelectCentrality(), and UserExec().

Double_t AliAnalysisTaskMuonTrackingEff::fCentMin
private

select centrality > fCentMin

Definition at line 105 of file AliAnalysisTaskMuonTrackingEff.h.

Referenced by SelectCentrality().

TList* AliAnalysisTaskMuonTrackingEff::fChamberSDHistList
private

List of histograms of the tracks only detected by one chamber of the station.

Definition at line 119 of file AliAnalysisTaskMuonTrackingEff.h.

Referenced by UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskMuonTrackingEff().

TList* AliAnalysisTaskMuonTrackingEff::fChamberTDHistList
private

List of histograms of the tracks detected in the chambers.

Definition at line 117 of file AliAnalysisTaskMuonTrackingEff.h.

Referenced by UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskMuonTrackingEff().

TList* AliAnalysisTaskMuonTrackingEff::fChamberTTHistList
private

List of histograms of the tracks which have passed through the chambers.

Definition at line 118 of file AliAnalysisTaskMuonTrackingEff.h.

Referenced by FindAndRecordMissingClusters(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskMuonTrackingEff().

AliCounterCollection* AliAnalysisTaskMuonTrackingEff::fClusters
private

detected (all), accepted (for efficiency calculation) and expected clusters

Definition at line 116 of file AliAnalysisTaskMuonTrackingEff.h.

Referenced by RecordCluster(), Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskMuonTrackingEff().

TObjArray* AliAnalysisTaskMuonTrackingEff::fDEPlanes
private

vectors (x0, y0, z0, a, b, c) defining the plane of each DE in the global frame

Definition at line 114 of file AliAnalysisTaskMuonTrackingEff.h.

Referenced by Intersect(), NotifyRun(), and ~AliAnalysisTaskMuonTrackingEff().

Bool_t AliAnalysisTaskMuonTrackingEff::fEnableDisplay
private

enable the display in the terminate

Definition at line 110 of file AliAnalysisTaskMuonTrackingEff.h.

Referenced by EnableDisplay(), and Terminate().

TList* AliAnalysisTaskMuonTrackingEff::fExtraHistList
private
const Int_t AliAnalysisTaskMuonTrackingEff::fgkNofBusPath = 888
staticprivate

Total number of bus patches.

Definition at line 98 of file AliAnalysisTaskMuonTrackingEff.h.

Referenced by UserCreateOutputObjects().

const Int_t AliAnalysisTaskMuonTrackingEff::fgkNofDE[11]
staticprivate

Total number of detection elements in each chamber.

Definition at line 97 of file AliAnalysisTaskMuonTrackingEff.h.

Referenced by UserCreateOutputObjects().

const Int_t AliAnalysisTaskMuonTrackingEff::fgkNofManu = 16828
staticprivate

Total number of manus.

Definition at line 99 of file AliAnalysisTaskMuonTrackingEff.h.

Referenced by UserCreateOutputObjects().

AliMuonTrackCuts* AliAnalysisTaskMuonTrackingEff::fMuonTrackCuts
private

cuts to select tracks to be considered

Definition at line 107 of file AliAnalysisTaskMuonTrackingEff.h.

Referenced by NotifyRun(), SetMuonTrackCuts(), UserExec(), and ~AliAnalysisTaskMuonTrackingEff().

Bool_t AliAnalysisTaskMuonTrackingEff::fOCDBLoaded
private

Determine if the OCDB and =geometry have been loaded.

Definition at line 101 of file AliAnalysisTaskMuonTrackingEff.h.

Referenced by NotifyRun(), and UserExec().

TString AliAnalysisTaskMuonTrackingEff::fOCDBpath
private

OCDB path.

Definition at line 102 of file AliAnalysisTaskMuonTrackingEff.h.

Referenced by NotifyRun(), and SetDefaultStorage().

Double_t AliAnalysisTaskMuonTrackingEff::fPtCut
private

cut on minimum pt

Definition at line 108 of file AliAnalysisTaskMuonTrackingEff.h.

Referenced by SetMuonPtCut(), and UserExec().

TString AliAnalysisTaskMuonTrackingEff::fRecoParamOCDBpath
private

OCDB path to the recoParam file.

Definition at line 104 of file AliAnalysisTaskMuonTrackingEff.h.

Referenced by NotifyRun(), and SetRecoParamStorage().

AliMUONGeometryTransformer* AliAnalysisTaskMuonTrackingEff::fTransformer
private

Transformer object.

Definition at line 112 of file AliAnalysisTaskMuonTrackingEff.h.

Referenced by FindPads(), NotifyRun(), OverlapDE(), and ~AliAnalysisTaskMuonTrackingEff().

Bool_t AliAnalysisTaskMuonTrackingEff::fUseMCLabel
private

select tracks using MC label

Definition at line 109 of file AliAnalysisTaskMuonTrackingEff.h.

Referenced by UseMCLabel(), and UserExec().


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