Main Page
Namespaces
Classes
Package Documentation
src
SimG4CMS
Muon
src
MuonME0FrameRotation.cc
Go to the documentation of this file.
1
#include "
SimG4CMS/Muon/interface/MuonME0FrameRotation.h
"
2
#include "
Geometry/MuonNumbering/interface/MuonDDDConstants.h
"
3
#include "
Geometry/MuonNumbering/interface/MuonBaseNumber.h
"
4
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
5
6
#include "G4Step.hh"
7
8
MuonME0FrameRotation::MuonME0FrameRotation
(
const
MuonDDDConstants
& muonConstants)
9
:
MuonFrameRotation
::
MuonFrameRotation
() {
10
g4numbering
=
new
MuonG4Numbering
(muonConstants);
11
int
theLevelPart = muonConstants.
getValue
(
"level"
);
12
theSectorLevel
= muonConstants.
getValue
(
"mg_sector"
) / theLevelPart;
13
edm::LogVerbatim
(
"MuonME0FrameRotation"
) <<
"MuonME0FrameRotation: theSectorLevel "
<<
theSectorLevel
;
14
}
15
16
MuonME0FrameRotation::~MuonME0FrameRotation
() {
delete
g4numbering
; }
17
18
Local3DPoint
MuonME0FrameRotation::transformPoint
(
const
Local3DPoint
&
point
,
const
G4Step*)
const
{
19
//---VI: sector level and g4numbering are not used
20
return
Local3DPoint
(point.
x
(), point.
z
(), -point.
y
());
21
}
MessageLogger.h
MuonG4Numbering
Definition:
MuonG4Numbering.h:26
MuonME0FrameRotation.h
PV3DBase::y
T y() const
Definition:
PV3DBase.h:63
MuonME0FrameRotation::theSectorLevel
int theSectorLevel
Definition:
MuonME0FrameRotation.h:30
MuonDDDConstants
Definition:
MuonDDDConstants.h:21
MuonDDDConstants::getValue
int getValue(const std::string &name) const
Definition:
MuonDDDConstants.cc:52
MuonDDDConstants.h
PV3DBase::z
T z() const
Definition:
PV3DBase.h:64
edm::LogVerbatim
Definition:
MessageLogger.h:297
MuonME0FrameRotation::g4numbering
MuonG4Numbering * g4numbering
Definition:
MuonME0FrameRotation.h:29
Local3DPoint
Point3DBase< float, LocalTag > Local3DPoint
Definition:
LocalPoint.h:9
MuonBaseNumber.h
MuonME0FrameRotation::MuonME0FrameRotation
MuonME0FrameRotation(const MuonDDDConstants &muonConstants)
Definition:
MuonME0FrameRotation.cc:8
Point3DBase< float, LocalTag >
MuonME0FrameRotation::~MuonME0FrameRotation
~MuonME0FrameRotation() override
Definition:
MuonME0FrameRotation.cc:16
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
MuonME0FrameRotation::transformPoint
Local3DPoint transformPoint(const Local3DPoint &, const G4Step *) const override
Definition:
MuonME0FrameRotation.cc:18
Generated for CMSSW Reference Manual by
1.8.11