Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DetectorDescription
Core
src
Division.h
Go to the documentation of this file.
1
#ifndef DDI_Division_h
2
#define DDI_Division_h
3
4
#include "
DetectorDescription/Core/interface/DDLogicalPart.h
"
5
#include "
DetectorDescription/Core/interface/DDAxes.h
"
6
7
#include <iostream>
8
#include <vector>
9
#include <utility>
10
#include <map>
11
12
namespace
DDI {
13
class
Division
{
14
15
public
:
16
Division
(
const
DDLogicalPart
&
parent
,
17
const
DDAxes
axis
,
18
const
int
nReplicas
,
19
const
double
width
,
20
const
double
offset
);
21
22
23
// Constructor with number of divisions
24
Division
(
const
DDLogicalPart
& parent,
25
const
DDAxes
axis,
26
const
int
nReplicas,
27
const
double
offset );
28
29
// Constructor with width
30
Division
(
const
DDLogicalPart
& parent,
31
const
DDAxes
axis,
32
const
double
width,
33
const
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
#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:88
DDI::Division::Division
Division(const DDLogicalPart &parent, const DDAxes axis, const int nReplicas, const double width, const 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
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.5