ATLAS Offline Software
EntryLayer.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 // EntryLayer.h, (c) ATLAS Detector software
8 
9 #ifndef ISF_EVENT_ENTRYLAYER_H
10 #define ISF_EVENT_ENTRYLAYER_H 1
11 
12 #include <assert.h>
13 
14 // use these macros to check a given EntryLayer id for its validity
15 #define validEntryLayer(layer) ( (layer>ISF::fUnsetEntryLayer) && (layer<ISF::fNumAtlasEntryLayers) )
16 #define assertEntryLayer(layer) ( assert(validEntryLayer(layer)) )
17 
18 
19 namespace ISF {
20 
31  enum EntryLayer {
32  // Not yet set
34  // first Geometry element in enum, used in e.g. loops
36  // actual list of entry layers
40  // number of defined EntryLayers
42  };
43 
44 } // end of namespace
45 
46 #endif // ISF_EVENT_ENTRYLAYER_H
ISF::fAtlasMuonEntry
@ fAtlasMuonEntry
Definition: EntryLayer.h:38
ISF::fAtlasMuonExit
@ fAtlasMuonExit
Definition: EntryLayer.h:39
ISF::fNumAtlasEntryLayers
@ fNumAtlasEntryLayers
Definition: EntryLayer.h:41
ISF::fUnsetEntryLayer
@ fUnsetEntryLayer
Definition: EntryLayer.h:33
ISF::fFirstAtlasEntryLayer
@ fFirstAtlasEntryLayer
Definition: EntryLayer.h:35
ISF::EntryLayer
EntryLayer
Definition: EntryLayer.h:31
ISF
ISFParticleOrderedQueue.
Definition: PrimaryParticleInformation.h:13
ISF::fAtlasCaloEntry
@ fAtlasCaloEntry
Definition: EntryLayer.h:37