CMS 3D CMS Logo

Public Member Functions

UpdatablePSimHit Class Reference

#include <UpdatablePSimHit.h>

Inheritance diagram for UpdatablePSimHit:
PSimHit

List of all members.

Public Member Functions

void addEnergyLoss (float eloss)
void setEnergyLoss (float eloss)
void setEntryPoint (const Local3DPoint &entry)
void setExitPoint (const Local3DPoint &exit)
void setTrackId (unsigned int k)
 UpdatablePSimHit (const Local3DPoint &entry, const Local3DPoint &exit, float pabs, float tof, float eloss, int particleType, unsigned int detId, unsigned int trackId, float theta, float phi, unsigned short processType=0)
 UpdatablePSimHit ()
void updateExitPoint (const Local3DPoint &exit)
 ~UpdatablePSimHit ()

Detailed Description

extension of PSimHit; the exit point and the energy loss can be modified; maybe not the final solution

Definition at line 12 of file UpdatablePSimHit.h.


Constructor & Destructor Documentation

UpdatablePSimHit::UpdatablePSimHit ( ) [inline]

Definition at line 15 of file UpdatablePSimHit.h.

: PSimHit() {}
UpdatablePSimHit::UpdatablePSimHit ( const Local3DPoint entry,
const Local3DPoint exit,
float  pabs,
float  tof,
float  eloss,
int  particleType,
unsigned int  detId,
unsigned int  trackId,
float  theta,
float  phi,
unsigned short  processType = 0 
) [inline]

Definition at line 16 of file UpdatablePSimHit.h.

        : PSimHit(entry, exit, pabs, tof, eloss, particleType,
                  detId, trackId, theta, phi,processType) {}
UpdatablePSimHit::~UpdatablePSimHit ( ) [inline]

Definition at line 22 of file UpdatablePSimHit.h.

{};  

Member Function Documentation

void UpdatablePSimHit::addEnergyLoss ( float  eloss) [inline]
void UpdatablePSimHit::setEnergyLoss ( float  eloss) [inline]

Definition at line 33 of file UpdatablePSimHit.h.

References PSimHit::theEnergyLoss.

{ theEnergyLoss = eloss; }
void UpdatablePSimHit::setEntryPoint ( const Local3DPoint entry) [inline]
void UpdatablePSimHit::setExitPoint ( const Local3DPoint exit) [inline]
void UpdatablePSimHit::setTrackId ( unsigned int  k) [inline]

Definition at line 34 of file UpdatablePSimHit.h.

References gen::k, and PSimHit::theTrackId.

{ theTrackId = k; }
void UpdatablePSimHit::updateExitPoint ( const Local3DPoint exit) [inline]