]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliDetectorTag.cxx
i) Modifying the GetInputChain function - removing the AliXMLCollection::OverlapColle...
[u/mrichter/AliRoot.git] / STEER / AliDetectorTag.cxx
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
26 ClassImp(AliDetectorTag)
27
28 //___________________________________________________________________________
29 AliDetectorTag::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)
43 {
44   // Default constructor
45 }
46
47 //___________________________________________________________________________
48 AliDetectorTag::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  {
63   // DetectorTag copy constructor
64 }
65
66 //___________________________________________________________________________
67 AliDetectorTag & AliDetectorTag::operator=(const AliDetectorTag &detTag) {
68   //DetectorTag assignment operator
69   if (this != &detTag) {
70     TObject::operator=(detTag);
71     
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;
84   }
85   return *this;
86 }
87
88
89 //___________________________________________________________________________
90 AliDetectorTag::~AliDetectorTag() {
91   // Destructor
92 }