AliRoot Core  3dc7879 (3dc7879)
AliVVertex.cxx
Go to the documentation of this file.
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 ClassImp(AliVVertex)
26 
28  TNamed(vVert) { } // Copy constructor
29 
31 {
32  // Copy constructor
33  if (this!=&vVert) {
34  TNamed::operator=(vVert);
35  }
36 
37  return *this;
38 }
39 
40 Int_t AliVVertex::GetBC() const
41 {
42  // get BCID
43  return AliVTrack::kTOFBCNA;
44 }
AliVVertex & operator=(const AliVVertex &vVert)
Definition: AliVVertex.cxx:30
virtual Int_t GetBC() const
Definition: AliVVertex.cxx:40