ATLAS Offline Software
Loading...
Searching...
No Matches
VP1GeoFlags.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5
7// //
8// Header file for class VP1GeoFlags //
9// //
10// Description: Flags for geometry system. //
11// //
12// Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
13// Initial version: October 2008 //
14// //
16
17#ifndef VP1GEOFLAGS_H
18#define VP1GEOFLAGS_H
19// GeoModel
21//
22#include "GeoModelKernel/GeoVPhysVol.h"
23
24#include <QFlags>
25#include <QString>
26
28public:
29
30 enum SubSystemFlag { // 32-bits hexadecimal bitmask
31
32 None = 0x00000000,
33
34 Pixel = 0x00000001, // bit 0
35 SCT = 0x00000002, // 1
36 TRT = 0x00000004, // 2
37 InDetServMat = 0x00000008, // 3
38
39 LAr = 0x00000010, // 4
40 Tile = 0x00000020, // 5
41 BarrelToroid = 0x00000040, // 6 - FIXME - make barrel
42 MuonBarrelStationInner = 0x00000080, // 7
43
44 MuonBarrelStationMiddle = 0x00000100, // 8
45 MuonBarrelStationOuter = 0x00000200, // 9
46 MuonEndcapStationCSC = 0x00000400, // 10
47 MuonEndcapStationTGC = 0x00000800, // 11
48
49 MuonEndcapStationMDT = 0x00001000, // 12
50 AllMuonChambers = 0x00001F80, // == all bits occupied by the Muon chambers (80+100+200+400+800+1000)
51 CavernInfra = 0x00002000, // 13
52 BeamPipe = 0x00004000, // 14
53 // free = 0x00008000, // 15
54
55 LUCID = 0x00010000, // 16
56 ZDC = 0x00020000, // 17
57 ALFA = 0x00040000, // 18
58 ToroidECA = 0x00080000, // 19
59
60 ToroidECC = 0x00100000, // 20 FIXME! Remove and cleanup nomenclature
61 MuonFeet = 0x00200000, // 21
62 MuonShielding = 0x00400000, // 22
63 MuonToroidsEtc = 0x00800000, // 23
64
65 MuonEndcapStationNSW = 0x01000000, // 24
66 ForwardRegion = 0x02000000, // 25
67 AFP = 0x04000000, // 26
68 // free = 0x08000000, // 27
69
70 // free = 0x10000000, // 28
71 // free = 0x20000000, // 29
72 // free = 0x40000000, // 30
73 AllUnrecognisedVolumes = 0x80000000 // bit 31
74 };
75 Q_DECLARE_FLAGS(SubSystemFlags, SubSystemFlag)
76
78 OpenMDTChambers = 0x000001,
79 OpenCSCChambers = 0x000010,
80 OpenTGCChambers = 0x000100,
81 HideMDTTubes = 0x001000,
82 HideRPCVolumes = 0x010000
83 };
84 Q_DECLARE_FLAGS(MuonChamberAdaptionStyleFlags, MuonChamberAdaptionStyleFlag)
85
86 //VolumeState:
87 enum VOLSTATE { CONTRACTED,//Show volume if parent is EXPANDED, never show children.
88 EXPANDED,//Dont show volume ( => show all un-zapped children or their children as appropriate).
89 ZAPPED//Dont show volume ( => show no children).
90 };
91 static QString toString(const VOLSTATE&);
92
93private:
96};
97
98Q_DECLARE_OPERATORS_FOR_FLAGS(VP1GeoFlags::SubSystemFlags)
99Q_DECLARE_OPERATORS_FOR_FLAGS(VP1GeoFlags::MuonChamberAdaptionStyleFlags)
100
101#endif
@ MuonEndcapStationTGC
Definition VP1GeoFlags.h:47
@ AllUnrecognisedVolumes
Definition VP1GeoFlags.h:73
@ MuonEndcapStationNSW
Definition VP1GeoFlags.h:65
@ MuonBarrelStationInner
Definition VP1GeoFlags.h:42
@ MuonBarrelStationMiddle
Definition VP1GeoFlags.h:44
@ MuonBarrelStationOuter
Definition VP1GeoFlags.h:45
@ MuonEndcapStationCSC
Definition VP1GeoFlags.h:46
@ MuonEndcapStationMDT
Definition VP1GeoFlags.h:49
MuonChamberAdaptionStyleFlag
Definition VP1GeoFlags.h:77
static QString toString(const VOLSTATE &)
Header file for interface of SiGlobAlignDBTool used to read global alignment for database.
Definition HitInfo.h:33