]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliDetectorTag.cxx
- Adding handling of track info in digits.
[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 {
31   // Default constructor
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 //______________________________________________________________________________
49 AliDetectorTag::AliDetectorTag(const AliDetectorTag & detTag) :
50   TObject(detTag)
51 {
52   // DetectorTag copy constructor
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());
67 }
68
69 //______________________________________________________________________________
70 AliDetectorTag::~AliDetectorTag()
71 {
72   // Destructor
73 }