]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - STEER/STEERBase/AliVEventPool.cxx
Fix for end-of-line style
[u/mrichter/AliRoot.git] / STEER / STEERBase / AliVEventPool.cxx
... / ...
CommitLineData
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
27ClassImp(AliVEventPool)
28
29
30////////////////////////////////////////////////////////////////////////
31
32AliVEventPool::AliVEventPool():
33 TNamed(),
34 fChain(0)
35{
36 // Default constructor
37}
38
39AliVEventPool::AliVEventPool(const char* name, const char* title):
40 TNamed(name, title),
41 fChain()
42{
43 // Constructor
44}
45
46
47AliVEventPool::AliVEventPool(const AliVEventPool& obj):
48 TNamed(obj),
49 fChain(obj.fChain)
50{
51 //
52 // Copy constructor
53 //
54}
55
56AliVEventPool& AliVEventPool::operator=(const AliVEventPool& other)
57{
58 //
59 // Assignment operator
60 //
61 if(this != &other) {
62 TNamed::operator=(other);
63 delete fChain;
64 fChain = other.fChain;
65 }
66 return *this;
67}