Skip to content
Snippets Groups Projects
Unverified Commit f16accf4 authored by Shyam Kumar's avatar Shyam Kumar Committed by GitHub
Browse files

update code with snakefile

parent cb926e3d
No related branches found
No related tags found
No related merge requests found
......@@ -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============
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment