Line data Source code
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 "TChain.h"
24 :
25 : #include "AliVEventPool.h"
26 :
27 176 : ClassImp(AliVEventPool)
28 :
29 :
30 : ////////////////////////////////////////////////////////////////////////
31 :
32 : AliVEventPool::AliVEventPool():
33 0 : TNamed(),
34 0 : fChain(0)
35 0 : {
36 : // Default constructor
37 0 : }
38 :
39 : AliVEventPool::AliVEventPool(const char* name, const char* title):
40 0 : TNamed(name, title),
41 0 : fChain()
42 0 : {
43 : // Constructor
44 0 : }
45 :
46 :
47 : AliVEventPool::AliVEventPool(const AliVEventPool& obj):
48 0 : TNamed(obj),
49 0 : fChain(obj.fChain)
50 0 : {
51 : //
52 : // Copy constructor
53 : //
54 0 : }
55 :
56 : AliVEventPool& AliVEventPool::operator=(const AliVEventPool& other)
57 : {
58 : //
59 : // Assignment operator
60 : //
61 0 : if(this != &other) {
62 0 : TNamed::operator=(other);
63 0 : delete fChain;
64 0 : fChain = other.fChain;
65 0 : }
66 0 : return *this;
67 : }
|