Skip to content

Latest commit

 

History

History
41 lines (23 loc) · 1.29 KB

File metadata and controls

41 lines (23 loc) · 1.29 KB

LHEanalysis

Simple LHE analysis

to compile:

c++ -o ntupleMaker.exe `root-config --glibs --cflags` -lm ntupleMaker.cpp

to use:

./ntupleMaker.exe fileLHE outputFileRoot
./ntupleMaker.exe /data2/amassiro/Generation/MG5/MG5_aMC_v2_0_1/MY_W_LO/Events/run_01/unweighted_events.lhe   W13TeV.root
./ntupleMaker.exe /data2/amassiro/Generation/MG5/MG5_aMC_v2_0_1/MY_W_LO_new/Events/run_01/unweighted_events.lhe   W13TeV_new.root
./ntupleMaker.exe /data2/amassiro/Generation/MG5/MG5_aMC_v2_0_1/MY_W_LO_8TeV/Events/run_01/unweighted_events.lhe   W8TeV_new.root

./ntupleMaker.exe /data2/amassiro/Generation/MG5/MG5_aMC_v2_0_1/MY_W_jet_LO_13TeV/Events/run_01/unweighted_events.lhe   W13TeV_jet.root
./ntupleMaker.exe /data2/amassiro/Generation/MG5/MG5_aMC_v2_0_1/MY_W_jet_LO_8TeV/Events/run_01/unweighted_events.lhe   W8TeV_jet.root

draw:

r99t W13TeV.root draw.cxx
r99t W13TeV.root drawEta.cxx


r99t W13TeV_new.root draw.cxx
r99t W13TeV_new.root drawEta.cxx

r99t W8TeV_new.root W13TeV_new.root drawComparison.cxx
r99t W8TeV_new.root W13TeV_new.root drawComparisonEta.cxx

r99t W8TeV_jet.root W13TeV_jet.root drawComparison.cxx
r99t W8TeV_jet.root W13TeV_jet.root drawComparisonEta.cxx

where:

/data2/amassiro/Generation/CMSSW_6_2_2/src/LHEanalysis