#include <SimDataFormats/TrackingHit/interface/UpdatablePSimHit.h>
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 () |
Definition at line 12 of file UpdatablePSimHit.h.
UpdatablePSimHit::UpdatablePSimHit | ( | ) | [inline] |
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.
00020 : PSimHit(entry, exit, pabs, tof, eloss, particleType, 00021 detId, trackId, theta, phi,processType) {}
UpdatablePSimHit::~UpdatablePSimHit | ( | ) | [inline] |
void UpdatablePSimHit::addEnergyLoss | ( | float | eloss | ) | [inline] |
Definition at line 32 of file UpdatablePSimHit.h.
References PSimHit::theEnergyLoss.
Referenced by MuonSensitiveDetector::updateHit(), and TkAccumulatingSensitiveDetector::updateHit().
00032 { theEnergyLoss += eloss; }
void UpdatablePSimHit::setEnergyLoss | ( | float | eloss | ) | [inline] |
Definition at line 33 of file UpdatablePSimHit.h.
References PSimHit::theEnergyLoss.
00033 { theEnergyLoss = eloss; }
void UpdatablePSimHit::setEntryPoint | ( | const Local3DPoint & | entry | ) | [inline] |
Definition at line 27 of file UpdatablePSimHit.h.
References PSimHit::theEntryPoint, and PSimHit::theSegment.
00028 { 00029 theSegment = theSegment+theEntryPoint-entry; 00030 theEntryPoint = entry; 00031 }
void UpdatablePSimHit::setExitPoint | ( | const Local3DPoint & | exit | ) | [inline] |
Definition at line 25 of file UpdatablePSimHit.h.
References updateExitPoint().
Referenced by TkAccumulatingSensitiveDetector::updateHit().
00026 { updateExitPoint(exit); }
Definition at line 34 of file UpdatablePSimHit.h.
References PSimHit::theTrackId.
00034 { theTrackId = k; }
void UpdatablePSimHit::updateExitPoint | ( | const Local3DPoint & | exit | ) | [inline] |
Definition at line 23 of file UpdatablePSimHit.h.
References PSimHit::theEntryPoint, and PSimHit::theSegment.
Referenced by setExitPoint(), and MuonSensitiveDetector::updateHit().
00024 { theSegment=exit-theEntryPoint; }