]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliVertexer.cxx
Final version used to produce the ALICE NOTE on gamma-tagging jets studies
[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 "AliLog.h"
19 #include <AliVertexer.h>
20
21 ClassImp(AliVertexer)
22
23 //////////////////////////////////////////////////////////////////////
24 // Base class for primary vertex reconstruction                     //
25 // AliESDVertexer is a class for full 3D primary vertex finding     //
26 // derived classes: AliITSVertexer                                  //
27 //                                                                  //
28 //////////////////////////////////////////////////////////////////////
29
30 //______________________________________________________________________
31 AliVertexer::AliVertexer() :
32   fCurrentVertex(0),
33   fFirstEvent(0),
34   fLastEvent(0)
35 {
36   //
37   // Default Constructor
38   //
39 }
40
41
42 //______________________________________________________________________
43 AliVertexer::AliVertexer(const AliVertexer &vtxr) : 
44   TObject(vtxr),
45   fCurrentVertex(vtxr.fCurrentVertex),
46   fFirstEvent(vtxr.fFirstEvent),
47   fLastEvent(vtxr.fLastEvent)
48 {
49   // Copy constructor
50   // Copies are not allowed. The method is protected to avoid misuse.
51   AliFatal("Copy constructor not allowed");
52 }
53
54 //______________________________________________________________________
55 AliVertexer& AliVertexer::operator=(const AliVertexer& /* vtxr */){
56   // Assignment operator
57   // Assignment is not allowed. The method is protected to avoid misuse.
58   AliFatal("Assignment operator not allowed");
59   return *this;
60 }
61
62 //______________________________________________________________________
63 AliVertexer::~AliVertexer() {
64   // Default Destructor
65   // The objects pointed by the following pointers are not owned
66   // by this class and are not deleted
67
68     fCurrentVertex  = 0;
69 }
70
71 //______________________________________________________________________
72 void AliVertexer::SetDebug(Int_t debug)
73 {
74   AliWarning("Don't use this method any more, use AliDebug instead");
75   fDebug = debug;
76 }