]>
Commit | Line | Data |
---|---|---|
106c7c4e | 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 "AliTender.h" | |
19 | #include "AliTenderSupply.h" | |
20 | ||
21 | ClassImp(AliTenderSupply) | |
22 | ||
23 | //______________________________________________________________________________ | |
24 | AliTenderSupply::AliTenderSupply() | |
25 | :TNamed(), | |
26 | fTender(NULL) | |
27 | { | |
28 | // Dummy constructor | |
29 | } | |
30 | ||
31 | //______________________________________________________________________________ | |
32 | AliTenderSupply::AliTenderSupply(const char* name, AliTender *tender) | |
33 | :TNamed(name, "ESD analysis tender car"), | |
34 | fTender(tender) | |
35 | { | |
36 | // Default constructor | |
37 | } | |
38 | ||
39 | //______________________________________________________________________________ | |
40 | AliTenderSupply::AliTenderSupply(const AliTenderSupply &other) | |
41 | :TNamed(other), | |
42 | fTender(other.fTender) | |
43 | ||
44 | { | |
45 | // Copy constructor | |
46 | } | |
47 | ||
48 | //______________________________________________________________________________ | |
49 | AliTenderSupply::~AliTenderSupply() | |
50 | { | |
51 | // Destructor | |
52 | } | |
53 | ||
54 | //______________________________________________________________________________ | |
55 | AliTenderSupply& AliTenderSupply::operator=(const AliTenderSupply &other) | |
56 | { | |
57 | // Assignment | |
58 | if (&other == this) return *this; | |
59 | TNamed::operator=(other); | |
60 | fTender = other.fTender; | |
61 | return *this; | |
62 | } |