]>
Commit | Line | Data |
---|---|---|
b0f5e3fc | 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 | #include "AliITSDetType.h" | |
17 | ||
18 | ClassImp(AliITSDetType) | |
19 | ||
20 | AliITSDetType::AliITSDetType() | |
21 | { | |
22 | // constructor | |
23 | fSegmentation=0; | |
24 | fResponse=0; | |
25 | fSimulation=0; | |
26 | fReconst=0; | |
27 | } | |
28 | ||
29 | //__________________________________________________________________________ | |
30 | AliITSDetType::AliITSDetType(const AliITSDetType &source){ | |
31 | // Copy Constructor | |
32 | if(&source == this) return; | |
33 | this->fReconst = source.fReconst; | |
34 | this->fSimulation = source.fSimulation; | |
35 | this->fResponse = source.fResponse; | |
36 | this->fSegmentation = source.fSegmentation; | |
37 | this->fDigClassName = source.fDigClassName; | |
38 | this->fClustClassName = source.fClustClassName; | |
39 | return; | |
40 | } | |
41 | ||
42 | //_________________________________________________________________________ | |
43 | AliITSDetType& AliITSDetType::operator=(const AliITSDetType &source){ | |
44 | // Assignment operator | |
45 | if(&source == this) return *this; | |
46 | this->fReconst = source.fReconst; | |
47 | this->fSimulation = source.fSimulation; | |
48 | this->fResponse = source.fResponse; | |
49 | this->fSegmentation = source.fSegmentation; | |
50 | this->fDigClassName = source.fDigClassName; | |
51 | this->fClustClassName = source.fClustClassName; | |
52 | return *this; | |
53 | ||
54 | } |