Skip to content

Commit

Permalink
Update vtx_dis_analysis.cxx
Browse files Browse the repository at this point in the history
  • Loading branch information
khushi-singla-21 authored Nov 7, 2024
1 parent 1ea3188 commit 00aa572
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ void vtx_dis_analysis(const std::string& config_name)
while (tree_reader.Next()) {

if(counter%100==0) std::cout<<"Analyzing event "<<counter<<std::endl;

counter++;

//////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -299,8 +300,7 @@ void vtx_dis_analysis(const std::string& config_name)
}

//--------------------------------------------------------------------------------------------------------------------------------------------

recoVtxEffHist->Scale(100./counter);
recoVtxEffHist->Scale(100/counter);
ofile->Write(); // Write histograms to file
ofile->Close(); // Close output file

Expand Down

0 comments on commit 00aa572

Please sign in to comment.