]>
Commit | Line | Data |
---|---|---|
c2922515 | 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 | // Base class for event pool. | |
19 | // This class is needed by the AnalysisManager to steer a mixing analysis. | |
20 | // Author Andreas Morsch | |
21 | // andreas.morsch@cern.ch | |
22 | ||
23 | #include "AliVEventPool.h" | |
24 | ||
c2922515 | 25 | ClassImp(AliVEventPool) |
26 | ||
27 | ||
28 | //////////////////////////////////////////////////////////////////////// | |
29 | ||
30 | AliVEventPool::AliVEventPool(): | |
3854bbec | 31 | TNamed(), |
32 | fChain(0) | |
c2922515 | 33 | { |
34 | // Default constructor | |
35 | } | |
36 | ||
37 | AliVEventPool::AliVEventPool(const char* name, const char* title): | |
3854bbec | 38 | TNamed(name, title), |
39 | fChain() | |
c2922515 | 40 | { |
41 | // Constructor | |
42 | } | |
43 | ||
3854bbec | 44 | |
ee257383 | 45 | AliVEventPool::AliVEventPool(const AliVEventPool& obj): |
46 | TNamed(obj), | |
47 | fChain(0) | |
48 | { | |
49 | // Copy constructor | |
50 | fChain = obj.fChain; | |
51 | } | |
52 | ||
53 | AliVEventPool& AliVEventPool::operator=(const AliVEventPool& other) | |
54 | { | |
55 | // Assignment operator | |
56 | TNamed::operator=(other); | |
57 | fChain = other.fChain; | |
58 | return *this; | |
59 | } |