--- yoda/techmodel/TechmodelPamelaRun.cpp 2004/09/21 20:24:33 1.2 +++ yoda/techmodel/TechmodelPamelaRun.cpp 2006/02/04 12:37:45 5.1 @@ -1,16 +1,13 @@ /** @file * $Source: /home/cvsmanager/yoda/techmodel/TechmodelPamelaRun.cpp,v $ - * $Id: TechmodelPamelaRun.cpp,v 1.1.1.1 2004/07/06 12:20:23 kusanagi Exp $ - * $Author: kusanagi $ + * $Id: TechmodelPamelaRun.cpp,v 5.0 2005/08/29 09:46:13 Maurizio Nagni Exp $ + * $Author: Maurizio Nagni $ * * Implementation of the TechmodelPamelaRun class. */ -#include -#include -#include -#include -#include + +#include #include "TechmodelPamelaRun.h" using namespace pamela; @@ -24,12 +21,12 @@ * techmodel data files into the ROOT TTrees. * @param run Run number */ -TechmodelPamelaRun::TechmodelPamelaRun(std::string fileName, std::string path) : - PamelaRun(fileName, path) { +TechmodelPamelaRun::TechmodelPamelaRun(std::string fileName, std::string path, bool multiFile, short compression) : + PamelaRun(fileName, path, multiFile, compression) { InputFile = new ifstream(fileName.c_str(), std::ios::binary); //inserito ios::binary maurizio 01/03/2004 if (!*InputFile){ std::stringstream oss; - oss.flush(); + oss.str(""); oss << "Cannot open file " << fileName; logger->error(oss.str().c_str()); throw std::exception();