AliPhysics  d7f9f85 (d7f9f85)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Correct.C File Reference
#include <TObject.h>
#include <TSystem.h>
#include <TROOT.h>
#include <TFile.h>
Include dependency graph for Correct.C:

Go to the source code of this file.




void SimpleCorrect (UShort_t, UShort_t, const char *, const char *, Int_t, const char *)
void CorrectNS::AddPath (const TString &dir, Bool_t prepend=true)
void Correct (UShort_t flags=0x3, const char *side="middle", const char *var="none", Bool_t forceK=false)


const Bool_t kCorrectLoaded = true

Function Documentation

void Correct ( UShort_t  flags = 0x3,
const char *  side = "middle",
const char *  var = "none",
Bool_t  forceK = false 

Definition at line 24 of file Correct.C.

Referenced by DoOne().

void SimpleCorrect ( UShort_t  flags,
UShort_t  scaleMode,
const char *  realFileName,
const char *  simFileName,
Int_t  nBins = 9,
const char *  otherFileName = "" 

Correct measured tracklet distributions using MC. The flags select how to do the correction. It is a bit mask of options.

  • 0x1: Use combinatorial background for real data
  • 0x2: Use combinatorial background for simulated data
  • 0x4: Pre-scale histograms to vertex bins
  • 0x8: When pre-scaling, also propagate errors from vertex dist.
  • 0x10: Instead of real data, use the simulated data (closure test).

The input is two files generated by running AliTrackletTaskMulti on real and simulated data. The files are expected to be in trdt.root for real data and trmc.root for simulated data.

flagsFlags for the processing
scaleModeScaling mode
realFileNameName of real input file
simFileNameName of simulation input file
nBinsNumber of bins to process
otherFileNameName of aux input file

Definition at line 1670 of file SimpleCorrect.C.

Referenced by Correct().

Variable Documentation

const Bool_t kCorrectLoaded = true

Definition at line 10 of file Correct.C.