Skip to content

Commit

Permalink
update code with snakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Simple-Shyam authored Dec 26, 2024
1 parent cb926e3 commit f16accf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmarks/tracking_performances/draw_hits.C
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <TLegend.h>
#include <TMath.h>

void draw_hits(double mom=5.0)
void draw_hits(TString filename="")
{

//==========Style of the plot============
Expand All @@ -22,7 +22,7 @@ void draw_hits(double mom=5.0)
gStyle->SetOptStat(0);

//=======Reading the root file DD4HEP===========
TFile *f = TFile::Open(Form("sim%1.1f.edm4hep.root",mom));
TFile *f = TFile::Open(Form("%s",filename.Data()));
TTree *sim = (TTree*)f->Get("events");

// Timer Start
Expand Down

0 comments on commit f16accf

Please sign in to comment.