Skip to content

Commit

Permalink
fix for older compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
vkulikovskiy committed Apr 30, 2020
1 parent a358184 commit 9932a67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions matching/getdelay.cc
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ int main(int argc, char *argv[]) {

TH1D *hdet1 = new TH1D("h1", "", 100000, -2000, 8000);
TH1D *hdet2 = new TH1D("h2", "", 100000, -2000, 8000);
ifstream ifs(f1);
ifstream ifs(f1.c_str());
double _t, _val;
int bin = 0;
while (ifs >> _t >> _val) {
bin++;
hdet1->SetBinContent(bin,_val);
}
ifstream ifs2(f2);
ifstream ifs2(f2.c_str());
bin = 0;
while (ifs2 >> _t >> _val) {
bin++;
Expand Down

0 comments on commit 9932a67

Please sign in to comment.