#include <TimingSD.h>
Public Member Functions | |
void | clearHits () override |
void | EndOfEvent (G4HCofThisEvent *eventHC) override |
void | fillHits (edm::PSimHitContainer &, const std::string &) override |
void | Initialize (G4HCofThisEvent *HCE) override |
void | PrintAll () override |
bool | ProcessHits (G4Step *, G4TouchableHistory *) override |
TimingSD (const std::string &, const SensitiveDetectorCatalog &, const SimTrackManager *) | |
~TimingSD () override | |
Public Member Functions inherited from SensitiveTkDetector | |
SensitiveTkDetector (const std::string &iname, const SensitiveDetectorCatalog &clg) | |
Public Member Functions inherited from SensitiveDetector | |
void | EndOfEvent (G4HCofThisEvent *eventHC) override |
const std::vector< std::string > & | getNames () const |
void | Initialize (G4HCofThisEvent *eventHC) override |
bool | isCaloSD () const |
SensitiveDetector (const std::string &iname, const SensitiveDetectorCatalog &, bool calo) | |
virtual uint32_t | setDetUnitId (const G4Step *step)=0 |
~SensitiveDetector () override | |
Public Member Functions inherited from Observer< const BeginOfEvent *> | |
Observer () | |
void | slotForUpdate (const BeginOfEvent * iT) |
virtual | ~Observer () |
Protected Member Functions | |
virtual bool | checkHit (const G4Step *, BscG4Hit *) |
const G4ThreeVector & | getGlobalEntryPoint () const |
const G4ThreeVector & | getLocalEntryPoint () const |
virtual int | getTrackID (const G4Track *) |
void | setCuts (double eCut, double historyCut) |
void | setTimeFactor (double) |
void | setToLocal (const G4StepPoint *stepPoint, const G4ThreeVector &globalPoint, G4ThreeVector &localPoint) |
void | update (const BeginOfEvent *) override |
This routine will be called when the appropriate signal arrives. More... | |
Protected Member Functions inherited from SensitiveDetector | |
TrackInformation * | cmsTrackInformation (const G4Track *aTrack) |
Local3DPoint | ConvertToLocal3DPoint (const G4ThreeVector &point) const |
Local3DPoint | FinalStepPosition (const G4Step *step, coordinates) const |
Local3DPoint | InitialStepPosition (const G4Step *step, coordinates) const |
Local3DPoint | LocalPostStepPosition (const G4Step *step) const |
Local3DPoint | LocalPreStepPosition (const G4Step *step) const |
void | NaNTrap (const G4Step *step) const |
void | setNames (const std::vector< std::string > &) |
Private Member Functions | |
void | createNewHit (const G4Step *) |
void | getStepInfo (const G4Step *) |
bool | hitExists (const G4Step *) |
void | storeHit (BscG4Hit *) |
void | updateHit () |
Private Attributes | |
BscG4Hit * | currentHit |
float | edeposit |
float | edepositEM |
float | edepositHAD |
double | energyCut |
double | energyHistoryCut |
int | hcID |
G4ThreeVector | hitPoint |
G4ThreeVector | hitPointExit |
G4ThreeVector | hitPointLocal |
G4ThreeVector | hitPointLocalExit |
double | incidentEnergy |
const G4StepPoint * | postStepPoint |
const G4StepPoint * | preStepPoint |
uint32_t | previousUnitID |
int | primaryID |
int | primID |
TrackingSlaveSD * | slave |
G4ProcessTypeEnumerator * | theEnumerator |
BscG4HitCollection * | theHC |
const SimTrackManager * | theManager |
const G4Track * | theTrack |
double | timeFactor |
float | tof |
int | tsID |
double | tSlice |
int | tSliceID |
uint32_t | unitID |
Additional Inherited Members | |
Protected Types inherited from SensitiveDetector | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
Definition at line 29 of file TimingSD.h.
TimingSD::TimingSD | ( | const std::string & | name, |
const SensitiveDetectorCatalog & | clg, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 37 of file TimingSD.cc.
References Skims_PA_cff::name, slave, and theEnumerator.
|
override |
|
protectedvirtual |
Reimplemented in Bcm1fSD, and PltSD.
Definition at line 220 of file TimingSD.cc.
References dqmMemoryStats::float, hitPoint, hitPointLocal, hitPointLocalExit, incidentEnergy, invdeg, invgev, preStepPoint, primaryID, G4ProcessTypeEnumerator::processId(), theEnumerator, theTrack, and tof.
Referenced by hitExists().
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 373 of file TimingSD.cc.
References TrackingSlaveSD::Initialize(), and slave.
Referenced by update().
|
private |
Definition at line 258 of file TimingSD.cc.
References currentHit, hitPoint, hitPointLocal, hitPointLocalExit, incidentEnergy, invdeg, invgev, preStepPoint, primaryID, G4ProcessTypeEnumerator::processId(), BscG4Hit::setEntry(), BscG4Hit::setEntryLocalP(), BscG4Hit::setExitLocalP(), BscG4Hit::setIncidentEnergy(), BscG4Hit::setPabs(), BscG4Hit::setParentId(), BscG4Hit::setParticleType(), BscG4Hit::setPhiAtEntry(), BscG4Hit::setProcessId(), BscG4Hit::setThetaAtEntry(), BscG4Hit::setTimeSlice(), BscG4Hit::setTof(), BscG4Hit::setTrackID(), BscG4Hit::setUnitID(), BscG4Hit::setVertexPosition(), storeHit(), theEnumerator, theTrack, tof, tSlice, tSliceID, unitID, and updateHit().
Referenced by ProcessHits().
|
override |
Definition at line 323 of file TimingSD.cc.
References SensitiveDetector::ConvertToLocal3DPoint(), BscG4Hit::getEnergyLoss(), BscG4Hit::getEntryLocalP(), BscG4Hit::getExitLocalP(), BscG4Hit::getPabs(), BscG4Hit::getParticleType(), BscG4Hit::getPhiAtEntry(), BscG4Hit::getProcessId(), BscG4Hit::getThetaAtEntry(), BscG4Hit::getTof(), BscG4Hit::getTrackID(), BscG4Hit::getUnitID(), dqmiolumiharvest::j, nhits, TrackingSlaveSD::processHits(), slave, and theHC.
|
overridevirtual |
Implements SensitiveTkDetector.
Definition at line 360 of file TimingSD.cc.
References gpuPixelDoublets::cc, TrackingSlaveSD::hits(), TrackingSlaveSD::name(), and slave.
|
inlineprotected |
|
inlineprotected |
Definition at line 62 of file TimingSD.h.
References hitPointLocal.
Referenced by Bcm1fSD::checkHit(), and PltSD::checkHit().
|
private |
Definition at line 113 of file TimingSD.cc.
References SensitiveDetector::cmsTrackInformation(), MillePedeFileConverter_cfg::e, edeposit, edepositEM, edepositHAD, energyCut, energyHistoryCut, dqmMemoryStats::float, getTrackID(), hitPoint, hitPointExit, hitPointLocal, hitPointLocalExit, incidentEnergy, info(), createfilelist::int, invgev, invns, G4TrackToParticleID::isGammaElectronPositron(), LogDebug, postStepPoint, funct::pow(), preStepPoint, primaryID, SensitiveDetector::setDetUnitId(), setToLocal(), mathSSE::sqrt(), theTrack, timeFactor, tof, tSlice, tSliceID, and unitID.
Referenced by ProcessHits().
|
protectedvirtual |
Reimplemented in MtdSD.
Definition at line 375 of file TimingSD.cc.
References LogDebug.
Referenced by getStepInfo().
|
private |
Definition at line 188 of file TimingSD.cc.
References checkHit(), currentHit, newFWLiteAna::found, BscG4Hit::getTimeSliceID(), BscG4Hit::getUnitID(), dqmiolumiharvest::j, previousUnitID, theHC, tsID, tSliceID, unitID, and updateHit().
Referenced by ProcessHits().
|
override |
Definition at line 64 of file TimingSD.cc.
References bysipixelclustmulteventfilter_cfi::collectionName, energyCut, energyHistoryCut, hcID, primID, theHC, timeFactor, and tsID.
|
override |
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 102 of file TimingSD.cc.
References createNewHit(), edeposit, f, getStepInfo(), and hitExists().
|
protected |
Definition at line 89 of file TimingSD.cc.
References energyCut, and energyHistoryCut.
Referenced by Bcm1fSD::Bcm1fSD(), MtdSD::MtdSD(), and PltSD::PltSD().
|
protected |
Definition at line 79 of file TimingSD.cc.
References timeFactor, and heppy_batch::val.
Referenced by MtdSD::MtdSD().
|
protected |
Definition at line 318 of file TimingSD.cc.
Referenced by getStepInfo().
|
private |
Definition at line 247 of file TimingSD.cc.
Referenced by createNewHit().
|
overrideprotectedvirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent *>.
Definition at line 366 of file TimingSD.cc.
References clearHits().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 304 of file TimingSD.cc.
References BscG4Hit::addEnergyDeposit(), currentHit, edeposit, edepositEM, edepositHAD, postStepPoint, previousUnitID, primaryID, primID, tsID, tSliceID, and unitID.
Referenced by createNewHit(), and hitExists().
|
private |
Definition at line 81 of file TimingSD.h.
Referenced by createNewHit(), hitExists(), and updateHit().
|
private |
Definition at line 107 of file TimingSD.h.
Referenced by getStepInfo(), ProcessHits(), and updateHit().
|
private |
Definition at line 108 of file TimingSD.h.
Referenced by getStepInfo(), and updateHit().
|
private |
Definition at line 108 of file TimingSD.h.
Referenced by getStepInfo(), and updateHit().
|
private |
Definition at line 102 of file TimingSD.h.
Referenced by getStepInfo(), Initialize(), and setCuts().
|
private |
Definition at line 103 of file TimingSD.h.
Referenced by getStepInfo(), Initialize(), and setCuts().
|
private |
Definition at line 89 of file TimingSD.h.
Referenced by Initialize().
|
private |
Definition at line 94 of file TimingSD.h.
Referenced by checkHit(), createNewHit(), getGlobalEntryPoint(), and getStepInfo().
|
private |
Definition at line 95 of file TimingSD.h.
Referenced by getStepInfo().
|
private |
Definition at line 96 of file TimingSD.h.
Referenced by checkHit(), createNewHit(), getLocalEntryPoint(), and getStepInfo().
|
private |
Definition at line 97 of file TimingSD.h.
Referenced by checkHit(), createNewHit(), and getStepInfo().
|
private |
Definition at line 105 of file TimingSD.h.
Referenced by checkHit(), createNewHit(), and getStepInfo().
|
private |
Definition at line 84 of file TimingSD.h.
Referenced by getStepInfo(), and updateHit().
|
private |
Definition at line 83 of file TimingSD.h.
Referenced by checkHit(), createNewHit(), and getStepInfo().
|
private |
Definition at line 86 of file TimingSD.h.
Referenced by hitExists(), and updateHit().
|
private |
Definition at line 91 of file TimingSD.h.
Referenced by checkHit(), createNewHit(), getStepInfo(), and updateHit().
|
private |
Definition at line 88 of file TimingSD.h.
Referenced by Initialize(), storeHit(), and updateHit().
|
private |
Definition at line 75 of file TimingSD.h.
Referenced by clearHits(), EndOfEvent(), fillHits(), TimingSD(), and ~TimingSD().
|
private |
Definition at line 76 of file TimingSD.h.
Referenced by checkHit(), createNewHit(), TimingSD(), and ~TimingSD().
|
private |
Definition at line 79 of file TimingSD.h.
Referenced by EndOfEvent(), hitExists(), Initialize(), PrintAll(), and storeHit().
|
private |
Definition at line 78 of file TimingSD.h.
|
private |
Definition at line 82 of file TimingSD.h.
Referenced by checkHit(), createNewHit(), and getStepInfo().
|
private |
Definition at line 100 of file TimingSD.h.
Referenced by getStepInfo(), Initialize(), and setTimeFactor().
|
private |
Definition at line 106 of file TimingSD.h.
Referenced by checkHit(), createNewHit(), and getStepInfo().
|
private |
Definition at line 90 of file TimingSD.h.
Referenced by hitExists(), Initialize(), and updateHit().
|
private |
Definition at line 99 of file TimingSD.h.
Referenced by createNewHit(), and getStepInfo().
|
private |
Definition at line 92 of file TimingSD.h.
Referenced by createNewHit(), getStepInfo(), hitExists(), and updateHit().
|
private |
Definition at line 86 of file TimingSD.h.
Referenced by createNewHit(), getStepInfo(), hitExists(), and updateHit().