improved calculation of RMS
[u/mrichter/AliRoot.git] / ITS / AliITSDetType.cxx
CommitLineData
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
c0904637 18#include "AliITSClusterFinder.h"
19#include "AliITSsimulation.h"
20
b0f5e3fc 21ClassImp(AliITSDetType)
22
23AliITSDetType::AliITSDetType()
24{
25 // constructor
26 fSegmentation=0;
27 fResponse=0;
28 fSimulation=0;
29 fReconst=0;
30}
31
c0904637 32AliITSDetType::~AliITSDetType()
33{
34 // destructor
35}
b0f5e3fc 36//__________________________________________________________________________
37AliITSDetType::AliITSDetType(const AliITSDetType &source){
38 // Copy Constructor
c0904637 39
b0f5e3fc 40 if(&source == this) return;
41 this->fReconst = source.fReconst;
42 this->fSimulation = source.fSimulation;
43 this->fResponse = source.fResponse;
44 this->fSegmentation = source.fSegmentation;
45 this->fDigClassName = source.fDigClassName;
46 this->fClustClassName = source.fClustClassName;
47 return;
48}
49
50//_________________________________________________________________________
51AliITSDetType& AliITSDetType::operator=(const AliITSDetType &source){
52 // Assignment operator
53 if(&source == this) return *this;
54 this->fReconst = source.fReconst;
55 this->fSimulation = source.fSimulation;
56 this->fResponse = source.fResponse;
57 this->fSegmentation = source.fSegmentation;
58 this->fDigClassName = source.fDigClassName;
59 this->fClustClassName = source.fClustClassName;
60 return *this;
61
62}