1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
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 //-----------------------------------------------------------------
24 #include "AliDetectorTag.h"
26 ClassImp(AliDetectorTag)
28 //___________________________________________________________________________
29 AliDetectorTag::AliDetectorTag() :
44 // Default constructor
47 //___________________________________________________________________________
48 AliDetectorTag::AliDetectorTag(const AliDetectorTag & detTag) :
54 fHMPID(detTag.fHMPID),
59 fEMCAL(detTag.fEMCAL),
60 fVZERO(detTag.fVZERO),
63 // DetectorTag copy constructor
66 //___________________________________________________________________________
67 AliDetectorTag & AliDetectorTag::operator=(const AliDetectorTag &detTag) {
68 //DetectorTag assignment operator
69 if (this != &detTag) {
70 TObject::operator=(detTag);
76 fHMPID = detTag.fHMPID;
81 fEMCAL = detTag.fEMCAL;
82 fVZERO = detTag.fVZERO;
83 fTZERO = detTag.fTZERO;
89 //___________________________________________________________________________
90 AliDetectorTag::~AliDetectorTag() {