Skip to content
Snippets Groups Projects
Commit 29d06e2e authored by flavigny's avatar flavigny
Browse files

- Fixed cats benchmark

parent 7cfc660a
No related branches found
No related tags found
No related merge requests found
...@@ -6,4 +6,4 @@ set -ev ...@@ -6,4 +6,4 @@ set -ev
# cats benchmark # cats benchmark
cd $NPTOOL/Benchmarks/cats cd $NPTOOL/Benchmarks/cats
time npanalysis -D benchmark_cats.detector -C calibration.txt -R RunToTreat.txt -O benchmark_cats time npanalysis -D benchmark_cats.detector -C calibration.txt -R RunToTreat.txt -O benchmark_cats
echo ".q" | root -b -l ShowResult.cxx root -l ShowResult.C
TChain* chain=NULL; TChain* chain=NULL;
////////////////////////////////////////////////////////////////////////////////
void LoadChain()
{
chain = new TChain("PhysicsTree");
chain->Add("../../Outputs/Analysis/benchmark_cats.root");
}
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
void ShowResult() void ShowResult()
{ {
// load chain from resul // load chain from result
LoadChain(); LoadChain();
// draw canvas // draw canvas
...@@ -30,9 +36,3 @@ void ShowResult() ...@@ -30,9 +36,3 @@ void ShowResult()
////////////////////////////////////////////////////////////////////////////////
void LoadChain()
{
chain = new TChain("PhysicsTree");
chain->Add("../../Outputs/Analysis/benchmark_cats.root");
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment