Bug fix. Removed delete statement
[u/mrichter/AliRoot.git] / STEER / AliNeutralTrackParam.h
CommitLineData
2258e165 1#ifndef ALINEUTRALTRACKPARAM_H
2#define ALINEUTRALTRACKPARAM_H
3/* Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/*****************************************************************************
7 * "Neutral" track parametrisation class *
8 * At the moment we use a standard AliExternalTrackParam with 0 curvature. *
9 * *
10 * Origin: A.Dainese, I.Belikov *
11 *****************************************************************************/
12
13#include "AliExternalTrackParam.h"
14
15class AliNeutralTrackParam: public AliExternalTrackParam {
16 public:
17 AliNeutralTrackParam();
18 AliNeutralTrackParam(const AliNeutralTrackParam &);
19 AliNeutralTrackParam& operator=(const AliNeutralTrackParam & trkPar);
20 AliNeutralTrackParam(Double_t x, Double_t alpha,
21 const Double_t param[5], const Double_t covar[15]);
22 AliNeutralTrackParam(const AliVTrack *vTrack);
23 AliNeutralTrackParam(Double_t xyz[3],Double_t pxpypz[3],
24 Double_t cv[21],Short_t sign);
25 virtual ~AliNeutralTrackParam(){}
26
27 virtual Short_t Charge() const { return 0; }
28 virtual Double_t GetC(Double_t /*b*/) const { return 0.; }
29
30 private:
31
32 ClassDef(AliNeutralTrackParam, 1) // track with zero charge
33};
34
35#endif