]>
Commit | Line | Data |
---|---|---|
bdd011d6 | 1 | /************************************************************************** |
2 | * Copyright(c) 1998-2008, 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 | // base class for ESD and AOD vertices | |
19 | // Author: A. Dainese | |
20 | //------------------------------------------------------------------------- | |
21 | ||
22 | #include "AliVVertex.h" | |
c6ee88f3 | 23 | #include "AliVTrack.h" |
bdd011d6 | 24 | |
25 | ClassImp(AliVVertex) | |
26 | ||
27 | AliVVertex::AliVVertex(const AliVVertex& vVert) : | |
28 | TNamed(vVert) { } // Copy constructor | |
29 | ||
30 | AliVVertex& AliVVertex::operator=(const AliVVertex& vVert) | |
5e6a3170 | 31 | { |
32 | // Copy constructor | |
33 | if (this!=&vVert) { | |
34 | TNamed::operator=(vVert); | |
35 | } | |
bdd011d6 | 36 | |
37 | return *this; | |
38 | } | |
c6ee88f3 | 39 | |
40 | Int_t AliVVertex::GetBC() const | |
41 | { | |
42 | // get BCID | |
43 | return AliVTrack::kTOFBCNA; | |
44 | } |