Line data Source code
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"
23 : #include "AliVTrack.h"
24 :
25 176 : ClassImp(AliVVertex)
26 :
27 : AliVVertex::AliVVertex(const AliVVertex& vVert) :
28 52 : TNamed(vVert) { } // Copy constructor
29 :
30 : AliVVertex& AliVVertex::operator=(const AliVVertex& vVert)
31 : {
32 : // Copy constructor
33 240 : if (this!=&vVert) {
34 120 : TNamed::operator=(vVert);
35 120 : }
36 :
37 120 : return *this;
38 : }
39 :
40 : Int_t AliVVertex::GetBC() const
41 : {
42 : // get BCID
43 0 : return AliVTrack::kTOFBCNA;
44 : }
|