AliPhysics  v5-07-18-02 (20ec537)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliAnalysisTaskMuonQA Class Reference

Quality assurance of MUON ESDs. More...

#include <AliAnalysisTaskMuonQA.h>

Inheritance diagram for AliAnalysisTaskMuonQA:

Public Member Functions

 AliAnalysisTaskMuonQA ()
 
 AliAnalysisTaskMuonQA (const char *name)
 
virtual ~AliAnalysisTaskMuonQA ()
 
virtual void UserCreateOutputObjects ()
 
virtual void UserExec (Option_t *)
 
virtual void Terminate (Option_t *)
 
virtual void NotifyRun ()
 
void SelectCharge (Short_t charge=0)
 Select negative (<0), positive (>0) or all (==0) tracks to fill histograms. More...
 
void SelectEvent (Bool_t flag=kTRUE)
 Select events passing the AliMuonEventCuts as defined by the task to fill histograms. More...
 
void SelectMatched (Bool_t flag=kTRUE)
 Select track matching the trigger to fill histograms. More...
 
void ApplyAccCut (Bool_t flag=kTRUE)
 Use only tracks passing the acceptance cuts (Rabs, eta) More...
 
void SetTrackCuts (AliMuonTrackCuts *trackCuts)
 
AliMuonTrackCuts * GetTrackCuts ()
 Get track cuts. More...
 
AliMuonEventCuts * GetEventCuts ()
 Get event cuts. More...
 

Private Types

enum  eList {
  kNTracks = 0, kMatchTrig = 1, kSign = 2, kDCA = 3,
  kP = 4, kPMuPlus = 5, kPMuMinus = 6, kPt = 7,
  kPtMuPlus = 8, kPtMuMinus = 9, kRapidity = 10, kThetaX = 11,
  kThetaY = 12, kChi2 = 13, kProbChi2 = 14, kNClustersPerTrack = 15,
  kNChamberHitPerTrack = 16, kPtMatchLpt = 17, kPtMatchHpt = 18, kPtMuPlusMatchLpt = 19,
  kPtMuPlusMatchHpt = 20, kPtMuMinusMatchLpt = 21, kPtMuMinusMatchHpt = 22, kMuonTrig = 23
}
 
enum  eListExpert {
  kNClustersPerCh = 0, kNClustersPerDE = 1, kClusterHitMapInCh = 2, kClusterChargeInCh = 12,
  kClusterChargePerDE = 22, kClusterSizeInCh = 23, kClusterSizePerDE = 33
}
 
enum  eListNorm {
  kClusterChargePerChMean = 0, kClusterChargePerChSigma = 1, kClusterChargePerDEMean = 2, kClusterChargePerDESigma = 3,
  kClusterSizePerChMean = 4, kClusterSizePerChSigma = 5, kClusterSizePerDEMean = 6, kClusterSizePerDESigma = 7,
  kNClustersPerChPerTrack = 8, kNClustersPerDEPerTrack = 9
}
 

Private Member Functions

 AliAnalysisTaskMuonQA (const AliAnalysisTaskMuonQA &rhs)
 Not implemented. More...
 
AliAnalysisTaskMuonQAoperator= (const AliAnalysisTaskMuonQA &rhs)
 Not implemented. More...
 
Double_t ChangeThetaRange (Double_t theta)
 
TList * BuildListOfTriggers (const TObjArray *)
 
 ClassDef (AliAnalysisTaskMuonQA, 9)
 

Private Attributes

TObjArray * fList
 List of output object for everybody. More...
 
TObjArray * fListExpert
 List of output object for experts. More...
 
TObjArray * fListNorm
 Normalized histograms. More...
 
AliCounterCollection * fTrackCounters
 track statistics More...
 
AliCounterCollection * fEventCounters
 event statistics More...
 
Short_t fSelectCharge
 Fill histograms only with negative/position tracks (0=all) More...
 
Bool_t fSelectEvent
 Fill histograms only with events passing the AliMuonEventCuts selection. More...
 
Bool_t fSelectMatched
 Fill histograms only with tracks matching the trigger. More...
 
Bool_t fApplyAccCut
 use only tracks passing the acceptance cuts (Rabs, eta) More...
 
AliMuonEventCuts * fEventCuts
 Event cuts. More...
 
AliMuonTrackCuts * fTrackCuts
 Track cuts. More...
 
TArrayI fMuonTrigIndex
 Combined muon trigger index. More...
 

Static Private Attributes

static const Int_t nCh
 number of tracking chambers More...
 
static const Int_t nDE
 number of DE More...
 
static const Float_t dMax [5] = {176.6, 229.0, 308.84, 418.2, 522.0}
 maximum diameter of each station More...
 

Detailed Description

Quality assurance of MUON ESDs.

Definition at line 23 of file AliAnalysisTaskMuonQA.h.

Member Enumeration Documentation

Enumerator
kNTracks 

number of tracks

kMatchTrig 

