1 | // $Id: RecoProfile.cc 2759 2006-09-07 08:10:49Z moreggia $ |
---|
2 | // Author: Sylvain Moreggia 2005/11/16 |
---|
3 | |
---|
4 | /***************************************************************************** |
---|
5 | * ESAF: Euso Simulation and Analysis Framework * |
---|
6 | * * |
---|
7 | * Id: RecoProfile * |
---|
8 | * Package: <packagename> * |
---|
9 | * Coordinator: <coordinator> * |
---|
10 | * * |
---|
11 | *****************************************************************************/ |
---|
12 | |
---|
13 | //_____________________________________________________________________________ |
---|
14 | // |
---|
15 | // RecoProfile |
---|
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 "RecoProfile.hh" |
---|
27 | |
---|
28 | ClassImp(RecoProfile) |
---|
29 | |
---|
30 | //_____________________________________________________________________________ |
---|
31 | RecoProfile::RecoProfile() { |
---|
32 | // |
---|
33 | // Constructor |
---|
34 | // |
---|
35 | |
---|
36 | } |
---|
37 | |
---|
38 | //_____________________________________________________________________________ |
---|
39 | RecoProfile::~RecoProfile() { |
---|
40 | // |
---|
41 | // Destructor |
---|
42 | // |
---|
43 | } |
---|
44 | |
---|
45 | //_____________________________________________________________________________ |
---|
46 | RecoProfile::RecoProfile( const RecoProfile& other) { |
---|
47 | // |
---|
48 | // Copy constructor |
---|
49 | // |
---|
50 | other.Copy( *this ); |
---|
51 | } |
---|
52 | |
---|
53 | //_____________________________________________________________________________ |
---|
54 | void RecoProfile::Copy( TObject& other ) const { |
---|
55 | // |
---|
56 | // Copy to anew object |
---|
57 | // |
---|
58 | TObject::Copy( other ); |
---|
59 | |
---|
60 | ((RecoProfile&)other).fQuality = fQuality; |
---|
61 | ((RecoProfile&)other).fXmax = fXmax; |
---|
62 | ((RecoProfile&)other).fTrueXmax = fTrueXmax; |
---|
63 | ((RecoProfile&)other).fZshift = fZshift; |
---|
64 | ((RecoProfile&)other).fThetashift = fThetashift; |
---|
65 | ((RecoProfile&)other).fRecoTOAImpactX = fRecoTOAImpactX; |
---|
66 | ((RecoProfile&)other).fRecoTOAImpactY = fRecoTOAImpactY; |
---|
67 | ((RecoProfile&)other).fRecoTOAImpactZ = fRecoTOAImpactZ; |
---|
68 | ((RecoProfile&)other).fRecoProfIntegral = fRecoProfIntegral; |
---|
69 | ((RecoProfile&)other).fSimuProfIntegral = fSimuProfIntegral; |
---|
70 | } |
---|
71 | |
---|
72 | //_____________________________________________________________________________ |
---|
73 | void RecoProfile::Clear() { |
---|
74 | fQuality = -1; |
---|
75 | fXmax = -1; |
---|
76 | fTrueXmax = -1; |
---|
77 | fZshift = -1000; |
---|
78 | fThetashift = -1000; |
---|
79 | fRecoTOAImpactX = -1000; |
---|
80 | fRecoTOAImpactY = -1000; |
---|
81 | fRecoTOAImpactZ = -1000; |
---|
82 | fRecoProfIntegral = -1; |
---|
83 | fSimuProfIntegral = -1; |
---|
84 | } |
---|