]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliDetectorTag.cxx
Changes required by Effective C++
[u/mrichter/AliRoot.git] / STEER / AliDetectorTag.cxx
CommitLineData
f3a97c86 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//-----------------------------------------------------------------
19// Implementation of the DetectorTag class
20// This is the class to deal with the tags in the detector level
21// Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
22//-----------------------------------------------------------------
23
24#include "AliDetectorTag.h"
25
26ClassImp(AliDetectorTag)
27
719bd672 28//___________________________________________________________________________
fe12e09c 29AliDetectorTag::AliDetectorTag() :
30 TObject(),
31 fITS(kFALSE),
32 fTPC(kFALSE),
33 fTRD(kFALSE),
34 fTOF(kFALSE),
35 fHMPID(kFALSE),
36 fPHOS(kFALSE),
37 fZDC(kFALSE),
38 fMUON(kFALSE),
39 fPMD(kFALSE),
40 fEMCAL(kFALSE),
41 fVZERO(kFALSE),
42 fTZERO(kFALSE)
f3a97c86 43{
e16601cf 44 // Default constructor
f3a97c86 45}
46
719bd672 47//___________________________________________________________________________
fe12e09c 48AliDetectorTag::AliDetectorTag(const AliDetectorTag & detTag) :
49 TObject(detTag),
50 fITS(detTag.fITS),
51 fTPC(detTag.fTPC),
52 fTRD(detTag.fTRD),
53 fTOF(detTag.fTOF),
54 fHMPID(detTag.fHMPID),
55 fPHOS(detTag.fPHOS),
56 fZDC(detTag.fZDC),
57 fMUON(detTag.fMUON),
58 fPMD(detTag.fPMD),
59 fEMCAL(detTag.fEMCAL),
60 fVZERO(detTag.fVZERO),
61 fTZERO(detTag.fTZERO)
62 {
f3a97c86 63 // DetectorTag copy constructor
f3a97c86 64}
65
719bd672 66//___________________________________________________________________________
67AliDetectorTag & AliDetectorTag::operator=(const AliDetectorTag &detTag) {
68 //DetectorTag assignment operator
69 if (this != &detTag) {
70 TObject::operator=(detTag);
71
fe12e09c 72 fITS = detTag.fITS;
73 fTPC = detTag.fTPC;
74 fTRD = detTag.fTRD;
75 fTOF = detTag.fTOF;
76 fHMPID = detTag.fHMPID;
77 fPHOS = detTag.fPHOS;
78 fZDC = detTag.fZDC;
79 fMUON = detTag.fMUON;
80 fPMD = detTag.fPMD;
81 fEMCAL = detTag.fEMCAL;
82 fVZERO = detTag.fVZERO;
83 fTZERO = detTag.fTZERO;
719bd672 84 }
85 return *this;
86}
87
88
89//___________________________________________________________________________
90AliDetectorTag::~AliDetectorTag() {
e16601cf 91 // Destructor
f3a97c86 92}