Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C centrality
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pwg-c2f
  • analysis
  • centrality
  • Wiki
  • Home

Last edited by Viktor Klochkov Sep 19, 2018
Page history

Home

Centrality Framework Wiki

Installation

    cd centrality
    mkdir build install
    cd build
    source /path-to-root/thisroot.sh
    cmake -DCMAKE_INSTALL_PREFIX=../install
    make -j
    make install -j

Examples and short description

General

main has 3 arguments:

  1. input file name
  2. input histo name
  3. is input histo is 2D (false or true)

Example how to run it with test input file:

./main ../input/test_input.root hMreco false

or in case of 2D histogram

./main ../input/test_input.root hMEcorr true

To modify options (centrality ranges, detector type, etc) change corresponding lines in file main.cpp:

bf.SetRanges( 10,0,100 );   // number of bins, min, max value

or

bf.SetRanges( {0,10,30,60,100} );  // centrality bins borders with array

bf.IsSpectator(true);  // true if impact parameter b correlated with estimator (spectators eneggy), false - anticorrelated (multiplicity of produced particles) 
std::string outfilename = "test.root";

Minimal example on how to obtain centrality for a given event:

cd macro
root -l TestGetter.C

Glauber

HowTo for glauber is coming soon

./glauber 0.9 10 10 200
Clone repository
  • Home