]>
Commit | Line | Data |
---|---|---|
2258e165 | 1 | /************************************************************************** |
2 | * Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. * | |
3 | * * | |
4 | * Author: The ALICE Off-line Project. * | |
5 | * Contributors are mentioned in the code where appropriate. * | |
6 | * * | |
7 | * Permission to use, copy, modify and distribute this software and its * | |
8 | * documentation strictly for non-commercial purposes is hereby granted * | |
9 | * without fee, provided that the above copyright notice appears in all * | |
10 | * copies and that both the copyright notice and this permission notice * | |
11 | * appear in the supporting documentation. The authors make no claims * | |
12 | * about the suitability of this software for any purpose. It is * | |
13 | * provided "as is" without express or implied warranty. * | |
14 | **************************************************************************/ | |
15 | ||
16 | /////////////////////////////////////////////////////////////////////////////// | |
17 | // // | |
18 | // Implementation of the "neutral" track parameterisation class. // | |
19 | // // | |
20 | // At the moment we use a standard AliExternalTrackParam with 0 curvature. // | |
21 | // // | |
22 | // Origin: A.Dainese, I.Belikov // | |
23 | /////////////////////////////////////////////////////////////////////////////// | |
24 | ||
25 | #include "AliExternalTrackParam.h" | |
26 | #include "AliNeutralTrackParam.h" | |
27 | ||
28 | ClassImp(AliNeutralTrackParam) | |
29 | ||
30 | //_____________________________________________________________________________ | |
31 | AliNeutralTrackParam::AliNeutralTrackParam() : | |
32 | AliExternalTrackParam() | |
33 | { | |
34 | // | |
35 | // default constructor | |
36 | // | |
37 | } | |
38 | ||
39 | //_____________________________________________________________________________ | |
40 | AliNeutralTrackParam::AliNeutralTrackParam(const AliNeutralTrackParam &track): | |
41 | AliExternalTrackParam(track) | |
42 | { | |
43 | // | |
44 | // copy constructor | |
45 | // | |
46 | } | |
47 | ||
48 | //_____________________________________________________________________________ | |
49 | AliNeutralTrackParam& AliNeutralTrackParam::operator=(const AliNeutralTrackParam &trkPar) | |
50 | { | |
51 | // | |
52 | // assignment operator | |
53 | // | |
54 | ||
55 | if (this!=&trkPar) { | |
56 | AliExternalTrackParam::operator=(trkPar); | |
57 | } | |
58 | ||
59 | return *this; | |
60 | } | |
61 | ||
62 | //_____________________________________________________________________________ | |
63 | AliNeutralTrackParam::AliNeutralTrackParam(Double_t x, Double_t alpha, | |
64 | const Double_t param[5], | |
65 | const Double_t covar[15]) : | |
66 | AliExternalTrackParam(x,alpha,param,covar) | |
67 | { | |
68 | // | |
69 | // create external track parameters from given arguments | |
70 | // | |
71 | } | |
72 | ||
73 | //_____________________________________________________________________________ | |
74 | AliNeutralTrackParam::AliNeutralTrackParam(const AliVTrack *vTrack) : | |
75 | AliExternalTrackParam(vTrack) | |
76 | { | |
77 | // | |
78 | // Constructor from virtual track, | |
79 | // This is not a copy contructor ! | |
80 | // | |
81 | ||
82 | } | |
83 | ||
84 | //_____________________________________________________________________________ | |
85 | AliNeutralTrackParam::AliNeutralTrackParam(Double_t xyz[3],Double_t pxpypz[3], | |
86 | Double_t cv[21],Short_t sign) : | |
87 | AliExternalTrackParam(xyz,pxpypz,cv,sign) | |
88 | { | |
89 | // | |
90 | // constructor from the global parameters | |
91 | // | |
92 | } | |
93 |