/[PAMELA software]/yoda/event/PamelaRun.cpp
ViewVC logotype

Diff of /yoda/event/PamelaRun.cpp

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

revision 2.1 by kusanagi, Fri Sep 24 11:57:32 2004 UTC revision 2.2 by kusanagi, Sun Oct 17 12:28:15 2004 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Author: kusanagi $   * $Author: kusanagi $
3   * $Date: 2004/09/21 20:49:57 $   * $Date: 2004/09/24 11:57:32 $
4   * $Revision: 2.0 $   * $Revision: 2.1 $
5   *   *
6   * Implementation of the PamelaRun class.   * Implementation of the PamelaRun class.
7   */   */
# Line 403  TTree* PamelaRun::CreateTTree(Algorithm* Line 403  TTree* PamelaRun::CreateTTree(Algorithm*
403    std::string EventType = packet->GetPacketType()->GetName();    std::string EventType = packet->GetPacketType()->GetName();
404    CreateDirectoryStructure(FileName.c_str());    CreateDirectoryStructure(FileName.c_str());
405    TFile* File = new TFile(FileName.c_str(), "create");    TFile* File = new TFile(FileName.c_str(), "create");
406      File->SetCompressionLevel(5);
407    if (!File->IsOpen()) {    if (!File->IsOpen()) {
408      oss.flush();      oss.flush();
409      oss <<  "Could not open file " << FileName ;      oss <<  "Could not open file " << FileName ;

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

  ViewVC Help
Powered by ViewVC 1.1.23