number of tracks matched with trigger

kSign 

track sign

kDCA 

DCA distribution.

kP 

P distribution.

kPMuPlus 

P distribution of mu+.

kPMuMinus 

P distribution of mu-.

kPt 

Pt distribution.

kPtMuPlus 

Pt distribution of mu+.

kPtMuMinus 

Pt distribution of mu-.

kRapidity 

rapidity distribution

kThetaX 

thetaX distribution

kThetaY 

thetaY distribution

kChi2 

normalized chi2 distribution

kProbChi2 

distribution of probability of chi2

kNClustersPerTrack 

number of clusters per track

kNChamberHitPerTrack 

number of chamber hit per track

kPtMatchLpt 

Pt distribution match Lpt.

kPtMatchHpt 

Pt distribution match Hpt.

kPtMuPlusMatchLpt 

Pt distribution of mu+ match Lpt.

kPtMuPlusMatchHpt 

Pt distribution of mu+ match Hpt.

kPtMuMinusMatchLpt 

Pt distribution of mu- match Lpt.

kPtMuMinusMatchHpt 

Pt distribution of mu- match Hpt.

kMuonTrig 

Muon triggers.

Definition at line 67 of file AliAnalysisTaskMuonQA.h.

Enumerator
kNClustersPerCh 

number of clusters per chamber

kNClustersPerDE 

number of clusters per DE

kClusterHitMapInCh 

cluster position distribution in chamber i

kClusterChargeInCh 

cluster charge distribution in chamber i

kClusterChargePerDE 

cluster charge distribution per DE

kClusterSizeInCh 

cluster size distribution in chamber i

kClusterSizePerDE 

cluster size distribution per DE

Definition at line 94 of file AliAnalysisTaskMuonQA.h.

Enumerator
kClusterChargePerChMean 

cluster charge per Ch: mean

kClusterChargePerChSigma 

cluster charge per Ch: dispersion

kClusterChargePerDEMean 

cluster charge per DE: mean

kClusterChargePerDESigma 

cluster charge per DE: dispersion

kClusterSizePerChMean 

cluster size per Ch: mean

kClusterSizePerChSigma 

cluster size per Ch: dispersion

kClusterSizePerDEMean 

cluster size per DE: mean

kClusterSizePerDESigma 

cluster size per DE: dispersion

kNClustersPerChPerTrack 

number of clusters per chamber per track

kNClustersPerDEPerTrack 

number of clusters per DE per track

Definition at line 104 of file AliAnalysisTaskMuonQA.h.

Constructor & Destructor Documentation

AliAnalysisTaskMuonQA::AliAnalysisTaskMuonQA ( )

Definition at line 66 of file AliAnalysisTaskMuonQA.cxx.

AliAnalysisTaskMuonQA::AliAnalysisTaskMuonQA ( const char *  name)

Constructor

Definition at line 85 of file AliAnalysisTaskMuonQA.cxx.

AliAnalysisTaskMuonQA::~AliAnalysisTaskMuonQA ( )
virtual

Destructor

Definition at line 118 of file AliAnalysisTaskMuonQA.cxx.

AliAnalysisTaskMuonQA::AliAnalysisTaskMuonQA ( const AliAnalysisTaskMuonQA rhs)
private

Not implemented.

Member Function Documentation

void AliAnalysisTaskMuonQA::ApplyAccCut ( Bool_t  flag = kTRUE)
inline

Use only tracks passing the acceptance cuts (Rabs, eta)

Definition at line 45 of file AliAnalysisTaskMuonQA.h.

TList * AliAnalysisTaskMuonQA::BuildListOfTriggers ( const TObjArray *  obj)
private

build the list of trigger for the counters from the selected trigger objarray returned TList must be deleted by user

Definition at line 755 of file AliAnalysisTaskMuonQA.cxx.

Referenced by UserExec().

Double_t AliAnalysisTaskMuonQA::ChangeThetaRange ( Double_t  theta)
private

set theta range from -180 to +180 degrees

Definition at line 745 of file AliAnalysisTaskMuonQA.cxx.

Referenced by UserExec().

AliAnalysisTaskMuonQA::ClassDef ( AliAnalysisTaskMuonQA  ,
 
)
private
AliMuonEventCuts* AliAnalysisTaskMuonQA::GetEventCuts ( )
inline

Get event cuts.

Definition at line 52 of file AliAnalysisTaskMuonQA.h.

AliMuonTrackCuts* AliAnalysisTaskMuonQA::GetTrackCuts ( )
inline

Get track cuts.

Definition at line 50 of file AliAnalysisTaskMuonQA.h.

void AliAnalysisTaskMuonQA::NotifyRun ( )
virtual

Notify run

Definition at line 135 of file AliAnalysisTaskMuonQA.cxx.

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

Not implemented.

void AliAnalysisTaskMuonQA::SelectCharge ( Short_t  charge = 0)
inline

