| 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 |
*/ |
*/ |
| 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 ; |