1 |
kusanagi |
1.1 |
/** @file |
2 |
kusanagi |
2.0 |
* $Source: /home/cvsmanager/yoda/techmodel/TechmodelPamelaRun.h,v $ |
3 |
|
|
* $Id: TechmodelPamelaRun.h,v 1.1.1.1 2004/07/06 12:20:23 kusanagi Exp $ |
4 |
|
|
* $Author: kusanagi $ |
5 |
kusanagi |
1.1 |
* |
6 |
|
|
* Header file for the TechmodelPamelaRun class. |
7 |
|
|
*/ |
8 |
|
|
#ifndef TECHMODEL_PAMELA_RUN_H |
9 |
|
|
#define TECHMODEL_PAMELA_RUN_H |
10 |
|
|
|
11 |
|
|
#include <iostream> |
12 |
|
|
|
13 |
|
|
#include "event/PamelaRun.h" |
14 |
|
|
|
15 |
|
|
namespace pamela { |
16 |
|
|
/** All classes for the techmodel data files live here. */ |
17 |
|
|
namespace techmodel { |
18 |
|
|
class AbstractRootTree; |
19 |
|
|
/** |
20 |
|
|
* PamelaRun class that is filled from the techmodel data file. |
21 |
|
|
*/ |
22 |
|
|
class TechmodelPamelaRun: public PamelaRun { |
23 |
|
|
private: |
24 |
|
|
/** |
25 |
|
|
* The input file stream. |
26 |
|
|
*/ |
27 |
|
|
ifstream* InputFile; |
28 |
|
|
public: |
29 |
|
|
TechmodelPamelaRun(std::string, std::string = getenv("YODA_DATA")); |
30 |
|
|
/** |
31 |
|
|
* Get the input file stream. |
32 |
|
|
*/ |
33 |
|
|
ifstream* GetInputFile(void) { |
34 |
|
|
return InputFile; } |
35 |
|
|
}; |
36 |
|
|
} |
37 |
|
|
} |
38 |
|
|
|
39 |
|
|
#endif /* TECHMODEL_PAMELA_RUN_H */ |