Commit f89dde2b authored by Keerthi Nakkalil's avatar Keerthi Nakkalil
Browse files

Works for all the 16 files with weird peaks

parent 1bfa1979
...@@ -23,7 +23,7 @@ void trimdac_scan(){ ...@@ -23,7 +23,7 @@ void trimdac_scan(){
TCanvas*c1 = new TCanvas(); TCanvas*c1 = new TCanvas();
THStack*hs = new THStack("hs", "Trim dac scan"); THStack*hs = new THStack("hs", "Trim dac scan");
for(int ctr=0;ctr<17;ctr++){ for(int ctr=0;ctr<16;ctr++){
std::ifstream datafile(filenames.at(ctr).c_str()); std::ifstream datafile(filenames.at(ctr).c_str());
std::string histo_name = "h"+ filenames.at(ctr); std::string histo_name = "h"+ filenames.at(ctr);
TH1D* h1= new TH1D(histo_name.c_str(),"Trim dac scan", 175,950,1300); TH1D* h1= new TH1D(histo_name.c_str(),"Trim dac scan", 175,950,1300);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment