1 /**************************************************************************
2 * Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
16 ///////////////////////////////////////////////////////////////////////////////
18 // Implementation of the "neutral" track parameterisation class. //
20 // At the moment we use a standard AliExternalTrackParam with 0 curvature. //
22 // Origin: A.Dainese, I.Belikov //
23 ///////////////////////////////////////////////////////////////////////////////
25 #include "AliExternalTrackParam.h"
26 #include "AliNeutralTrackParam.h"
28 ClassImp(AliNeutralTrackParam)
30 //_____________________________________________________________________________
31 AliNeutralTrackParam::AliNeutralTrackParam() :
32 AliExternalTrackParam()
35 // default constructor
39 //_____________________________________________________________________________
40 AliNeutralTrackParam::AliNeutralTrackParam(const AliNeutralTrackParam &track):
41 AliExternalTrackParam(track)
48 //_____________________________________________________________________________
49 AliNeutralTrackParam& AliNeutralTrackParam::operator=(const AliNeutralTrackParam &trkPar)
52 // assignment operator
56 AliExternalTrackParam::operator=(trkPar);
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)
69 // create external track parameters from given arguments
73 //_____________________________________________________________________________
74 AliNeutralTrackParam::AliNeutralTrackParam(const AliVTrack *vTrack) :
75 AliExternalTrackParam(vTrack)
78 // Constructor from virtual track,
79 // This is not a copy contructor !
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)
90 // constructor from the global parameters