![]() |
AliPhysics
vAN-20150409 (2c6aa91)
|
Quality assurance of MUON ESDs. More...
#include <AliAnalysisTaskMuonQA.h>
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 | SelectPhysics (Bool_t flag=kTRUE) |
Select events passing the physics selection to fill histograms. More... | |
void | SelectTrigger (Bool_t flag=kTRUE, UInt_t mask=AliVEvent::kMUON) |
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... | |
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... | |
AliAnalysisTaskMuonQA & | operator= (const AliAnalysisTaskMuonQA &rhs) |
Not implemented. More... | |
Double_t | ChangeThetaRange (Double_t theta) |
TList * | BuildListOfAllTriggerCases (TString &FiredTriggerClasses) |
ClassDef (AliAnalysisTaskMuonQA, 8) | |
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 | fSelectPhysics |
Fill histograms only with events passing the physics selection. More... | |
Bool_t | fSelectTrigger |
Fill histograms only with events passing the trigger selection. More... | |
UInt_t | fTriggerMask |
Trigger mask to be used when selecting events. 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... | |
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... | |
Quality assurance of MUON ESDs.
Definition at line 22 of file AliAnalysisTaskMuonQA.h.
|
private |
Definition at line 69 of file AliAnalysisTaskMuonQA.h.
|
private |
Definition at line 96 of file AliAnalysisTaskMuonQA.h.
|
private |
Definition at line 106 of file AliAnalysisTaskMuonQA.h.
AliAnalysisTaskMuonQA::AliAnalysisTaskMuonQA | ( | ) |
Definition at line 65 of file AliAnalysisTaskMuonQA.cxx.
AliAnalysisTaskMuonQA::AliAnalysisTaskMuonQA | ( | const char * | name | ) |
Constructor
Definition at line 85 of file AliAnalysisTaskMuonQA.cxx.
|
virtual |
Destructor
Definition at line 119 of file AliAnalysisTaskMuonQA.cxx.
|
private |
Not implemented.
|
inline |
Use only tracks passing the acceptance cuts (Rabs, eta)
Definition at line 49 of file AliAnalysisTaskMuonQA.h.
|
private |
build the list of trigger for the counters from the fired trigger classes returned TList must be deleted by user
Definition at line 757 of file AliAnalysisTaskMuonQA.cxx.
Referenced by UserExec().
|
private |
set theta range from -180 to +180 degrees
Definition at line 746 of file AliAnalysisTaskMuonQA.cxx.
Referenced by UserExec().
|
private |
|
inline |
Get track cuts.
Definition at line 54 of file AliAnalysisTaskMuonQA.h.
|
virtual |
Notify run
Definition at line 134 of file AliAnalysisTaskMuonQA.cxx.
|
private |
Not implemented.
|
inline |
Select negative (<0), positive (>0) or all (==0) tracks to fill histograms.
Definition at line 35 of file AliAnalysisTaskMuonQA.h.
|
inline |
Select track matching the trigger to fill histograms.
Definition at line 46 of file AliAnalysisTaskMuonQA.h.
|
inline |
Select events passing the physics selection to fill histograms.
Definition at line 38 of file AliAnalysisTaskMuonQA.h.
|
inline |
Select events belonging to at least one of the trigger classes selected by the mask to fill histograms:
Definition at line 43 of file AliAnalysisTaskMuonQA.h.
void AliAnalysisTaskMuonQA::SetTrackCuts | ( | AliMuonTrackCuts * | trackCuts | ) |
Set track cuts
Definition at line 142 of file AliAnalysisTaskMuonQA.cxx.
|
virtual |
Normalize histograms Draw result to the screen Print statistics
Definition at line 603 of file AliAnalysisTaskMuonQA.cxx.
|
virtual |
Create histograms and counters
Definition at line 151 of file AliAnalysisTaskMuonQA.cxx.
|
virtual |
Called for each event
Definition at line 317 of file AliAnalysisTaskMuonQA.cxx.
|
staticprivate |
maximum diameter of each station
Definition at line 138 of file AliAnalysisTaskMuonQA.h.
Referenced by UserCreateOutputObjects().
|
private |
use only tracks passing the acceptance cuts (Rabs, eta)
Definition at line 131 of file AliAnalysisTaskMuonQA.h.
Referenced by ApplyAccCut(), and UserExec().
|
private |
event statistics
Definition at line 124 of file AliAnalysisTaskMuonQA.h.
Referenced by Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskMuonQA().
|
private |
List of output object for everybody.
Definition at line 119 of file AliAnalysisTaskMuonQA.h.
Referenced by Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskMuonQA().
|
private |
List of output object for experts.
Definition at line 120 of file AliAnalysisTaskMuonQA.h.
Referenced by Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskMuonQA().
|
private |
Normalized histograms.
Definition at line 121 of file AliAnalysisTaskMuonQA.h.
Referenced by Terminate(), and ~AliAnalysisTaskMuonQA().
|
private |
Combined muon trigger index.
Definition at line 134 of file AliAnalysisTaskMuonQA.h.
Referenced by UserCreateOutputObjects(), and UserExec().
|
private |
Fill histograms only with negative/position tracks (0=all)
Definition at line 126 of file AliAnalysisTaskMuonQA.h.
Referenced by SelectCharge(), and UserExec().
|
private |
Fill histograms only with tracks matching the trigger.
Definition at line 130 of file AliAnalysisTaskMuonQA.h.
Referenced by SelectMatched(), and UserExec().
|
private |
Fill histograms only with events passing the physics selection.
Definition at line 127 of file AliAnalysisTaskMuonQA.h.
Referenced by SelectPhysics(), and UserExec().
|
private |
Fill histograms only with events passing the trigger selection.
Definition at line 128 of file AliAnalysisTaskMuonQA.h.
Referenced by SelectTrigger(), and UserExec().
|
private |
track statistics
Definition at line 123 of file AliAnalysisTaskMuonQA.h.
Referenced by Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskMuonQA().
|
private |
Track cuts.
Definition at line 133 of file AliAnalysisTaskMuonQA.h.
Referenced by AliAnalysisTaskMuonQA(), GetTrackCuts(), NotifyRun(), SetTrackCuts(), UserExec(), and ~AliAnalysisTaskMuonQA().
|
private |
Trigger mask to be used when selecting events.
Definition at line 129 of file AliAnalysisTaskMuonQA.h.
Referenced by SelectTrigger(), and UserExec().
|
staticprivate |
number of tracking chambers
Definition at line 136 of file AliAnalysisTaskMuonQA.h.
Referenced by Terminate(), and UserCreateOutputObjects().
|
staticprivate |
number of DE
Definition at line 137 of file AliAnalysisTaskMuonQA.h.
Referenced by Terminate(), and UserCreateOutputObjects().