Code Monkey home page Code Monkey logo

nica's Introduction

Centrality Framework

The purpose of the Centrality Framework is to fit distributions of the multiplicity of produced particles and the energy of spectators using output of the MC-Glauber model. Also it is possible to define centrality classes and to reconstruct initial geometry parameters using this package. This package allows you to fit 1D and 2D histograms using various methods for multiplicity and spectators energy (see below).

Installation

cd centrality-master
mkdir build
cd build
source /path-to-root/thisroot.sh
cmake ../
make

Examples and short description

To run fit of the histogram use:

./glauber config.txt

The template of the config.txt file can be found in the centrality-master directory. Description of the config file fields can be found below:

Seed: seed for the gRandom

EstimatorStepX: step of the bins for Chi2 calculation for the X dimension

MinEstimatorX: minimum bin for Chi2 calculation for the X dimension

MaxEstimatorX: maximum bin for Chi2 calculation for the X dimension

MinFitRangeX: minimum possible range for Chi2 calculation for the X dimension (usually use MaxEstimatorX-MinEstimatorX)

EstimatorStepY: step of the bins for Chi2 calculation for the Y dimension

MinEstimatorY: minimum bin for Chi2 calculation for the Y dimension

MaxEstimatorY: maximum bin for Chi2 calculation for the Y dimension

MinFitRangeY: minimum possible range for Chi2 calculation for the Y dimension (usually use MaxEstimatorY-MinEstimatorY)

kMin: minimum k parameter

kMax: maximum k parameter

kStep: step for k parameter

fMin: minimum f parameter

fMax: maximum f parameter

fStep: step for f parameter

Glauber_filename: name of the file with output from MC-Glauber model

Glauber_treename: name of the tree in the file with output from MC-Glauber model

DataHisto_filename: name of the file with histograme from data

DataHisto_name: name of the histograme from data

OutDirName: name of the derictory for the output file

OutFileIDName: suffix for the output files

Ancestor_Mode: mode for the calculations of the number of ancestors

Mode: mode for the building of the model histogram (Multiplicity, Energy etc.)

HistoMode: 1D/2D histogram

Fit_Mode: GoldenSection/Iteration mode for the mu parameter searching

nMuIter: number of iterations for the mu parameter searching

AProj: mass of the projectile nuclei

ZProj: charge of the projectile nuclei

ATarg: mass of the target nuclei

ZTarg: charge of the target nuclei

EBeam: energy of the beam

NEvents: number of MC-Glauber events using for fitting

Centrality classes determination

After fitting the data histogram it is possible to determine centrality classes using HistoCut.C macro and reconstruct initial geometry parameters in these classes usind CentralityClasses.C macro.

Doxygen documentation

doxygen Doxyfile

File Doxygen/html/index.html with documentation will be created

nica's People

Contributors

ilyasegal avatar peterparfenov avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

luisval yaphysi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.