Main Page
Namespaces
Classes
Package Documentation
DetectorDescription
Core
src
Division.h
Go to the documentation of this file.
1
#ifndef DETECTOR_DESCRIPTION_CORE_DDI_DIVISION_H
2
#define DETECTOR_DESCRIPTION_CORE_DDI_DIVISION_H
3
4
#include <iostream>
5
#include <map>
6
#include <utility>
7
#include <vector>
8
9
#include "
DetectorDescription/Core/interface/DDAxes.h
"
10
#include "
DetectorDescription/Core/interface/DDLogicalPart.h
"
11
12
namespace
DDI
{
13
class
Division
{
14
15
public
:
16
Division
(
const
DDLogicalPart
&
parent
,
17
DDAxes
axis
,
18
int
nReplicas
,
19
double
width
,
20
double
offset
);
21
22
23
// Constructor with number of divisions
24
Division
(
const
DDLogicalPart
& parent,
25
DDAxes
axis,
26
int
nReplicas,
27
double
offset );
28
29
// Constructor with width
30
Division
(
const
DDLogicalPart
& parent,
31
DDAxes
axis,
32
double
width,
33
double
offset );
34
35
DDAxes
axis
()
const
;
36
int
nReplicas
()
const
;
37
double
width
()
const
;
38
double
offset
()
const
;
39
const
DDLogicalPart
&
parent
()
const
;
40
void
stream
(std::ostream &);
41
42
private
:
43
DDLogicalPart
parent_
;
44
DDAxes
axis_
;
45
int
nReplicas_
;
46
double
width_
;
47
double
offset_
;
48
49
};
50
}
51
52
#endif
DDI::Division::offset_
double offset_
Definition:
Division.h:47
DDI::Division::offset
double offset() const
Definition:
Division.cc:34
DDI::Division::parent
const DDLogicalPart & parent() const
Definition:
Division.cc:35
DDI::Division::stream
void stream(std::ostream &)
Definition:
Division.cc:37
DDI::Division::nReplicas
int nReplicas() const
Definition:
Division.cc:32
DDI::Division::nReplicas_
int nReplicas_
Definition:
Division.h:45
DDI::Division::axis
DDAxes axis() const
Definition:
Division.cc:31
DDI::Division::width
double width() const
Definition:
Division.cc:33
DDAxes.h
DDLogicalPart
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
Definition:
DDLogicalPart.h:92
DDI::Division::Division
Division(const DDLogicalPart &parent, DDAxes axis, int nReplicas, double width, double offset)
Definition:
Division.cc:9
DDI::Division::parent_
DDLogicalPart parent_
Definition:
Division.h:43
DDI::Division::axis_
DDAxes axis_
Definition:
Division.h:44
DDI::Division::width_
double width_
Definition:
Division.h:46
DDI
Definition:
DDCompactView.h:24
DDLogicalPart.h
DDAxes
DDAxes
analagous to geant4/source/global/HEPGeometry/include/geomdefs.hh
Definition:
DDAxes.h:11
DDI::Division
Definition:
Division.h:13
Generated for CMSSW Reference Manual by
1.8.11