Hello experts,
I’m using the code from atlas-outreach-cpp-framework-13tev/Analysis/HyyAnalysis at master · atlas-outreach-data-tools/atlas-outreach-cpp-framework-13tev · GitHub
The input root files are public, after using chain, the total entries are about 7798424, but only 6317 eventries are processed, then it shows" end of ROOT execution " . I can’t find the reason, could you please have a look? Thank you very much!
I’m using root 6.32.08 on mac, this root version seems not support TPoof, so I deleted some codes about it, and the revised codes are shown below. And the run.sh is
#!/bin/bash
## small script to run the analysis
analysis="main_HyyAnalysis"
##OPTION
echo Which option should I run?
echo Options are:
echo 0 = run all data and MC one after another
echo 1 = run data only \(can be run in parallel\)
echo 2 = run MC samples only \(can be run in parallel\)
read varname
echo Option is $varname
option=$varname
echo Should I use PROOF? \(will make things faster\)
echo Options are:
echo 0 = NO
echo 1 = YES
read proofvarname
echo PROOF option is $proofvarname
# parallel=$proofvarname
## execute and run ROOT
echo "starting ROOT"
##
root -l -b << EOF
.L $analysis.C+
$analysis($option)
EOF
##
echo "end of ROOT execution"
HyyAnalysis.C (6.7 KB)
HyyAnalysis.h (14.3 KB)
HyyAnalysisHistograms.h (1.2 KB)
main_HyyAnalysis.C (2.9 KB)
You can test it by typing source run.sh
then choose 1 ,choose 0
Many thanks in advance!
I just tried on Windows, accessing the files locally (I cannot access http://opendata.cern.ch/eos/opendata/atlas/OutreachDatasets/2020-01-22/GamGam/
) with ROOT master, and it works just fine:
C:\Users\bellenot\rootdev\Forum\xiangjun>root -l
root [0] .L main_HyyAnalysis.C+
Info in <TWinNTSystem::ACLiC>: creating shared library C:/Users/bellenot/rootdev/Forum/xiangjun/main_HyyAnalysis_C.dll
main_HyyAnalysis_C_ACLiC_dict.cxx
Creating library C:/Users/bellenot/rootdev/Forum/xiangjun\main_HyyAnalysis_C.lib and object C:/Users/bellenot/rootdev/Forum/xiangjun\main_HyyAnalysis_C.exp
main_HyyAnalysis_C_ACLiC_dict.cxx
Creating library C:/Users/bellenot/rootdev/Forum/xiangjun\main_HyyAnalysis_C.lib and object C:/Users/bellenot/rootdev/Forum/xiangjun\main_HyyAnalysis_C.exp
root [1] main_HyyAnalysis()
7798424
Starting analysis with process option: data
entry 49999
Analysed a total of: 50000 events out of 430344 in this sample
entry 99999
Analysed a total of: 100000 events out of 430344 in this sample
entry 149999
Analysed a total of: 150000 events out of 430344 in this sample
entry 199999
Analysed a total of: 200000 events out of 430344 in this sample
entry 249999
Analysed a total of: 250000 events out of 430344 in this sample
entry 299999
Analysed a total of: 300000 events out of 430344 in this sample
entry 349999
Analysed a total of: 350000 events out of 430344 in this sample
entry 399999
Analysed a total of: 400000 events out of 430344 in this sample
entry 19655
Analysed a total of: 450000 events out of 1528717 in this sample
entry 69655
Analysed a total of: 500000 events out of 1528717 in this sample
entry 119655
Analysed a total of: 550000 events out of 1528717 in this sample
entry 169655
Analysed a total of: 600000 events out of 1528717 in this sample
entry 219655
Analysed a total of: 650000 events out of 1528717 in this sample
entry 269655
Analysed a total of: 700000 events out of 1528717 in this sample
entry 319655
Analysed a total of: 750000 events out of 1528717 in this sample
entry 369655
Analysed a total of: 800000 events out of 1528717 in this sample
entry 419655
Analysed a total of: 850000 events out of 1528717 in this sample
entry 469655
Analysed a total of: 900000 events out of 1528717 in this sample
entry 519655
Analysed a total of: 950000 events out of 1528717 in this sample
entry 569655
Analysed a total of: 1000000 events out of 1528717 in this sample
entry 619655
Analysed a total of: 1050000 events out of 1528717 in this sample
entry 669655
Analysed a total of: 1100000 events out of 1528717 in this sample
entry 719655
Analysed a total of: 1150000 events out of 1528717 in this sample
entry 769655
Analysed a total of: 1200000 events out of 1528717 in this sample
entry 819655
Analysed a total of: 1250000 events out of 1528717 in this sample
entry 869655
Analysed a total of: 1300000 events out of 1528717 in this sample
entry 919655
Analysed a total of: 1350000 events out of 1528717 in this sample
entry 969655
Analysed a total of: 1400000 events out of 1528717 in this sample
entry 1019655
Analysed a total of: 1450000 events out of 1528717 in this sample
entry 1069655
Analysed a total of: 1500000 events out of 1528717 in this sample
entry 1119655
Analysed a total of: 1550000 events out of 1528717 in this sample
entry 1169655
Analysed a total of: 1600000 events out of 1528717 in this sample
entry 1219655
Analysed a total of: 1650000 events out of 1528717 in this sample
entry 1269655
Analysed a total of: 1700000 events out of 1528717 in this sample
entry 1319655
Analysed a total of: 1750000 events out of 1528717 in this sample
entry 1369655
Analysed a total of: 1800000 events out of 1528717 in this sample
entry 1419655
Analysed a total of: 1850000 events out of 1528717 in this sample
entry 1469655
Analysed a total of: 1900000 events out of 1528717 in this sample
entry 1519655
Analysed a total of: 1950000 events out of 1528717 in this sample
entry 40938
Analysed a total of: 2000000 events out of 2237187 in this sample
entry 90938
Analysed a total of: 2050000 events out of 2237187 in this sample
entry 140938
Analysed a total of: 2100000 events out of 2237187 in this sample
entry 190938
Analysed a total of: 2150000 events out of 2237187 in this sample
entry 240938
Analysed a total of: 2200000 events out of 2237187 in this sample
entry 290938
Analysed a total of: 2250000 events out of 2237187 in this sample
entry 340938
Analysed a total of: 2300000 events out of 2237187 in this sample
entry 390938
Analysed a total of: 2350000 events out of 2237187 in this sample
entry 440938
Analysed a total of: 2400000 events out of 2237187 in this sample
entry 490938
Analysed a total of: 2450000 events out of 2237187 in this sample
entry 540938
Analysed a total of: 2500000 events out of 2237187 in this sample
entry 590938
Analysed a total of: 2550000 events out of 2237187 in this sample
entry 640938
Analysed a total of: 2600000 events out of 2237187 in this sample
entry 690938
Analysed a total of: 2650000 events out of 2237187 in this sample
entry 740938
Analysed a total of: 2700000 events out of 2237187 in this sample
entry 790938
Analysed a total of: 2750000 events out of 2237187 in this sample
entry 840938
Analysed a total of: 2800000 events out of 2237187 in this sample
entry 890938
Analysed a total of: 2850000 events out of 2237187 in this sample
entry 940938
Analysed a total of: 2900000 events out of 2237187 in this sample
entry 990938
Analysed a total of: 2950000 events out of 2237187 in this sample
entry 1040938
Analysed a total of: 3000000 events out of 2237187 in this sample
entry 1090938
Analysed a total of: 3050000 events out of 2237187 in this sample
entry 1140938
Analysed a total of: 3100000 events out of 2237187 in this sample
entry 1190938
Analysed a total of: 3150000 events out of 2237187 in this sample
entry 1240938
Analysed a total of: 3200000 events out of 2237187 in this sample
entry 1290938
Analysed a total of: 3250000 events out of 2237187 in this sample
entry 1340938
Analysed a total of: 3300000 events out of 2237187 in this sample
entry 1390938
Analysed a total of: 3350000 events out of 2237187 in this sample
entry 1440938
Analysed a total of: 3400000 events out of 2237187 in this sample
entry 1490938
Analysed a total of: 3450000 events out of 2237187 in this sample
entry 1540938
Analysed a total of: 3500000 events out of 2237187 in this sample
entry 1590938
Analysed a total of: 3550000 events out of 2237187 in this sample
entry 1640938
Analysed a total of: 3600000 events out of 2237187 in this sample
entry 1690938
Analysed a total of: 3650000 events out of 2237187 in this sample
entry 1740938
Analysed a total of: 3700000 events out of 2237187 in this sample
entry 1790938
Analysed a total of: 3750000 events out of 2237187 in this sample
entry 1840938
Analysed a total of: 3800000 events out of 2237187 in this sample
entry 1890938
Analysed a total of: 3850000 events out of 2237187 in this sample
entry 1940938
Analysed a total of: 3900000 events out of 2237187 in this sample
entry 1990938
Analysed a total of: 3950000 events out of 2237187 in this sample
entry 2040938
Analysed a total of: 4000000 events out of 2237187 in this sample
entry 2090938
Analysed a total of: 4050000 events out of 2237187 in this sample
entry 2140938
Analysed a total of: 4100000 events out of 2237187 in this sample
entry 2190938
Analysed a total of: 4150000 events out of 2237187 in this sample
entry 3751
Analysed a total of: 4200000 events out of 3602176 in this sample
entry 53751
Analysed a total of: 4250000 events out of 3602176 in this sample
entry 103751
Analysed a total of: 4300000 events out of 3602176 in this sample
entry 153751
Analysed a total of: 4350000 events out of 3602176 in this sample
entry 203751
Analysed a total of: 4400000 events out of 3602176 in this sample
entry 253751
Analysed a total of: 4450000 events out of 3602176 in this sample
entry 303751
Analysed a total of: 4500000 events out of 3602176 in this sample
entry 353751
Analysed a total of: 4550000 events out of 3602176 in this sample
entry 403751
Analysed a total of: 4600000 events out of 3602176 in this sample
entry 453751
Analysed a total of: 4650000 events out of 3602176 in this sample
entry 503751
Analysed a total of: 4700000 events out of 3602176 in this sample
entry 553751
Analysed a total of: 4750000 events out of 3602176 in this sample
entry 603751
Analysed a total of: 4800000 events out of 3602176 in this sample
entry 653751
Analysed a total of: 4850000 events out of 3602176 in this sample
entry 703751
Analysed a total of: 4900000 events out of 3602176 in this sample
entry 753751
Analysed a total of: 4950000 events out of 3602176 in this sample
entry 803751
Analysed a total of: 5000000 events out of 3602176 in this sample
entry 853751
Analysed a total of: 5050000 events out of 3602176 in this sample
entry 903751
Analysed a total of: 5100000 events out of 3602176 in this sample
entry 953751
Analysed a total of: 5150000 events out of 3602176 in this sample
entry 1003751
Analysed a total of: 5200000 events out of 3602176 in this sample
entry 1053751
Analysed a total of: 5250000 events out of 3602176 in this sample
entry 1103751
Analysed a total of: 5300000 events out of 3602176 in this sample
entry 1153751
Analysed a total of: 5350000 events out of 3602176 in this sample
entry 1203751
Analysed a total of: 5400000 events out of 3602176 in this sample
entry 1253751
Analysed a total of: 5450000 events out of 3602176 in this sample
entry 1303751
Analysed a total of: 5500000 events out of 3602176 in this sample
entry 1353751
Analysed a total of: 5550000 events out of 3602176 in this sample
entry 1403751
Analysed a total of: 5600000 events out of 3602176 in this sample
entry 1453751
Analysed a total of: 5650000 events out of 3602176 in this sample
entry 1503751
Analysed a total of: 5700000 events out of 3602176 in this sample
entry 1553751
Analysed a total of: 5750000 events out of 3602176 in this sample
entry 1603751
Analysed a total of: 5800000 events out of 3602176 in this sample
entry 1653751
Analysed a total of: 5850000 events out of 3602176 in this sample
entry 1703751
Analysed a total of: 5900000 events out of 3602176 in this sample
entry 1753751
Analysed a total of: 5950000 events out of 3602176 in this sample
entry 1803751
Analysed a total of: 6000000 events out of 3602176 in this sample
entry 1853751
Analysed a total of: 6050000 events out of 3602176 in this sample
entry 1903751
Analysed a total of: 6100000 events out of 3602176 in this sample
entry 1953751
Analysed a total of: 6150000 events out of 3602176 in this sample
entry 2003751
Analysed a total of: 6200000 events out of 3602176 in this sample
entry 2053751
Analysed a total of: 6250000 events out of 3602176 in this sample
entry 2103751
Analysed a total of: 6300000 events out of 3602176 in this sample
entry 2153751
Analysed a total of: 6350000 events out of 3602176 in this sample
entry 2203751
Analysed a total of: 6400000 events out of 3602176 in this sample
entry 2253751
Analysed a total of: 6450000 events out of 3602176 in this sample
entry 2303751
Analysed a total of: 6500000 events out of 3602176 in this sample
entry 2353751
Analysed a total of: 6550000 events out of 3602176 in this sample
entry 2403751
Analysed a total of: 6600000 events out of 3602176 in this sample
entry 2453751
Analysed a total of: 6650000 events out of 3602176 in this sample
entry 2503751
Analysed a total of: 6700000 events out of 3602176 in this sample
entry 2553751
Analysed a total of: 6750000 events out of 3602176 in this sample
entry 2603751
Analysed a total of: 6800000 events out of 3602176 in this sample
entry 2653751
Analysed a total of: 6850000 events out of 3602176 in this sample
entry 2703751
Analysed a total of: 6900000 events out of 3602176 in this sample
entry 2753751
Analysed a total of: 6950000 events out of 3602176 in this sample
entry 2803751
Analysed a total of: 7000000 events out of 3602176 in this sample
entry 2853751
Analysed a total of: 7050000 events out of 3602176 in this sample
entry 2903751
Analysed a total of: 7100000 events out of 3602176 in this sample
entry 2953751
Analysed a total of: 7150000 events out of 3602176 in this sample
entry 3003751
Analysed a total of: 7200000 events out of 3602176 in this sample
entry 3053751
Analysed a total of: 7250000 events out of 3602176 in this sample
entry 3103751
Analysed a total of: 7300000 events out of 3602176 in this sample
entry 3153751
Analysed a total of: 7350000 events out of 3602176 in this sample
entry 3203751
Analysed a total of: 7400000 events out of 3602176 in this sample
entry 3253751
Analysed a total of: 7450000 events out of 3602176 in this sample
entry 3303751
Analysed a total of: 7500000 events out of 3602176 in this sample
entry 3353751
Analysed a total of: 7550000 events out of 3602176 in this sample
entry 3403751
Analysed a total of: 7600000 events out of 3602176 in this sample
entry 3453751
Analysed a total of: 7650000 events out of 3602176 in this sample
entry 3503751
Analysed a total of: 7700000 events out of 3602176 in this sample
entry 3553751
Analysed a total of: 7750000 events out of 3602176 in this sample
SlaveTerminate is executed!
final test
Writting with name option: data
Info in <ACLiC>: script has already been loaded in interpreted mode
Info in <ACLiC>: unloading C:\Users\bellenot\rootdev\Forum\xiangjun\HyyAnalysis.C and compiling it
Info in <TWinNTSystem::ACLiC>: creating shared library C:/Users/bellenot/rootdev/Forum/xiangjun/HyyAnalysis_C.dll
HyyAnalysis_C_ACLiC_dict.cxx
Creating library C:/Users/bellenot/rootdev/Forum/xiangjun\HyyAnalysis_C.lib and object C:/Users/bellenot/rootdev/Forum/xiangjun\HyyAnalysis_C.exp
HyyAnalysis_C_ACLiC_dict.cxx
Creating library C:/Users/bellenot/rootdev/Forum/xiangjun\HyyAnalysis_C.lib and object C:/Users/bellenot/rootdev/Forum/xiangjun\HyyAnalysis_C.exp
Starting analysis with process option: ggH125_gamgam
entry 49999
Analysed a total of: 50000 events out of 1054711 in this sample
entry 99999
Analysed a total of: 100000 events out of 1054711 in this sample
entry 149999
Analysed a total of: 150000 events out of 1054711 in this sample
entry 199999
Analysed a total of: 200000 events out of 1054711 in this sample
entry 249999
Analysed a total of: 250000 events out of 1054711 in this sample
entry 299999
Analysed a total of: 300000 events out of 1054711 in this sample
entry 349999
Analysed a total of: 350000 events out of 1054711 in this sample
entry 399999
Analysed a total of: 400000 events out of 1054711 in this sample
entry 449999
Analysed a total of: 450000 events out of 1054711 in this sample
entry 499999
Analysed a total of: 500000 events out of 1054711 in this sample
entry 549999
Analysed a total of: 550000 events out of 1054711 in this sample
entry 599999
Analysed a total of: 600000 events out of 1054711 in this sample
entry 649999
Analysed a total of: 650000 events out of 1054711 in this sample
entry 699999
Analysed a total of: 700000 events out of 1054711 in this sample
entry 749999
Analysed a total of: 750000 events out of 1054711 in this sample
entry 799999
Analysed a total of: 800000 events out of 1054711 in this sample
entry 849999
Analysed a total of: 850000 events out of 1054711 in this sample
entry 899999
Analysed a total of: 900000 events out of 1054711 in this sample
entry 949999
Analysed a total of: 950000 events out of 1054711 in this sample
entry 999999
Analysed a total of: 1000000 events out of 1054711 in this sample
entry 1049999
Analysed a total of: 1050000 events out of 1054711 in this sample
SlaveTerminate is executed!
final test
Writting with name option: ggH125_gamgam
Info in <ACLiC>: unmodified script has already been compiled and loaded
Starting analysis with process option: VBFH125_gamgam
entry 49999
Analysed a total of: 50000 events out of 497468 in this sample
entry 99999
Analysed a total of: 100000 events out of 497468 in this sample
entry 149999
Analysed a total of: 150000 events out of 497468 in this sample
entry 199999
Analysed a total of: 200000 events out of 497468 in this sample
entry 249999
Analysed a total of: 250000 events out of 497468 in this sample
entry 299999
Analysed a total of: 300000 events out of 497468 in this sample
entry 349999
Analysed a total of: 350000 events out of 497468 in this sample
entry 399999
Analysed a total of: 400000 events out of 497468 in this sample
entry 449999
Analysed a total of: 450000 events out of 497468 in this sample
SlaveTerminate is executed!
final test
Writting with name option: VBFH125_gamgam
Info in <ACLiC>: unmodified script has already been compiled and loaded
Starting analysis with process option: WH125_gamgam
entry 49999
Analysed a total of: 50000 events out of 113765 in this sample
entry 99999
Analysed a total of: 100000 events out of 113765 in this sample
SlaveTerminate is executed!
final test
Writting with name option: WH125_gamgam
Info in <ACLiC>: unmodified script has already been compiled and loaded
Starting analysis with process option: ZH125_gamgam
entry 49999
Analysed a total of: 50000 events out of 230900 in this sample
entry 99999
Analysed a total of: 100000 events out of 230900 in this sample
entry 149999
Analysed a total of: 150000 events out of 230900 in this sample
entry 199999
Analysed a total of: 200000 events out of 230900 in this sample
SlaveTerminate is executed!
final test
Writting with name option: ZH125_gamgam
Info in <ACLiC>: unmodified script has already been compiled and loaded
Starting analysis with process option: ttH125_gamgam
entry 49999
Analysed a total of: 50000 events out of 576491 in this sample
entry 99999
Analysed a total of: 100000 events out of 576491 in this sample
entry 149999
Analysed a total of: 150000 events out of 576491 in this sample
entry 199999
Analysed a total of: 200000 events out of 576491 in this sample
entry 249999
Analysed a total of: 250000 events out of 576491 in this sample
entry 299999
Analysed a total of: 300000 events out of 576491 in this sample
entry 349999
Analysed a total of: 350000 events out of 576491 in this sample
entry 399999
Analysed a total of: 400000 events out of 576491 in this sample
entry 449999
Analysed a total of: 450000 events out of 576491 in this sample
entry 499999
Analysed a total of: 500000 events out of 576491 in this sample
entry 549999
Analysed a total of: 550000 events out of 576491 in this sample
SlaveTerminate is executed!
final test
Writting with name option: ttH125_gamgam
root [2]