1 | // $Id: RecoHeader.cc 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 | //_____________________________________________________________________________ |
---|
14 | // |
---|
15 | // RecoHeader |
---|
16 | // |
---|
17 | // <extensive class description> |
---|
18 | // |
---|
19 | // Config file parameters |
---|
20 | // ====================== |
---|
21 | // |
---|
22 | // <parameter name>: <parameter description> |
---|
23 | // -Valid options: <available options> |
---|
24 | // |
---|
25 | |
---|
26 | #include "RecoHeader.hh" |
---|
27 | |
---|
28 | ClassImp(RecoHeader) |
---|
29 | |
---|
30 | //_____________________________________________________________________________ |
---|
31 | RecoHeader::RecoHeader() { |
---|
32 | // |
---|
33 | // Constructor |
---|
34 | // |
---|
35 | fNum = -1; |
---|
36 | fRun = -1; |
---|
37 | } |
---|
38 | |
---|
39 | //_____________________________________________________________________________ |
---|
40 | RecoHeader::~RecoHeader() { |
---|
41 | // |
---|
42 | // Destructor |
---|
43 | // |
---|
44 | fNum = -1; |
---|
45 | fRun = -1; |
---|
46 | } |
---|
47 | |
---|
48 | |
---|
49 | //_____________________________________________________________________________ |
---|
50 | RecoHeader::RecoHeader( const RecoHeader& other ) { |
---|
51 | // |
---|
52 | // Copy Constructor |
---|
53 | // |
---|
54 | other.Copy( *this ); |
---|
55 | } |
---|
56 | |
---|
57 | |
---|
58 | //_____________________________________________________________________________ |
---|
59 | void RecoHeader::Copy( TObject& other ) const { |
---|
60 | // |
---|
61 | // Copy to a new object |
---|
62 | // |
---|
63 | TObject::Copy( other ); |
---|
64 | |
---|
65 | ((RecoHeader&)other).fNum = fNum; |
---|
66 | ((RecoHeader&)other).fRun = fRun; |
---|
67 | } |
---|
68 | |
---|
69 | //_____________________________________________________________________________ |
---|
70 | void RecoHeader::Clear() { |
---|
71 | fNum = -1; |
---|
72 | fRun = -1; |
---|
73 | } |
---|