Coder Social home page Coder Social logo

trackermaterialanalysis's Introduction

TrackerMaterialAnalysis

Code for running the analysis for material of the CMS tracker

INSTRUCTIONS TO RUN THE CODE

  1. Run the file MinBias.cpp. This code must be run twice. It depends on two bools: the first one is called "isFirstRun" and must be set to "true" if it is the first time you run it. It produces a .root file with some 1D histograms. The second bool "isMC" must be set to "true" to run on MC or "false" to run on data.

To run the first time: on data: root -b -q MinBias.cpp+('true','false') on MC: root -b -q MinBias.cpp+('true','true')

The second run produces another .root file with some 3D histograms. To run the second time: on data: root -b -q MinBias.cpp+('false','false') on MC: root -b -q MinBias.cpp+('false','true')

  1. Run the file MatPlotter.py to produce a .root file with 1D histograms of the radiation length as function of local eta in the track.

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.