Skip to content

denglert/PKPCorrel

Repository files navigation

PKPCorrel

Pion, kaon and proton correlation code

Setup HOW-TO

Creating CMSSW environment:

  1. mkdir <projectname>; cd <projectname>
  2. cmsrel CMSSW_5_3_20
  3. mkdir CMSSW_5_3_20/src/<directory>
  4. git clone git@github.com:denglert/PKPCorrel.git
  5. cd CMSSW_5_3_20/src/<directory>/PKPCorrel
  6. xrdcp -r root://eoscms.cern.ch//eos/cms/store/group/phys_heavyions/denglert/PKPCorrelation/ ./

Usage

The analysis has two-steps: preprocessing and processing.

Preprocessing

Has the following output:

  • TH2D *correl2D_signal_meas[TypBin][ptBin][multBin]; (measured signal correlation function)
  • TH2D *correl2D_signal_meas[TypBin][ptBin][multBin]; (measured backgr correlation function)
  • TH1D *nEvents_Processed_signal[TypBin][ptBin][multBin]; (number of events)
  • TH1D *nEvents_Processed_backgr[TypBin][ptBin][multBin]; (number of events)

Processing

  • Constructs the final correlation functions
  • Makes the 2D, 1D, v2 vs. pT figures

Commands

Interactive:

  1. make preproc

Note: You have to setup the Makefile 'PREPROCESS' section accordingly 2. make procbatcjob

Note: You have to setup the Makefile 'PROCESS BATCHJOB' section accordingly

Lxbatch jobs:

  1. Setup lxbatch jobs.

See /batch/ folder for job submission macros. 2. make procbatchjob

Note: You have to setup the Makefile 'PROCESS BATCHJOB' section accordingly

Classes and files in /src

  • AnalysisBinning_*.
  • AnalysisFW
  • ContMatrix
  • CorrelationUtils
  • EvtAnalyzer
  • EvtSelection
  • GraphStyles
  • GraphTools
  • MC_Contamination_Matrix
  • ...