CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
RootSimHit Class Reference

#include <RootSimHit.h>

Inheritance diagram for RootSimHit:

Public Member Functions

PSimHit get () const
 
 RootSimHit ()
 
 RootSimHit (const PSimHit &hit)
 

Private Attributes

unsigned int theDetUnitId
 
float theEnergyLoss
 
float theEntryX
 
float theEntryY
 
float theEntryZ
 
float theExitX
 
float theExitY
 
float theExitZ
 
float thePabs
 
short theParticleType
 
float thePhiAtEntry
 
unsigned short theProcessType
 
float theThetaAtEntry
 
float theTof
 
unsigned int theTrackId
 

Detailed Description

Definition at line 7 of file RootSimHit.h.

Constructor & Destructor Documentation

RootSimHit::RootSimHit ( )
inline

Definition at line 9 of file RootSimHit.h.

9 {}
RootSimHit::RootSimHit ( const PSimHit hit)

Definition at line 4 of file RootSimHit.cc.

5  : theEntryX(hit.entryPoint().x()),
6  theEntryY(hit.entryPoint().y()),
7  theEntryZ(hit.entryPoint().z()),
8  theExitX(hit.exitPoint().x()),
9  theExitY(hit.exitPoint().y()),
10  theExitZ(hit.exitPoint().z()),
11  thePabs(hit.pabs()),
15  theTof(hit.tof()),
18  theDetUnitId(hit.detUnitId()),
19  theTrackId(hit.trackId()) {}
float theEntryZ
Definition: RootSimHit.h:19
float tof() const
deprecated name for timeOfFlight()
Definition: PSimHit.h:76
float theEntryY
Definition: RootSimHit.h:18
Geom::Theta< float > thetaAtEntry() const
fast and more accurate access to momentumAtEntry().theta()
Definition: PSimHit.h:61
float thePhiAtEntry
Definition: RootSimHit.h:26
float theEnergyLoss
Definition: RootSimHit.h:24
float theExitX
Definition: RootSimHit.h:20
T y() const
Definition: PV3DBase.h:63
float theTof
Definition: RootSimHit.h:28
float theThetaAtEntry
Definition: RootSimHit.h:25
Local3DPoint exitPoint() const
Exit point in the local Det frame.
Definition: PSimHit.h:46
float theEntryX
Definition: RootSimHit.h:17
T z() const
Definition: PV3DBase.h:64
short theParticleType
Definition: RootSimHit.h:29
float pabs() const
fast and more accurate access to momentumAtEntry().mag()
Definition: PSimHit.h:67
unsigned int theDetUnitId
Definition: RootSimHit.h:34
unsigned short processType() const
Definition: PSimHit.h:120
float energyLoss() const
The energy deposit in the PSimHit, in ???.
Definition: PSimHit.h:79
float theExitZ
Definition: RootSimHit.h:22
int particleType() const
Definition: PSimHit.h:89
float theExitY
Definition: RootSimHit.h:21
unsigned short theProcessType
Definition: RootSimHit.h:30
unsigned int trackId() const
Definition: PSimHit.h:106
Geom::Phi< float > phiAtEntry() const
fast and more accurate access to momentumAtEntry().phi()
Definition: PSimHit.h:64
T x() const
Definition: PV3DBase.h:62
unsigned int theTrackId
Definition: RootSimHit.h:35
Local3DPoint entryPoint() const
Entry point in the local Det frame.
Definition: PSimHit.h:43
unsigned int detUnitId() const
Definition: PSimHit.h:97
float thePabs
Definition: RootSimHit.h:23

Member Function Documentation

PSimHit RootSimHit::get ( ) const

Definition at line 21 of file RootSimHit.cc.

References theDetUnitId, theEnergyLoss, theEntryX, theEntryY, theEntryZ, theExitX, theExitY, theExitZ, thePabs, theParticleType, thePhiAtEntry, theProcessType, theThetaAtEntry, theTof, and theTrackId.

Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), and RootChamberReader::read().

21  {
24  thePabs,
25  theTof,
29  theTrackId,
33 }
float theEntryZ
Definition: RootSimHit.h:19
float theEntryY
Definition: RootSimHit.h:18
float thePhiAtEntry
Definition: RootSimHit.h:26
float theEnergyLoss
Definition: RootSimHit.h:24
float theExitX
Definition: RootSimHit.h:20
float theTof
Definition: RootSimHit.h:28
float theThetaAtEntry
Definition: RootSimHit.h:25
float theEntryX
Definition: RootSimHit.h:17
short theParticleType
Definition: RootSimHit.h:29
Point3DBase< float, LocalTag > Local3DPoint
Definition: LocalPoint.h:9
unsigned int theDetUnitId
Definition: RootSimHit.h:34
float theExitZ
Definition: RootSimHit.h:22
float theExitY
Definition: RootSimHit.h:21
unsigned short theProcessType
Definition: RootSimHit.h:30
unsigned int theTrackId
Definition: RootSimHit.h:35
float thePabs
Definition: RootSimHit.h:23

Member Data Documentation

unsigned int RootSimHit::theDetUnitId
private

Definition at line 34 of file RootSimHit.h.

Referenced by get().

float RootSimHit::theEnergyLoss
private

Definition at line 24 of file RootSimHit.h.

Referenced by get().

float RootSimHit::theEntryX
private

Definition at line 17 of file RootSimHit.h.

Referenced by get().

float RootSimHit::theEntryY
private

Definition at line 18 of file RootSimHit.h.

Referenced by get().

float RootSimHit::theEntryZ
private

Definition at line 19 of file RootSimHit.h.

Referenced by get().

float RootSimHit::theExitX
private

Definition at line 20 of file RootSimHit.h.

Referenced by get().

float RootSimHit::theExitY
private

Definition at line 21 of file RootSimHit.h.

Referenced by get().

float RootSimHit::theExitZ
private

Definition at line 22 of file RootSimHit.h.

Referenced by get().

float RootSimHit::thePabs
private

Definition at line 23 of file RootSimHit.h.

Referenced by get().

short RootSimHit::theParticleType
private

Definition at line 29 of file RootSimHit.h.

Referenced by get().

float RootSimHit::thePhiAtEntry
private

Definition at line 26 of file RootSimHit.h.

Referenced by get().

unsigned short RootSimHit::theProcessType
private

Definition at line 30 of file RootSimHit.h.

Referenced by get().

float RootSimHit::theThetaAtEntry
private

Definition at line 25 of file RootSimHit.h.

Referenced by get().

float RootSimHit::theTof
private

Definition at line 28 of file RootSimHit.h.

Referenced by get().

unsigned int RootSimHit::theTrackId
private

Definition at line 35 of file RootSimHit.h.

Referenced by get().