GithubHelp home page GithubHelp logo

psi2mcpbpb's Introduction

------------------------------------------------------------------------------
The main two directories are "Iterator" and "FinalAccEffi". The first one is where the tuning of the MC parameters is done. After (or even before), the code in "FinalAccEffi" can be called to calculate the Acceptance based on the last tuned parameters.
------------------------------------------------------------------------------


---------------------------------Iterator-------------------------------------
Thie main macro is "AccEffiIterator.C" which calls the ither functions for each iteration step. it can takes two arguments, the iteration step to start with and the one to stop at. To do only one itertaion step (e.g step 1) run:

root -l AccEffiIterator.C\(1,1\)

To do multiple steps (e.g from 0 to 3), run:
root -l AccEffiIterator.C\(0,3\)

It is better to the steps one by one to make sure that the fits converge for each step.

##Needed inputs:
-NPsi2s.root: a file containing the number of pis(2s) vs rap and pt. Use the macro FillNpsi2s.C to fill it.
-GridAnalysis/AnalysisResults.root: Contains the MC tree after analysing the AODs. A file containing a tree with all the events from LHC16e2, LHC16e2_plus and LHC19a2 can be found at: https://cernbox.cern.ch/index.php/s/kkBJGWQfbfFZxCy
-RapShapeIterations/iter-0/values.txt and  PtShapeIterations/iter-0/values.txt : contain the rapidity and pt input shapes used in the MC generation.

##Output after each iteration step n > 0
-AccEffi/iter-n/AccEffiValues.root: root file containing Acc*Eff histograms vs pt and y
-AccEffi/iter-n/AccEffVsXX_ComparisonToIter-n-1.pdf: pdf files comparing the results to the previous step
-RapShapeIterations/iter-n/RapYield.pdf: Rapidity yeild fitted
-RapShapeIterations/iter-n/values.txt: rapidty fit results
-RapShapeIterations/iter-n/RapWeight.pdf: rapidty weight (current shape divided by the previous)
-Same for pt
------------------------------------------------------------------------------

psi2mcpbpb's People

Watchers

Mohamad Tarhini avatar

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.