Select negative (<0), positive (>0) or all (==0) tracks to fill histograms.

Definition at line 36 of file AliAnalysisTaskMuonQA.h.

void AliAnalysisTaskMuonQA::SelectEvent ( Bool_t  flag = kTRUE)
inline

Select events passing the AliMuonEventCuts as defined by the task to fill histograms.

Definition at line 39 of file AliAnalysisTaskMuonQA.h.

void AliAnalysisTaskMuonQA::SelectMatched ( Bool_t  flag = kTRUE)
inline

Select track matching the trigger to fill histograms.

Definition at line 42 of file AliAnalysisTaskMuonQA.h.

void AliAnalysisTaskMuonQA::SetTrackCuts ( AliMuonTrackCuts *  trackCuts)

Set track cuts

Definition at line 143 of file AliAnalysisTaskMuonQA.cxx.

void AliAnalysisTaskMuonQA::Terminate ( Option_t *  )
virtual

Normalize histograms Draw result to the screen Print statistics

Definition at line 602 of file AliAnalysisTaskMuonQA.cxx.

void AliAnalysisTaskMuonQA::UserCreateOutputObjects ( )
virtual

Create histograms and counters

Definition at line 152 of file AliAnalysisTaskMuonQA.cxx.

void AliAnalysisTaskMuonQA::UserExec ( Option_t *  )
virtual

Called for each event

Definition at line 318 of file AliAnalysisTaskMuonQA.cxx.

Member Data Documentation

const Float_t AliAnalysisTaskMuonQA::dMax = {176.6, 229.0, 308.84, 418.2, 522.0}
staticprivate

maximum diameter of each station

Definition at line 135 of file AliAnalysisTaskMuonQA.h.

Referenced by UserCreateOutputObjects().

Bool_t AliAnalysisTaskMuonQA::fApplyAccCut
private

use only tracks passing the acceptance cuts (Rabs, eta)

Definition at line 127 of file AliAnalysisTaskMuonQA.h.

Referenced by ApplyAccCut(), and UserExec().

AliCounterCollection* AliAnalysisTaskMuonQA::fEventCounters
private

event statistics

Definition at line 122 of file AliAnalysisTaskMuonQA.h.

Referenced by Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskMuonQA().

AliMuonEventCuts* AliAnalysisTaskMuonQA::fEventCuts
private

Event cuts.

Definition at line 129 of file AliAnalysisTaskMuonQA.h.

Referenced by GetEventCuts(), UserExec(), and ~AliAnalysisTaskMuonQA().

TObjArray* AliAnalysisTaskMuonQA::fList
private

List of output object for everybody.

Definition at line 117 of file AliAnalysisTaskMuonQA.h.

Referenced by Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskMuonQA().

TObjArray* AliAnalysisTaskMuonQA::fListExpert
private

List of output object for experts.

Definition at line 118 of file AliAnalysisTaskMuonQA.h.

Referenced by Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskMuonQA().

TObjArray* AliAnalysisTaskMuonQA::fListNorm
private

Normalized histograms.

Definition at line 119 of file AliAnalysisTaskMuonQA.h.

Referenced by Terminate(), and ~AliAnalysisTaskMuonQA().

TArrayI AliAnalysisTaskMuonQA::fMuonTrigIndex
private

Combined muon trigger index.

Definition at line 131 of file AliAnalysisTaskMuonQA.h.

Referenced by UserCreateOutputObjects(), and UserExec().

Short_t AliAnalysisTaskMuonQA::fSelectCharge
private

Fill histograms only with negative/position tracks (0=all)

Definition at line 124 of file AliAnalysisTaskMuonQA.h.

Referenced by SelectCharge(), and UserExec().

Bool_t AliAnalysisTaskMuonQA::fSelectEvent
private

Fill histograms only with events passing the AliMuonEventCuts selection.

Definition at line 125 of file AliAnalysisTaskMuonQA.h.

Referenced by SelectEvent(), and UserExec().

Bool_t AliAnalysisTaskMuonQA::fSelectMatched
private

Fill histograms only with tracks matching the trigger.

Definition at line 126 of file AliAnalysisTaskMuonQA.h.

Referenced by SelectMatched(), and UserExec().

AliCounterCollection* AliAnalysisTaskMuonQA::fTrackCounters
private

track statistics

Definition at line 121 of file AliAnalysisTaskMuonQA.h.

Referenced by Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskMuonQA().

AliMuonTrackCuts* AliAnalysisTaskMuonQA::fTrackCuts
private
const Int_t AliAnalysisTaskMuonQA::nCh
staticprivate

number of tracking chambers

Definition at line 133 of file AliAnalysisTaskMuonQA.h.

Referenced by Terminate(), and UserCreateOutputObjects().

const Int_t AliAnalysisTaskMuonQA::nDE
staticprivate

number of DE

Definition at line 134 of file AliAnalysisTaskMuonQA.h.

Referenced by Terminate(), and UserCreateOutputObjects().


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