/[PAMELA software]/yoda/techmodel/TechmodelPamelaRun.cpp
ViewVC logotype

Diff of /yoda/techmodel/TechmodelPamelaRun.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2.1 by kusanagi, Fri Dec 3 22:08:01 2004 UTC revision 5.1 by kusanagi, Sat Feb 4 12:37:45 2006 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /home/cvsmanager/yoda/techmodel/TechmodelPamelaRun.cpp,v $   * $Source: /home/cvsmanager/yoda/techmodel/TechmodelPamelaRun.cpp,v $
3   * $Id: TechmodelPamelaRun.cpp,v 2.0 2004/09/21 20:50:54 kusanagi Exp $   * $Id: TechmodelPamelaRun.cpp,v 5.0 2005/08/29 09:46:13 Maurizio Nagni Exp $
4   * $Author: kusanagi $   * $Author: Maurizio Nagni $
5   *   *
6   * Implementation of the TechmodelPamelaRun class.   * Implementation of the TechmodelPamelaRun class.
7   */   */
 #include <string>  
 #include <exception>  
 #include <iostream>  
 #include <fstream>  
 #include <log4cxx/logger.h>  
8    
9    
10    #include <log4cxx/logger.h>
11  #include "TechmodelPamelaRun.h"  #include "TechmodelPamelaRun.h"
12    
13  using namespace pamela;  using namespace pamela;
# Line 24  static log4cxx::LoggerPtr logger = log4c Line 21  static log4cxx::LoggerPtr logger = log4c
21   * techmodel data files into the ROOT TTrees.   * techmodel data files into the ROOT TTrees.
22   * @param run Run number   * @param run Run number
23   */   */
24  TechmodelPamelaRun::TechmodelPamelaRun(std::string fileName, std::string path) :  TechmodelPamelaRun::TechmodelPamelaRun(std::string fileName, std::string path, bool multiFile, short compression) :
25    PamelaRun(fileName, path) {    PamelaRun(fileName, path, multiFile, compression) {
26    InputFile = new ifstream(fileName.c_str(), std::ios::binary); //inserito ios::binary maurizio 01/03/2004    InputFile = new ifstream(fileName.c_str(), std::ios::binary); //inserito ios::binary maurizio 01/03/2004
27    if (!*InputFile){    if (!*InputFile){
28      std::stringstream oss;      std::stringstream oss;

Legend:
Removed from v.2.1  
changed lines
  Added in v.5.1

  ViewVC Help
Powered by ViewVC 1.1.23