DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
DDCore
include
DD4hep
BuildType.h
Go to the documentation of this file.
1
//==========================================================================
2
// AIDA Detector description implementation
3
//--------------------------------------------------------------------------
4
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5
// All rights reserved.
6
//
7
// For the licensing terms see $DD4hepINSTALL/LICENSE.
8
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9
//
10
// \author Markus Frank
11
// \date 2016-02-02
12
// \version 1.0
13
//
14
//==========================================================================
15
#ifndef DD4HEP_BUILDTYPE_H
16
#define DD4HEP_BUILDTYPE_H 1
17
18
// C/C++ include files
19
#include <string>
20
21
23
namespace
dd4hep
{
24
26
class
Detector;
27
29
34
enum
DetectorBuildType
{
35
BUILD_NONE
= 0,
36
BUILD_DEFAULT
= 1,
37
BUILD_SIMU
=
BUILD_DEFAULT
,
38
BUILD_RECO
,
39
BUILD_DISPLAY
,
40
BUILD_ENVELOPE
41
};
42
44
DetectorBuildType
buildType
(
const
char
* value);
45
47
DetectorBuildType
buildType
(
const
std::string& value);
48
50
std::string
buildTypeName
(
DetectorBuildType
type);
51
53
std::string
buildTypeName
(Detector& detector);
54
56
bool
buildMatch
(
const
std::string& value,
DetectorBuildType
match);
57
58
}
/* End namespace dd4hep */
59
#endif // DD4HEP_BUILDTYPE_H
dd4hep::BUILD_DISPLAY
@ BUILD_DISPLAY
Definition:
BuildType.h:39
dd4hep::buildType
DetectorBuildType buildType(const char *value)
Translate string representation of the geometry build type to value.
Definition:
BuildType.cpp:24
dd4hep::BUILD_ENVELOPE
@ BUILD_ENVELOPE
Definition:
BuildType.h:40
dd4hep::BUILD_NONE
@ BUILD_NONE
Definition:
BuildType.h:35
dd4hep::buildMatch
bool buildMatch(const std::string &value, DetectorBuildType match)
Check if a build type matches the current.
Definition:
BuildType.cpp:79
dd4hep::BUILD_RECO
@ BUILD_RECO
Definition:
BuildType.h:38
dd4hep::BUILD_SIMU
@ BUILD_SIMU
Definition:
BuildType.h:37
dd4hep::DetectorBuildType
DetectorBuildType
Detector description build types.
Definition:
BuildType.h:34
dd4hep
Namespace for the AIDA detector description toolkit.
Definition:
AlignmentsCalib.h:28
dd4hep::buildTypeName
std::string buildTypeName(DetectorBuildType type)
Translate the geometry build type to value to the string representation.
Definition:
BuildType.cpp:54
dd4hep::BUILD_DEFAULT
@ BUILD_DEFAULT
Definition:
BuildType.h:36
Generated on Thu Nov 7 2024 13:31:53 for DD4hep by
1.8.18