Last change
on this file since 117 was
117,
checked in by moretto, 11 years ago
|
ESAF version compilable on mac OS
|
File size:
2.0 KB
|
Line | |
---|
1 | // $Id: RecoHeader.hh 1356 2005-01-05 13:08:21Z pesce $ |
---|
2 | // Author: R.Pesce 2005/01/04 |
---|
3 | |
---|
4 | /***************************************************************************** |
---|
5 | * ESAF: Euso Simulation and Analysis Framework * |
---|
6 | * * |
---|
7 | * Id: RecoHeader * |
---|
8 | * Package: <packagename> * |
---|
9 | * Coordinator: <coordinator> * |
---|
10 | * * |
---|
11 | *****************************************************************************/ |
---|
12 | |
---|
13 | #ifndef __RECOHEADER_HH__ |
---|
14 | #define __RECOHEADER_HH__ |
---|
15 | |
---|
16 | #include "TObject.h" |
---|
17 | |
---|
18 | //////////////////////////////////////////////////////////////////////////////// |
---|
19 | // // |
---|
20 | // RecoHeader // |
---|
21 | // // |
---|
22 | // <brief class description> // |
---|
23 | // // |
---|
24 | //////////////////////////////////////////////////////////////////////////////// |
---|
25 | |
---|
26 | class RecoHeader : public TObject { |
---|
27 | public: |
---|
28 | RecoHeader(); |
---|
29 | // ctor |
---|
30 | |
---|
31 | RecoHeader( const RecoHeader& ); |
---|
32 | // copy ctor |
---|
33 | |
---|
34 | virtual ~RecoHeader(); |
---|
35 | // dtor |
---|
36 | |
---|
37 | void Clear(); |
---|
38 | // clear method |
---|
39 | |
---|
40 | virtual void Copy( TObject& ) const; |
---|
41 | // copy to a new object |
---|
42 | |
---|
43 | // setters |
---|
44 | inline void Set( Int_t n, Int_t r ) {fNum=n; fRun=r;} |
---|
45 | inline void SetNum( Int_t n ) { fNum = n; } |
---|
46 | inline void SetRun( Int_t r ) { fRun = r; } |
---|
47 | |
---|
48 | // getters |
---|
49 | inline Int_t GetNum() const { return fNum; } |
---|
50 | inline Int_t GetRun() const { return fRun; } |
---|
51 | |
---|
52 | private: |
---|
53 | Int_t fNum; // event number |
---|
54 | Int_t fRun; // run number |
---|
55 | |
---|
56 | ClassDef(RecoHeader,1) |
---|
57 | }; |
---|
58 | |
---|
59 | #endif /* __RECOHEADER_HH__ */ |
---|
60 | |
---|
Note: See
TracBrowser
for help on using the repository browser.