1 |
/** @file |
/** @file |
2 |
* $Source: /home/cvsmanager/yoda/event/PamelaRun.h,v $ |
* $Source: /home/cvsmanager/yoda/event/PamelaRun.h,v $ |
3 |
* $Id: PamelaRun.h,v 4.4 2005/05/28 10:44:09 kusanagi Exp $ |
* $Id: PamelaRun.h,v 5.0 2005/08/29 09:45:48 Maurizio Nagni Exp $ |
4 |
* $Author: kusanagi $ |
* $Author: Maurizio Nagni $ |
5 |
* |
* |
6 |
* Header file for the PamelaRun class. |
* Header file for the PamelaRun class. |
7 |
*/ |
*/ |
25 |
#ifndef PAMELA_RUN_H |
#ifndef PAMELA_RUN_H |
26 |
#define PAMELA_RUN_H |
#define PAMELA_RUN_H |
27 |
|
|
28 |
//#include <string> |
|
|
//#include <map> |
|
|
//#include <list> |
|
|
|
|
|
//#include <root/TFile.h> |
|
|
//#include <root/TTree.h> |
|
|
//#include <root/TChain.h> |
|
29 |
#include <TFile.h> //Substituted by Maurizio 05 Feb 2004 |
#include <TFile.h> //Substituted by Maurizio 05 Feb 2004 |
30 |
#include <TTree.h> //Substituted by Maurizio 05 Feb 2004 |
#include <TTree.h> //Substituted by Maurizio 05 Feb 2004 |
31 |
#include <TChain.h> //Substituted by Maurizio 05 Feb 2004 |
#include <TChain.h> //Substituted by Maurizio 05 Feb 2004 |
32 |
|
|
|
|
|
|
#include "PacketType.h" |
|
|
#include "SubPacket.h" |
|
33 |
#include "Algorithm.h" |
#include "Algorithm.h" |
34 |
#include "EventHeader.h" |
#include "EventHeader.h" |
35 |
#include "RunInfo.h" |
#include "RunInfo.h" |
36 |
#include <sstream> |
#include <list> |
|
|
|
37 |
|
|
38 |
/** |
/** |
39 |
* pamela is the base namespace of this package. |
* pamela is the base namespace of this package. |
60 |
*/ |
*/ |
61 |
int RunNumber; |
int RunNumber; |
62 |
/** |
/** |
63 |
|
* compression Level. |
64 |
|
*/ |
65 |
|
short compression; |
66 |
|
/** |
67 |
|
* Multiple/Single unpack. |
68 |
|
*/ |
69 |
|
bool Multiple; |
70 |
|
/** |
71 |
|
* single File. |
72 |
|
*/ |
73 |
|
TFile *SingleFile; |
74 |
|
/** |
75 |
* The information about the run to be stored in the ROOT files |
* The information about the run to be stored in the ROOT files |
76 |
*/ |
*/ |
77 |
pamela::RunInfo info; |
pamela::RunInfo info; |
122 |
|
|
123 |
|
|
124 |
public: |
public: |
125 |
PamelaRun(std::string, std::string); |
PamelaRun(std::string, std::string, bool, short); |
126 |
static std::string GetRunName(int run); |
static std::string GetRunName(int run); |
127 |
//static int RunExists(int = 1) throw (std::exception); |
//static int RunExists(int = 1) throw (std::exception); |
128 |
|
|