Giter Site home page Giter Site logo

danalysis's Introduction

General setup

The general setup has already been performed, based on the instructions found in the DAnalysis framework twiki.

https://twiki.cern.ch/twiki/bin/view/CMS/DAnalysisFramework

Configuration (To be done every time)

These two commands should be executed every time you launch a new lxplus session.

source env.sh
make -j  

Create/run an analyser

The first step to produce some plots is to create a config file (the template config/testConfig.txt is there to help you), by selecting the processes you want to consider along with their cross sections in fb-1 (or in pb-1 if the lumi is set to 1000). The number of events can be set to "auto" and the testMode can be used to reduce artificially the number of events considered.

Once this is done, you will either need to create a new or use a previously created analyser. To create a new one, you can just run the following command:

createAnalyser.sh <analyserName>

A simple command then allows you to run the analyser, after compiling it.

make -j
./<analyserName> <configFile>

Create some plots

The output of the previous command does not have the correct format to be used as input to the plotter macro. You first need to update the formatForPlotter.C macro accordingly and run it:

cd test
root -l -b -q formatForPlotter.C 

This should create a new rootfiles directory that can be uread by the plotter.

./make
./runPlotter

danalysis's People

Contributors

cedricpri avatar

Watchers

 avatar  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.