Giter Club home page Giter Club logo

pi0tools's Introduction

Pi0Tools

Tools for Pi0 Analysis

###Python scripts:

1) Plotter:

Plots the invariant mass of a determined selection given by the user through input parameters. Instructions to run the Plotter:

python python/Plotter.py -i /tmp/rateixei/eos/cms/store/caf/user/lpernie/ALL_MINBIAS_UNCAL_L1_NOL1FILTER_40PU50ns_EB_eta_NewSeed/iter_0/epsilonPlots_0.root -e -b --NCr1=4 --NCr2=4 --PtClu=1.6 --S4S9=0.9 --Iso=0.15 --PtDi=3.6 --name=Teste2 -f
#####Options: -e (-e for Eta, -p for pi0)
-b (-b for barrel, -c for endcap)
--NCr1=4 --NCr2=4: Cut on number of cristals of each cluster
--PtClu=1.6: Cut on clusters pt
--S4S9=0.9: Cut on S4/S9
--Iso=0.15: Cut on Isolation (HLT Iso)
--PtDi=3.6: Cut on Eta/Pi0 Pt
--name=Teste2: Name of output pdf
--HltIsoOff: Use standard iso instead of HLT iso (hlt is default)
--CutCorrOff: Cut on uncorrected variables (cut on corrected is default)
--PlotCorrOff: Plot uncorrected mass distribution (plot corrected is default)
-f: Use this flag if you want to also produce the fit

--> Currently works only with local files =/
--> Location of Minimum bias Neutrino gun MC processed trees:
/store/caf/user/lpernie/ALL_MINBIAS_UNCAL_L1_NOL1FILTER_40PU50ns_EB_eta_NewSeed /store/caf/user/lpernie/ALL_MINBIAS_UNCAL_L1_NOL1FILTER_40PU50ns_EB_pi0_NewSeed /store/caf/user/lpernie/ALL_MINBIAS_UNCAL_L1_NOL1FILTER_40PU50ns_EE_eta_NewSeed /store/caf/user/lpernie/ALL_MINBIAS_UNCAL_L1_NOL1FILTER_40PU50ns_EE_pi0_NewSeed_v2
--> Eta EB merged file:
lxplus0073: /tmp/rateixei/eta_eb.root

2) Optimizer:

Can be used to go through the cut grid and optimize it Being implemented...

3) doFit:

Fits the invariant mass distribution (TH1F). To be used with Plotter (see instructions above) with -f flag.

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.