]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliDetectorTag.h
Coding convention
[u/mrichter/AliRoot.git] / STEER / AliDetectorTag.h
CommitLineData
f3a97c86 1#ifndef ALIDETECTORTAG_H
2#define ALIDETECTORTAG_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6
7/* $Id$ */
8
9//-------------------------------------------------------------------------
10// Class AliDetectorTag
11// This is the class to deal with the tags for the detector level
12//
13// Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
14//-------------------------------------------------------------------------
15
16#include "TObject.h"
17#include "TClonesArray.h"
18//______________________________________________________________________________
19class AliDetectorTag : public TObject
20{
21 private:
22 Bool_t fITS; //ITS active = 1
23 Bool_t fTPC; //TPC active = 1
24 Bool_t fTRD; //TRD active = 1
25 Bool_t fTOF; //TOF active = 1
26 Bool_t fHMPID; //HMPID active = 1
27 Bool_t fPHOS; //PHOS active = 1
28 Bool_t fZDC; //ZDC active = 1
29 Bool_t fMUON; //MUON active = 1
30 Bool_t fABSORBER; //ABSORBER active = 1
31 Bool_t fPMD; //PMD active = 1
32 Bool_t fRICH; //RICH active = 1
33 Bool_t fEMCAL; //EMCAL active = 1
34 Bool_t fVZERO; //VZERO active = 1
35 Bool_t fTZERO; //TZERO active = 1
36
37 public:
38 AliDetectorTag();
39 AliDetectorTag(AliDetectorTag *t);
40 virtual ~AliDetectorTag();
41
42 void SetITS(Int_t n) {fITS = n;}
43 void SetTPC(Int_t n) {fTPC = n;}
44 void SetTRD(Int_t n) {fTRD = n;}
45 void SetTOF(Int_t n) {fTOF = n;}
46 void SetHMPID(Int_t n) {fHMPID = n;}
47 void SetPHOS(Int_t n) {fPHOS = n;}
48 void SetZDC(Int_t n) {fZDC = n;}
49 void SetMUON(Int_t n) {fMUON = n;}
50 void SetABSORBER(Int_t n) {fABSORBER = n;}
51 void SetPMD(Int_t n) {fPMD = n;}
52 void SetRICH(Int_t n) {fRICH = n;}
53 void SetEMCAL(Int_t n) {fEMCAL = n;}
54 void SetVZERO(Int_t n) {fVZERO = n;}
55 void SetTZERO(Int_t n) {fTZERO = n;}
56
57 Bool_t GetITS() {return fITS;}
58 Bool_t GetTPC() {return fTPC;}
59 Bool_t GetTRD() {return fTRD;}
60 Bool_t GetTOF() {return fTOF;}
61 Bool_t GetHMPID() {return fHMPID;}
62 Bool_t GetPHOS() {return fPHOS;}
63 Bool_t GetZDC() {return fZDC;}
64 Bool_t GetMUON() {return fMUON;}
65 Bool_t GetABSORBER() {return fABSORBER;}
66 Bool_t GetPMD() {return fPMD;}
67 Bool_t GetRICH() {return fRICH;}
68 Bool_t GetEMCAL() {return fEMCAL;}
69 Bool_t GetVZERO() {return fVZERO;}
70 Bool_t GetTZERO() {return fTZERO;}
71
72 ClassDef(AliDetectorTag,1) //(ClassName, ClassVersion)
73};
74//______________________________________________________________________________
75
76#endif