Main Page
Namespaces
Classes
Package Documentation
SimMuon
Neutron
src
RootSimHit.cc
Go to the documentation of this file.
1
#include "
SimMuon/Neutron/src/RootSimHit.h
"
2
ClassImp
(
RootSimHit
)
3
4
5
RootSimHit
::
RootSimHit
(const
PSimHit
&
hit
)
6
: theEntryX(
hit
.entryPoint().
x
()),
7
theEntryY(
hit
.entryPoint().
y
()),
8
theEntryZ(
hit
.entryPoint().
z
()),
9
theExitX(
hit
.exitPoint().x()),
10
theExitY(
hit
.exitPoint().y()),
11
theExitZ(
hit
.exitPoint().z()),
12
thePabs(
hit
.pabs()),
13
theEnergyLoss(
hit
.energyLoss()),
14
theThetaAtEntry(
hit
.thetaAtEntry()), thePhiAtEntry(
hit
.phiAtEntry()),
15
theTof(
hit
.tof()),
16
theParticleType(
hit
.
particleType
()), theProcessType(
hit
.processType()),
17
theDetUnitId(
hit
.detUnitId()), theTrackId(
hit
.trackId())
18
{
19
}
20
21
22
PSimHit
RootSimHit::get
()
const
23
{
24
return
PSimHit
(
Local3DPoint
(
theEntryX
,
theEntryY
,
theEntryZ
),
25
Local3DPoint
(
theExitX
,
theExitY
,
theExitZ
),
26
thePabs
,
theTof
,
27
theEnergyLoss
,
theParticleType
,
theDetUnitId
,
theTrackId
,
28
theThetaAtEntry
,
thePhiAtEntry
,
theProcessType
);
29
}
30
31
32
objects.autophobj.particleType
particleType
Definition:
autophobj.py:34
RootSimHit.h
RootSimHit::theEntryZ
float theEntryZ
Definition:
RootSimHit.h:19
RootSimHit::theEntryY
float theEntryY
Definition:
RootSimHit.h:18
RootSimHit::thePhiAtEntry
float thePhiAtEntry
Definition:
RootSimHit.h:26
RootSimHit
Definition:
RootSimHit.h:7
RootSimHit::get
PSimHit get() const
Definition:
RootSimHit.cc:22
RootSimHit::theEnergyLoss
float theEnergyLoss
Definition:
RootSimHit.h:24
RootSimHit::theExitX
float theExitX
Definition:
RootSimHit.h:20
ClassImp
ClassImp(RootSimHit) RootSimHit
Definition:
RootSimHit.cc:2
RootSimHit::theTof
float theTof
Definition:
RootSimHit.h:28
detailsBasic3DVector::z
float float float z
Definition:
extBasic3DVector.h:15
RootSimHit::theThetaAtEntry
float theThetaAtEntry
Definition:
RootSimHit.h:25
x
T x() const
Cartesian x coordinate.
Definition:
Basic3DVectorLD.h:127
RootSimHit::theEntryX
float theEntryX
Definition:
RootSimHit.h:17
RootSimHit::theParticleType
short theParticleType
Definition:
RootSimHit.h:29
Local3DPoint
Point3DBase< float, LocalTag > Local3DPoint
Definition:
LocalPoint.h:9
RootSimHit::theDetUnitId
unsigned int theDetUnitId
Definition:
RootSimHit.h:34
detailsBasic3DVector::y
float float y
Definition:
extBasic3DVector.h:15
hit
Definition:
SiStripHitEffFromCalibTree.cc:86
RootSimHit::theExitZ
float theExitZ
Definition:
RootSimHit.h:22
RootSimHit::theExitY
float theExitY
Definition:
RootSimHit.h:21
RootSimHit::theProcessType
unsigned short theProcessType
Definition:
RootSimHit.h:30
PSimHit
Definition:
PSimHit.h:15
RootSimHit::theTrackId
unsigned int theTrackId
Definition:
RootSimHit.h:35
RootSimHit::thePabs
float thePabs
Definition:
RootSimHit.h:23
Generated for CMSSW Reference Manual by
1.8.11