ATLAS Offline Software
Loading...
Searching...
No Matches
AtlasDetTechnology.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6// AtlasDetTechnology.h, (c) ATLAS Detector software
8
9#ifndef ATLASDETDESCR_ATLASDETTECHNOLOGY_H
10#define ATLASDETDESCR_ATLASDETTECHNOLOGY_H 1
11
12#include <assert.h>
13
14// use these macros to check a given AtlasDetTechnology for its validity
15
16#define validAtlasDetTechnology(detTechn) ( (detTechn<AtlasDetDescr::fNumAtlasDetTechnologies) && (detTechn>=AtlasDetDescr::fFirstAtlasDetTechnology) )
17#define assertAtlasDetTechnology(detTechn) ( assert(validAtlasDetTechnology(detTechn)) )
18
19namespace AtlasDetDescr {
20
27
29 // Unset
31 // first Geometry element in enum, used in e.g. loops
33 // Inner Detector
39 // Calorimeter
47 // Muon Spectrometer
56 // number of defined detector technologies
58 };
59
60} // end of namespace
61
62#endif // ATLASDETDESCR_ATLASDETTECHNOLOGY
AtlasDetTechnology
A simple enum of ATLAS detector technologies.