CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 10 of file RootSimHit.h.

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

Definition at line 5 of file RootSimHit.cc.

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()),
15  theTof(hit.tof()),
17  theDetUnitId( hit.detUnitId()), theTrackId( hit.trackId())
18 {
19 }
float theEntryZ
Definition: RootSimHit.h:19
float tof() const
deprecated name for timeOfFlight()
Definition: PSimHit.h:72
float theEntryY
Definition: RootSimHit.h:18
Geom::Theta< float > thetaAtEntry() const
fast and more accurate access to momentumAtEntry().theta()
Definition: PSimHit.h:57
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:38
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:63
unsigned int theDetUnitId
Definition: RootSimHit.h:34
unsigned short processType() const
Definition: PSimHit.h:118
float energyLoss() const
The energy deposit in the PSimHit, in ???.
Definition: PSimHit.h:75
float theExitZ
Definition: RootSimHit.h:22
int particleType() const
Definition: PSimHit.h:85
float theExitY
Definition: RootSimHit.h:21
unsigned short theProcessType
Definition: RootSimHit.h:30
unsigned int trackId() const
Definition: PSimHit.h:102
Geom::Phi< float > phiAtEntry() const
fast and more accurate access to momentumAtEntry().phi()
Definition: PSimHit.h:60
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:35
unsigned int detUnitId() const
Definition: PSimHit.h:93
float thePabs
Definition: RootSimHit.h:23

Member Function Documentation

PSimHit RootSimHit::get ( void  ) const

Definition at line 22 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().

23 {
26  thePabs, theTof,
29 }
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().