Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DetectorDescription
Algorithm
interface
DDLinear.h
Go to the documentation of this file.
1
#ifndef ALGORITHM_DD_LINEAR_H
2
# define ALGORITHM_DD_LINEAR_H
3
4
#include <string>
5
#include <utility>
6
#include <vector>
7
8
# include "
DetectorDescription/Algorithm/interface/DDAlgorithm.h
"
9
# include "
DetectorDescription/Base/interface/DDTypes.h
"
10
11
class
DDCompactView
;
12
13
class
DDLinear
:
public
DDAlgorithm
14
{
15
public
:
16
DDLinear
(
void
);
17
virtual
~DDLinear
(
void
);
18
19
void
initialize
(
const
DDNumericArguments
& nArgs,
20
const
DDVectorArguments
& vArgs,
21
const
DDMapArguments
& mArgs,
22
const
DDStringArguments
& sArgs,
23
const
DDStringVectorArguments
& vsArgs );
24
25
void
execute
(
DDCompactView
& cpv );
26
27
private
:
28
int
m_n
;
//Number of copies
29
int
m_startCopyNo
;
//Start Copy number
30
int
m_incrCopyNo
;
//Increment in Copy number
31
double
m_theta
;
//Theta
32
double
m_phi
;
//Phi dir[Theta,Phi] ... unit-std::vector in direction Theta, Phi
33
// double m_offset; //Offset - an offset distance in direction dir(Theta,Phi)
34
// FIXME: Understand if the offset is needed.
35
double
m_delta
;
//Delta - distance between two subsequent positions along dir[Theta,Phi]
36
std::vector<double>
m_base
;
//Base values - a 3d-point where the offset is calculated from
37
//base is optional, if omitted base=(0,0,0)
38
std::pair<std::string, std::string>
m_childNmNs
;
//Child name
39
//Namespace of the child
40
};
41
42
#endif // ALGORITHM_DD_LINEAR_H
DDLinear::m_startCopyNo
int m_startCopyNo
Definition:
DDLinear.h:29
DDLinear::m_phi
double m_phi
Definition:
DDLinear.h:32
DDLinear::m_incrCopyNo
int m_incrCopyNo
Definition:
DDLinear.h:30
DDLinear::m_delta
double m_delta
Definition:
DDLinear.h:35
DDCompactView
type of data representation of DDCompactView
Definition:
DDCompactView.h:90
DDLinear::m_childNmNs
std::pair< std::string, std::string > m_childNmNs
Definition:
DDLinear.h:38
DDLinear::m_theta
double m_theta
Definition:
DDLinear.h:31
DDLinear::DDLinear
DDLinear(void)
Definition:
DDLinear.cc:19
ReadMapType< double >
DDLinear::initialize
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs)
Definition:
DDLinear.cc:34
DDLinear::m_n
int m_n
Definition:
DDLinear.h:28
DDLinear::m_base
std::vector< double > m_base
Definition:
DDLinear.h:36
DDLinear::~DDLinear
virtual ~DDLinear(void)
Definition:
DDLinear.cc:30
DDAlgorithm.h
DDTypes.h
DDLinear::execute
void execute(DDCompactView &cpv)
Definition:
DDLinear.cc:69
DDLinear
Definition:
DDLinear.h:13
Generated for CMSSW Reference Manual by
1.8.5