AliPhysics  db95e02 (db95e02)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RunMuonResolution.C File Reference

Go to the source code of this file.

Functions

void RunMuonResolution (TString smode="local", TString inputFileName="AliESDs.root", TString rootVersion="", TString aliphysicsVersion="vAN-20161011-1", Int_t nSteps=3, Bool_t selectPhysics=kTRUE, Bool_t selectTrigger=kTRUE, Bool_t matchTrig=kTRUE, Bool_t applyAccCut=kTRUE, Bool_t applyPDCACut=kTRUE, Double_t minMomentum=0., Double_t minPt=0., Bool_t isMC=kFALSE, Bool_t correctForSystematics=kTRUE, Int_t extrapMode=1, Bool_t shiftHalfCh=kFALSE, Bool_t shiftDE=kFALSE, Int_t nevents=1234567890)
 
Bool_t RunAnalysisOnSAF3 (TString aliphysicsVersion, TString dataset)
 
Bool_t CopyFileOnSAF3 (TString dataset)
 
void CreateSAF3Executable (TString dataset)
 

Function Documentation

Bool_t CopyFileOnSAF3 ( TString  dataset)

Copy files needed for this analysis from current to saf3 directory

Definition at line 107 of file RunMuonResolution.C.

Referenced by RunAnalysisOnSAF3().

void CreateSAF3Executable ( TString  dataset)

Create the executable to run on SAF3

Definition at line 139 of file RunMuonResolution.C.

Referenced by RunAnalysisOnSAF3().

Bool_t RunAnalysisOnSAF3 ( TString  aliphysicsVersion,
TString  dataset 
)

Run analysis on SAF3

Definition at line 67 of file RunMuonResolution.C.

Referenced by RunMuonResolution().

void RunMuonResolution ( TString  smode = "local",
TString  inputFileName = "AliESDs.root",
TString  rootVersion = "",
TString  aliphysicsVersion = "vAN-20161011-1",
Int_t  nSteps = 3,
Bool_t  selectPhysics = kTRUE,
Bool_t  selectTrigger = kTRUE,
Bool_t  matchTrig = kTRUE,
Bool_t  applyAccCut = kTRUE,
Bool_t  applyPDCACut = kTRUE,
Double_t  minMomentum = 0.,
Double_t  minPt = 0.,
Bool_t  isMC = kFALSE,
Bool_t  correctForSystematics = kTRUE,
Int_t  extrapMode = 1,
Bool_t  shiftHalfCh = kFALSE,
Bool_t  shiftDE = kFALSE,
Int_t  nevents = 1234567890 
)

Compute the cluster resolution by studying cluster-track residual, deconvoluting from track resolution

  • smode = "local" or "caf"
  • inputFileName = an ESD root file or a list of ESDs or a collection of ESDs or a dataset in proof mode
  • rootVersion = version of root package to enable on AAF (only used in proof mode)
  • alirootVersion = version of aliroot package to enable on AAF (only used in proof mode)
  • aliphysicsVersion = version of aliphysics package to enable on AAF (only used in proof mode)
  • nSteps = number of times to task is run (at each step it starts with the chamber resolution obtained in the previous one)
  • selectPhysics : apply or not the physics selection
  • selectTrigger : select only muon trigger events or not (the type of trigger can eventually be changed)
  • matchTrigger : select only the tracks matching the trigger or not
  • applyAccCut : select only the tracks passing the Rabs and the eta cut or not
  • minMomentum : select only the tracks with a total momentum above this value
  • if correctForSystematics == kTRUE: the systematic shifts of the residuals is included in the resolution
  • if extrapMode == 0: extrapolate from the closest cluster
  • if extrapMode == 1: extrapolate from the previous cluster except between stations 2-3-4
  • nevents = maximum number of processed events

Definition at line 15 of file RunMuonResolution.C.