]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSDetType.cxx
A verbose print-out of the currently analyzed module commented out
[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
2f8d3f63 16/*
17 $Log$
18*/
b0f5e3fc 19
2f8d3f63 20#include "AliITSDetType.h"
c0904637 21#include "AliITSClusterFinder.h"
22#include "AliITSsimulation.h"
23
b0f5e3fc 24ClassImp(AliITSDetType)
25
2f8d3f63 26AliITSDetType::AliITSDetType(){
27 // constructor
28
29 fSegmentation = 0;
30 fResponse = 0;
31 fSimulation = 0;
32 fReconst = 0;
b0f5e3fc 33}
2f8d3f63 34//----------------------------------------------------------------------
35AliITSDetType::~AliITSDetType(){
36 // destructor
b0f5e3fc 37
2f8d3f63 38 if(fSegmentation!=0) delete fSegmentation; fSegmentation = 0;
39 if(fResponse!=0) delete fResponse; fResponse = 0;
40 if(fSimulation!=0) delete fSimulation; fSimulation = 0;
41 if(fReconst!=0) delete fReconst; fReconst = 0;
c0904637 42}
2f8d3f63 43//______________________________________________________________________
b0f5e3fc 44AliITSDetType::AliITSDetType(const AliITSDetType &source){
45 // Copy Constructor
c0904637 46
b0f5e3fc 47 if(&source == this) return;
2f8d3f63 48 this->fReconst = source.fReconst;
49 this->fSimulation = source.fSimulation;
50 this->fResponse = source.fResponse;
51 this->fSegmentation = source.fSegmentation;
52 this->fDigClassName = source.fDigClassName;
b0f5e3fc 53 this->fClustClassName = source.fClustClassName;
54 return;
55}
2f8d3f63 56//______________________________________________________________________
b0f5e3fc 57AliITSDetType& AliITSDetType::operator=(const AliITSDetType &source){
58 // Assignment operator
2f8d3f63 59
b0f5e3fc 60 if(&source == this) return *this;
2f8d3f63 61 this->fReconst = source.fReconst;
62 this->fSimulation = source.fSimulation;
63 this->fResponse = source.fResponse;
64 this->fSegmentation = source.fSegmentation;
65 this->fDigClassName = source.fDigClassName;
b0f5e3fc 66 this->fClustClassName = source.fClustClassName;
2f8d3f63 67 return *this;
b0f5e3fc 68}