AliPhysics  45843cc (45843cc)
RunMuonResolution.C File Reference

Go to the source code of this file.

Functions

void RunMuonResolution (TString smode="local", TString inputFileName="AliESDs.root", Int_t nSteps=5, TString rootVersion="", TString aliphysicsVersion="vAN-20180105-1", TString dataDir="/alice/sim/2016/LHC16e2_plus", TString dataPattern="p20/*/AliESDs.root", TString runFormat="%d", TString outDir="Sim/LHC15o/EmbedV2b/Resolution/20GeV", Int_t maxFilesPerJob=500, Int_t maxMergeFiles=10, Int_t maxMergeStages=2, Bool_t selectPhysics=kTRUE, Bool_t selectTrigger=kTRUE, Bool_t matchTrig=kTRUE, Bool_t applyAccCut=kTRUE, Bool_t applyPDCACut=kTRUE, Double_t minMomentum=20., 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 123 of file RunMuonResolution.C.

Referenced by RunAnalysisOnSAF3().

void CreateSAF3Executable ( TString  dataset)

Create the executable to run on SAF3

Definition at line 155 of file RunMuonResolution.C.

Referenced by RunAnalysisOnSAF3().

Bool_t RunAnalysisOnSAF3 ( TString  aliphysicsVersion,
TString  dataset 
)

Run analysis on SAF3

Definition at line 83 of file RunMuonResolution.C.

Referenced by RunMuonResolution().

void RunMuonResolution ( TString  smode = "local",
TString  inputFileName = "AliESDs.root",
Int_t  nSteps = 5,
TString  rootVersion = "",
TString  aliphysicsVersion = "vAN-20180105-1",
TString  dataDir = "/alice/sim/2016/LHC16e2_plus",
TString  dataPattern = "p20/*/AliESDs.root",
TString  runFormat = "%d",
TString  outDir = "Sim/LHC15o/EmbedV2b/Resolution/20GeV",
Int_t  maxFilesPerJob = 500,
Int_t  maxMergeFiles = 10,
Int_t  maxMergeStages = 2,
Bool_t  selectPhysics = kTRUE,
Bool_t  selectTrigger = kTRUE,
Bool_t  matchTrig = kTRUE,
Bool_t  applyAccCut = kTRUE,
Bool_t  applyPDCACut = kTRUE,
Double_t  minMomentum = 20.,
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", "caf", "saf3", "test", "offline", "submit", "full", "merge", "terminate" or "terminateonly"
  • inputFileName = an ESD root file or a list or a collection or a dataset of ESDs in proof mode or a list of runs in grid mode
  • nSteps = number of times the task is run (at each step it starts with the chamber resolution obtained in the previous one)
  • rootVersion = version of root package to enable on AAF (only used in proof mode)
  • aliphysicsVersion = version of aliphysics package to enable on AAF (only used in proof mode)
  • dataDir = input data directory on the grid
  • dataPattern = input data pattern on the grid
  • runFormat = run format on the grid
  • outDir = ouput directory on the grid
  • maxFilesPerJob = maximum number of input files per job on the grid
  • maxMergeFiles = maximum number of merged files per job on the grid
  • maxMergeStages = maximum number of merging steps on the grid
  • 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 cuts or not
  • applyPDCACut = select only the tracks passing the pDCA cut or not
  • minMomentum = select only the tracks with a total momentum above this value
  • minPt = select only the tracks with a pT above this value
  • isMC = running on MC data or not (for physics selection and track cuts)
  • 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
  • shiftHalfCh = correct for the half-chamber shifts measured at the previous step
  • shiftDE = correct for the DE shifts measured at the previous step
  • nevents = maximum number of processed events

Definition at line 15 of file RunMuonResolution.C.