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