]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliDetectorTag.cxx
Coding conventions
[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
28//______________________________________________________________________________
29AliDetectorTag::AliDetectorTag()
30{
e16601cf 31 // Default constructor
f3a97c86 32 fITS = 0;
33 fTPC = 0;
34 fTRD = 0;
35 fTOF = 0;
36 fHMPID = 0;
37 fPHOS = 0;
38 fZDC = 0;
39 fMUON = 0;
40 fABSORBER = 0;
41 fPMD = 0;
42 fRICH = 0;
43 fEMCAL = 0;
44 fVZERO = 0;
45 fTZERO = 0;
46}
47
48//______________________________________________________________________________
e16601cf 49AliDetectorTag::AliDetectorTag(const AliDetectorTag & detTag) :
50 TObject(detTag)
f3a97c86 51{
52 // DetectorTag copy constructor
e16601cf 53 SetITS(detTag.GetITS());
54 SetTPC(detTag.GetTPC());
55 SetTRD(detTag.GetTRD());
56 SetTOF(detTag.GetTOF());
57 SetHMPID(detTag.GetHMPID());
58 SetPHOS(detTag.GetPHOS());
59 SetZDC(detTag.GetZDC());
60 SetMUON(detTag.GetMUON());
61 SetABSORBER(detTag.GetABSORBER());
62 SetPMD(detTag.GetPMD());
63 SetRICH(detTag.GetRICH());
64 SetEMCAL(detTag.GetEMCAL());
65 SetVZERO(detTag.GetVZERO());
66 SetTZERO(detTag.GetTZERO());
f3a97c86 67}
68
69//______________________________________________________________________________
70AliDetectorTag::~AliDetectorTag()
71{
e16601cf 72 // Destructor
f3a97c86 73}