00001 00002 // 00003 // CLASS AlRun 00004 // Concrete class for AlRun Object 00005 // 00006 // 00008 00009 00010 #ifndef _ALRUN_H_ 00011 #define _ALRUN_H_ 00012 00013 #include "BankClasses.h" 00014 00016 00019 class AlRun { 00020 00021 public: 00022 00024 AlRun(); 00025 00027 AlRun(const AlRun&); 00028 00030 int Energy() const; 00031 00033 int ExperimentNumber() const; 00034 00036 int number() const; 00037 00039 int type() const; 00040 00042 void SETqhac(QHAC* bank) {qhac = bank;} 00044 void SETqext(QEXT* bank) {qext = bank;} 00045 00047 QHAC* GETqhac() {return qhac;} 00049 QEXT* GETqext() {return qext;} 00050 00051 private: 00052 // direct acces to the banks 00053 EVEH* EventHeader() const {return qhac->EH;} 00054 RLEP* LepHeader() const {return qext->LP;} 00055 RUNH* RunHeader() const {return qhac->RH;} 00056 ASIM* MCdate() const {return qhac->AS;} 00057 // pointer to associated bank of interest 00058 QHAC* qhac; 00059 QEXT* qext; 00060 }; 00061 00062 #endif 00063 00064