Main Page
Namespaces
Classes
Package Documentation
SimG4CMS
Muon
src
MuonGEMFrameRotation.cc
Go to the documentation of this file.
1
#include "
SimG4CMS/Muon/interface/MuonGEMFrameRotation.h
"
2
#include "
Geometry/MuonNumbering/interface/MuonDDDConstants.h
"
3
#include "
Geometry/MuonNumbering/interface/MuonBaseNumber.h
"
4
5
#include "G4Step.hh"
6
7
MuonGEMFrameRotation::MuonGEMFrameRotation
(
const
MuonDDDConstants
& muonConstants)
8
:
MuonFrameRotation
::
MuonFrameRotation
() {
9
g4numbering
=
new
MuonG4Numbering
(muonConstants);
10
int
theLevelPart= muonConstants.
getValue
(
"level"
);
11
theSectorLevel
= muonConstants.
getValue
(
"mg_sector"
)/theLevelPart;
12
}
13
14
MuonGEMFrameRotation::~MuonGEMFrameRotation
() {
15
delete
g4numbering
;
16
}
17
18
Local3DPoint
MuonGEMFrameRotation::transformPoint
(
const
Local3DPoint
&
point
,
const
G4Step *)
const
{
19
//---VI: theSectorLevel and g4numbering are not used
20
return
Local3DPoint
(point.
x
(),point.
z
(),-point.
y
());
21
}
MuonG4Numbering
Definition:
MuonG4Numbering.h:26
PV3DBase::y
T y() const
Definition:
PV3DBase.h:63
MuonDDDConstants
Definition:
MuonDDDConstants.h:21
MuonGEMFrameRotation::g4numbering
MuonG4Numbering * g4numbering
Definition:
MuonGEMFrameRotation.h:28
MuonDDDConstants::getValue
int getValue(const std::string &name) const
Definition:
MuonDDDConstants.cc:49
MuonDDDConstants.h
PV3DBase::z
T z() const
Definition:
PV3DBase.h:64
MuonGEMFrameRotation::theSectorLevel
int theSectorLevel
Definition:
MuonGEMFrameRotation.h:29
MuonGEMFrameRotation::transformPoint
Local3DPoint transformPoint(const Local3DPoint &, const G4Step *) const override
Definition:
MuonGEMFrameRotation.cc:18
Local3DPoint
Point3DBase< float, LocalTag > Local3DPoint
Definition:
LocalPoint.h:9
MuonBaseNumber.h
Point3DBase< float, LocalTag >
MuonGEMFrameRotation.h
MuonGEMFrameRotation::~MuonGEMFrameRotation
~MuonGEMFrameRotation() override
Definition:
MuonGEMFrameRotation.cc:14
MuonFrameRotation
Definition:
MuonFrameRotation.h:17
PV3DBase::x
T x() const
Definition:
PV3DBase.h:62
point
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition:
invegas.h:5
MuonGEMFrameRotation::MuonGEMFrameRotation
MuonGEMFrameRotation(const MuonDDDConstants &muonConstants)
Definition:
MuonGEMFrameRotation.cc:7
Generated for CMSSW Reference Manual by
1.8.11