#37 closed Bug (fixed)
Analysis_Ex bug
Reported by: | Owned by: | favereau | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Delphes code | Version: | |
Keywords: | Cc: |
Description
Hello,
As a user of Delphes V1.9, running on SLC 5.7, 64-bit, with ROOT 5.30, I get a crash when running Analysis_Ex.
I found a problem in line 90 of Examples/Analysis_Ex.cpp.
In my opinion checking the file goodness should be done before reading the buffer.
According to the above, the solution below works for me, so if you think it is right please fix the code in new versions.
while(1)
{
if(!infile.good()) break;
infile >> buffer;
chainGen.Add(buffer.c_str());
chainRec.Add(buffer.c_str());
chainTrig.Add(buffer.c_str());
}
Change History (5)
comment:1 by , 13 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
The patch was introduced in the trunk. It will be included in the next relase.
Cheers,
Jerome
comment:3 by , 13 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:4 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:5 by , 13 years ago
amazon coupon code http://www.facebook.com/AmazonCouponCodeOptions
Thanks for the report, we will include this in the official version asap.