ATLAS Offline Software
VP1JobConfigInfo.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
7 // //
8 // Header file for class VP1JobConfigInfo //
9 // //
10 // Description: Provides convenient and safe information //
11 // about the configuration of a given job //
12 // //
13 // Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
14 // Initial version: March 2008 //
15 // //
17 
18 #ifndef VP1JOBCONFIGINFO_H
19 #define VP1JOBCONFIGINFO_H
20 // GeoModel
22 //
23 #include "GeoModelKernel/GeoVPhysVol.h"
24 class IVP1System;
25 class StoreGateSvc;
26 
28 public:
29 
30  static void ensureInit( IVP1System* ) {}//obsolete
31  static void ensureInit( StoreGateSvc* ) {}//obsolete
32 
33  //These next methods tells us what geomodel parts are initialised:
34  static bool hasGeoModelExperiment();//If GeoModelExperiment/"ATLAS" can be retrieved
35 
36  static bool hasITkGeometry();
37 
38  static bool hasPixelGeometry();
39  static bool hasSCTGeometry();
40  static bool hasTRTGeometry();
41 
42  static bool hasInDetServiceMaterialGeometry();
43  static bool hasBeamPipeGeometry();
44 
45  static bool hasLArGeometry();
46  static bool hasTileGeometry();
47 
48  static bool hasMuonGeometry();
49  static bool hasMuonNSWGeometry();
50 
51  static bool hasLUCIDGeometry();
52  static bool hasCavernInfraGeometry();//fixme: update so it doesn't just return false!
53  static bool hasBCMGeometry();
54 
55  //TODO: Add ZeroDegree and ALFA when they become available.
56 
57  //Top geomodel volume link (not strictly "JobConfig", but here it is):
58  static const GeoPVConstLink * geoModelWorld();//might return 0
59 
60 private:
63  class Imp;
64 };
65 
66 #endif
VP1JobConfigInfo::~VP1JobConfigInfo
~VP1JobConfigInfo()
Definition: VP1JobConfigInfo.h:62
VP1JobConfigInfo::ensureInit
static void ensureInit(IVP1System *)
Definition: VP1JobConfigInfo.h:30
VP1JobConfigInfo::hasTileGeometry
static bool hasTileGeometry()
Definition: VP1JobConfigInfo.cxx:133
VP1JobConfigInfo::hasLArGeometry
static bool hasLArGeometry()
Definition: VP1JobConfigInfo.cxx:132
VP1JobConfigInfo::hasCavernInfraGeometry
static bool hasCavernInfraGeometry()
Definition: VP1JobConfigInfo.cxx:138
GeoPrimitives.h
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
IVP1System
Definition: IVP1System.h:36
VP1JobConfigInfo::geoModelWorld
static const GeoPVConstLink * geoModelWorld()
Definition: VP1JobConfigInfo.cxx:240
VP1JobConfigInfo::hasLUCIDGeometry
static bool hasLUCIDGeometry()
Definition: VP1JobConfigInfo.cxx:136
VP1JobConfigInfo::hasSCTGeometry
static bool hasSCTGeometry()
Definition: VP1JobConfigInfo.cxx:128
VP1JobConfigInfo::hasTRTGeometry
static bool hasTRTGeometry()
Definition: VP1JobConfigInfo.cxx:129
VP1JobConfigInfo::hasInDetServiceMaterialGeometry
static bool hasInDetServiceMaterialGeometry()
Definition: VP1JobConfigInfo.cxx:130
VP1JobConfigInfo::hasBeamPipeGeometry
static bool hasBeamPipeGeometry()
Definition: VP1JobConfigInfo.cxx:131
VP1JobConfigInfo::hasBCMGeometry
static bool hasBCMGeometry()
Definition: VP1JobConfigInfo.cxx:137
VP1JobConfigInfo
Definition: VP1JobConfigInfo.h:27
VP1JobConfigInfo::hasITkGeometry
static bool hasITkGeometry()
Definition: VP1JobConfigInfo.cxx:126
VP1JobConfigInfo::hasMuonNSWGeometry
static bool hasMuonNSWGeometry()
Definition: VP1JobConfigInfo.cxx:135
VP1JobConfigInfo::hasPixelGeometry
static bool hasPixelGeometry()
Definition: VP1JobConfigInfo.cxx:127
VP1JobConfigInfo::hasMuonGeometry
static bool hasMuonGeometry()
Definition: VP1JobConfigInfo.cxx:134
VP1JobConfigInfo::ensureInit
static void ensureInit(StoreGateSvc *)
Definition: VP1JobConfigInfo.h:31
VP1JobConfigInfo::VP1JobConfigInfo
VP1JobConfigInfo()
Definition: VP1JobConfigInfo.h:61
VP1JobConfigInfo::hasGeoModelExperiment
static bool hasGeoModelExperiment()
Definition: VP1JobConfigInfo.cxx:125