]>
Commit | Line | Data |
---|---|---|
0742d588 | 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 | ||
594d8990 | 18 | #include "AliLog.h" |
d65adc48 | 19 | #include "AliVertexer.h" |
2257f27e | 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 | //______________________________________________________________________ | |
90e48c0c | 31 | AliVertexer::AliVertexer() : |
32 | fCurrentVertex(0), | |
33 | fFirstEvent(0), | |
32e449be | 34 | fLastEvent(0), |
35 | fDebug(0), | |
36 | fMult() | |
90e48c0c | 37 | { |
38 | // | |
2257f27e | 39 | // Default Constructor |
90e48c0c | 40 | // |
2257f27e | 41 | } |
42 | ||
43 | ||
44 | //______________________________________________________________________ | |
90e48c0c | 45 | AliVertexer::AliVertexer(const AliVertexer &vtxr) : |
46 | TObject(vtxr), | |
47 | fCurrentVertex(vtxr.fCurrentVertex), | |
48 | fFirstEvent(vtxr.fFirstEvent), | |
fe12e09c | 49 | fLastEvent(vtxr.fLastEvent), |
50 | fDebug(vtxr.fDebug), | |
51 | fMult(vtxr.fMult) | |
90e48c0c | 52 | { |
2257f27e | 53 | // Copy constructor |
54 | // Copies are not allowed. The method is protected to avoid misuse. | |
594d8990 | 55 | AliFatal("Copy constructor not allowed"); |
2257f27e | 56 | } |
57 | ||
58 | //______________________________________________________________________ | |
59 | AliVertexer& AliVertexer::operator=(const AliVertexer& /* vtxr */){ | |
60 | // Assignment operator | |
61 | // Assignment is not allowed. The method is protected to avoid misuse. | |
594d8990 | 62 | AliFatal("Assignment operator not allowed"); |
2257f27e | 63 | return *this; |
64 | } | |
65 | ||
66 | //______________________________________________________________________ | |
67 | AliVertexer::~AliVertexer() { | |
68 | // Default Destructor | |
32e449be | 69 | |
70 | if(fMult) delete fMult; | |
2257f27e | 71 | // The objects pointed by the following pointers are not owned |
72 | // by this class and are not deleted | |
73 | ||
74 | fCurrentVertex = 0; | |
32e449be | 75 | |
2257f27e | 76 | } |
594d8990 | 77 | |
78 | //______________________________________________________________________ | |
79 | void AliVertexer::SetDebug(Int_t debug) | |
80 | { | |
81 | AliWarning("Don't use this method any more, use AliDebug instead"); | |
82 | fDebug = debug; | |
83 | } |