DD4hep
1.31.0
Detector Description Toolkit for High Energy Physics
Main Page
Related Pages
Modules
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
_
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
u
Enumerator
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Functions
b
d
g
o
p
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
x
Functions
_
c
d
g
h
i
l
m
n
o
p
r
s
u
Variables
Typedefs
_
a
c
d
e
f
g
j
l
o
p
r
s
t
u
v
x
Enumerations
Enumerator
Macros
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
DDCore
include
DD4hep
DetectorSelector.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 : M.Frank
11
//
12
//==========================================================================
13
14
#ifndef DD4HEP_DETECTORSELECTOR_H
15
#define DD4HEP_DETECTORSELECTOR_H
16
17
// Framework include files
18
#include <
DD4hep/Detector.h
>
19
21
namespace
dd4hep
{
22
24
41
class
DetectorSelector
{
42
public
:
44
typedef
std::vector<DetElement>
Result
;
45
#ifndef __CINT__
46
Detector
&
description
;
48
#endif
49
50
public
:
51
#ifndef __CINT__
52
DetectorSelector
(
Detector
& _description) :
description
(_description) {}
54
#endif
55
~DetectorSelector
() {}
57
59
65
const
Result
&
detectors
(
const
std::string& type);
66
68
Result
detectors
(
const
std::string& type1,
69
const
std::string& type2,
70
const
std::string& type3=
""
,
71
const
std::string& type4=
""
,
72
const
std::string& type5=
""
);
73
77
Result
detectors
(
unsigned
int
includeFlag,
78
unsigned
int
excludeFlag=0 )
const
;
79
};
80
81
}
/* End namespace dd4hep */
82
#endif // DD4HEP_DETECTORSELECTOR_H
Detector.h
dd4hep::DetectorSelector::description
Detector & description
Reference to main detector description object.
Definition:
DetectorSelector.h:47
dd4hep::DetectorSelector::detectors
const Result & detectors(const std::string &type)
Access a set of subdetectors according to the sensitive type.
Definition:
DetectorSelector.cpp:21
dd4hep::align::AlignmentsCalculator::Result
Object encapsulating the result of a computation call to the alignments calculator.
Definition:
AlignmentsCalculator.h:45
dd4hep::DetectorSelector::~DetectorSelector
~DetectorSelector()
Default destructor.
Definition:
DetectorSelector.h:56
dd4hep::DetectorSelector::DetectorSelector
DetectorSelector(Detector &_description)
Default constructor.
Definition:
DetectorSelector.h:53
dd4hep::DetectorSelector::Result
std::vector< DetElement > Result
Result set definition.
Definition:
DetectorSelector.h:44
dd4hep
Namespace for the AIDA detector description toolkit.
Definition:
AlignmentsCalib.h:28
dd4hep::Detector
The main interface to the dd4hep detector description package.
Definition:
Detector.h:90
dd4hep::DetectorSelector
View on Detector to select detectors according to certain criteria.
Definition:
DetectorSelector.h:41
Generated on Tue Apr 15 2025 16:54:21 for DD4hep by
1.8.18