Introduction

This article describes how to use L1CaloUpgradeHistoMaker to make .root files with basic histograms starting from the MSU ntuple maker output.

Instructions

1) cd into the AnalysisTools directory

cd /path/to/L1CaloUpgrade/AnalysisTools/

2) start root and load the .C file

root
.L L1CaloUpgradeHistoMaker.C+ 

Create a L1CaloUpgradeHistoMaker object as follows:

L1CaloUpgradeHistoMaker myhistomaker("/path/to/my/MSU/ntupleFile.root","HistogramOutput.root")

Note: Instead of a .root file, you can also provide the constructor with a text file containing a list of paths to .root files

3) Start the event loop

myhistomaker.Loop()

Your .root file should be created.


Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2012-11-28 - VeronicaSorin
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback