]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliVertexer.cxx
Coding violations
[u/mrichter/AliRoot.git] / STEER / AliVertexer.cxx
1 /**************************************************************************
2  * Copyright(c) 1998-1999, 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 /* $Id$ */
17
18 #include <AliVertexer.h>
19
20 ClassImp(AliVertexer)
21
22 //////////////////////////////////////////////////////////////////////
23 // Base class for primary vertex reconstruction                     //
24 // AliESDVertexer is a class for full 3D primary vertex finding     //
25 // derived classes: AliITSVertexer                                  //
26 //                                                                  //
27 //////////////////////////////////////////////////////////////////////
28
29 //______________________________________________________________________
30 AliVertexer::AliVertexer() {
31   // Default Constructor
32
33     fCurrentVertex  = 0;
34     SetDebug();
35     SetFirstEvent(0);
36     SetLastEvent(0);
37 }
38
39
40 //______________________________________________________________________
41 AliVertexer::AliVertexer(const AliVertexer &vtxr) : TObject(vtxr) {
42   // Copy constructor
43   // Copies are not allowed. The method is protected to avoid misuse.
44   Error("AliVertexer","Copy constructor not allowed\n");
45 }
46
47 //______________________________________________________________________
48 AliVertexer& AliVertexer::operator=(const AliVertexer& /* vtxr */){
49   // Assignment operator
50   // Assignment is not allowed. The method is protected to avoid misuse.
51   Error("= operator","Assignment operator not allowed\n");
52   return *this;
53 }
54
55 //______________________________________________________________________
56 AliVertexer::~AliVertexer() {
57   // Default Destructor
58   // The objects pointed by the following pointers are not owned
59   // by this class and are not deleted
60
61     fCurrentVertex  = 0;
62 }