#include <TkAccumulatingSensitiveDetector.h>
Public Member Functions | |
void | clearHits () override |
void | EndOfEvent (G4HCofThisEvent *) override |
void | fillHits (edm::PSimHitContainer &, const std::string &) override |
bool | ProcessHits (G4Step *, G4TouchableHistory *) override |
uint32_t | setDetUnitId (const G4Step *) override |
TkAccumulatingSensitiveDetector (const std::string &, const GeometricDet *, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *) | |
~TkAccumulatingSensitiveDetector () 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, const std::string &newcollname="") | |
~SensitiveDetector () override | |
Public Member Functions inherited from Observer< const BeginOfEvent *> | |
Observer () | |
void | slotForUpdate (const BeginOfEvent * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const BeginOfTrack *> | |
Observer () | |
void | slotForUpdate (const BeginOfTrack * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const BeginOfJob *> | |
Observer () | |
void | slotForUpdate (const BeginOfJob * iT) |
virtual | ~Observer () |
Protected Member Functions | |
void | update (const BeginOfEvent *) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfTrack *) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfJob *) 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 | |
bool | closeHit (const G4Step *) |
void | createHit (const G4Step *) |
bool | newHit (const G4Step *) |
void | sendHit () |
void | updateHit (const G4Step *) |
Private Attributes | |
bool | allowZeroEnergyLoss |
float | energyCut |
float | energyHistoryCut |
int | eventno |
Local3DPoint | globalEntryPoint |
Local3DPoint | globalExitPoint |
uint32_t | lastId |
int | lastTrack |
UpdatablePSimHit * | mySimHit |
bool | neverAccumulate |
const G4VPhysicalVolume * | oldVolume |
const GeometricDet * | pDD_ |
std::string | pname |
bool | printHits |
float | px |
float | py |
float | pz |
double | rTracker |
double | rTracker2 |
std::unique_ptr< TrackingSlaveSD > | slaveHighTof |
std::unique_ptr< TrackingSlaveSD > | slaveLowTof |
std::unique_ptr< const G4ProcessTypeEnumerator > | theG4ProcTypeEnumerator |
const SimTrackManager * | theManager |
TrackerG4SimHitNumberingScheme * | theNumberingScheme |
std::unique_ptr< FrameRotation > | theRotation |
float | theTofLimit |
double | zTracker |
Additional Inherited Members | |
Protected Types inherited from SensitiveDetector | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
Definition at line 31 of file TkAccumulatingSensitiveDetector.h.
TkAccumulatingSensitiveDetector::TkAccumulatingSensitiveDetector | ( | const std::string & | name, |
const GeometricDet * | pDD, | ||
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 41 of file TkAccumulatingSensitiveDetector.cc.
References allowZeroEnergyLoss, energyCut, energyHistoryCut, edm::ParameterSet::getParameter(), mergeVDriftHistosByStation::name, neverAccumulate, AlCaHLTBitMon_ParallelJobs::p, printHits, rTracker, rTracker2, SensitiveDetector::setNames(), slaveHighTof, slaveLowTof, AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::temp, theG4ProcTypeEnumerator, theNumberingScheme, theRotation, theTofLimit, and zTracker.
|
override |
Definition at line 102 of file TkAccumulatingSensitiveDetector.cc.
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 354 of file TkAccumulatingSensitiveDetector.cc.
References slaveHighTof, and slaveLowTof.
Referenced by update().
|
private |
Definition at line 331 of file TkAccumulatingSensitiveDetector.cc.
References PSimHit::exitPoint(), SensitiveDetector::LocalPreStepPosition(), LogDebug, mag(), mag2(), mySimHit, and theRotation.
Referenced by newHit().
|
private |
Definition at line 204 of file TkAccumulatingSensitiveDetector.cc.
References SensitiveDetector::cmsTrackInformation(), SensitiveDetector::ConvertToLocal3DPoint(), PSimHit::detUnitId(), PSimHit::energyLoss(), PSimHit::entryPoint(), Exception, PSimHit::exitPoint(), globalEntryPoint, globalExitPoint, lastId, lastTrack, SensitiveDetector::LocalPostStepPosition(), SensitiveDetector::LocalPreStepPosition(), LogDebug, mySimHit, oldVolume, G4TrackToParticleID::particleID(), PV3DBase< T, PVType, FrameType >::phi(), pname, printHits, px, py, pz, setDetUnitId(), groupFilesInBlocks::temp, theG4ProcTypeEnumerator, theRotation, PV3DBase< T, PVType, FrameType >::theta(), and PSimHit::trackId().
Referenced by ProcessHits().
|
override |
Definition at line 339 of file TkAccumulatingSensitiveDetector.cc.
References LogDebug, mySimHit, and sendHit().
|
overridevirtual |
Implements SensitiveTkDetector.
Definition at line 359 of file TkAccumulatingSensitiveDetector.cc.
References gpuPixelDoublets::cc, slaveHighTof, and slaveLowTof.
|
private |
Definition at line 314 of file TkAccumulatingSensitiveDetector.cc.
References closeHit(), funct::false, lastId, lastTrack, LogDebug, and setDetUnitId().
Referenced by ProcessHits().
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 104 of file TkAccumulatingSensitiveDetector.cc.
References allowZeroEnergyLoss, createHit(), LogDebug, mySimHit, neverAccumulate, newHit(), sendHit(), and updateHit().
Referenced by LaserAlignmentSimulation::update().
|
private |
Definition at line 171 of file TkAccumulatingSensitiveDetector.cc.
References PSimHit::detUnitId(), PSimHit::energyLoss(), PSimHit::entryPoint(), eventno, PSimHit::exitPoint(), globalEntryPoint, globalExitPoint, lastId, lastTrack, LogDebug, mySimHit, oldVolume, PSimHit::pabs(), pname, TkSimHitPrinter::printGlobal(), TkSimHitPrinter::printGlobalMomentum(), TkSimHitPrinter::printHitData(), printHits, TkSimHitPrinter::printLocal(), px, py, pz, slaveHighTof, slaveLowTof, TkSimHitPrinter::startNewSimHit(), theTofLimit, PSimHit::timeOfFlight(), and PSimHit::trackId().
Referenced by EndOfEvent(), and ProcessHits().
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 122 of file TkAccumulatingSensitiveDetector.cc.
References TrackerG4SimHitNumberingScheme::g4ToNumberingScheme(), and theNumberingScheme.
Referenced by createHit(), and newHit().
|
overrideprotectedvirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent *>.
Definition at line 345 of file TkAccumulatingSensitiveDetector.cc.
References clearHits(), eventno, and mySimHit.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overrideprotectedvirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfTrack *>.
Definition at line 126 of file TkAccumulatingSensitiveDetector.cc.
References funct::abs(), SensitiveDetector::cmsTrackInformation(), energyCut, energyHistoryCut, info(), LogDebug, rTracker2, and zTracker.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overrideprotectedvirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfJob *>.
Definition at line 352 of file TkAccumulatingSensitiveDetector.cc.
References numberingScheme(), pDD_, and theNumberingScheme.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 296 of file TkAccumulatingSensitiveDetector.cc.
References UpdatablePSimHit::addEnergyLoss(), SensitiveDetector::ConvertToLocal3DPoint(), PSimHit::detUnitId(), PSimHit::energyLoss(), PSimHit::entryPoint(), PSimHit::exitPoint(), globalExitPoint, SensitiveDetector::LocalPostStepPosition(), LogDebug, mySimHit, printHits, UpdatablePSimHit::setExitPoint(), theRotation, and PSimHit::trackId().
Referenced by ProcessHits().
|
private |
Definition at line 70 of file TkAccumulatingSensitiveDetector.h.
Referenced by ProcessHits(), and TkAccumulatingSensitiveDetector().
|
private |
Definition at line 77 of file TkAccumulatingSensitiveDetector.h.
Referenced by TkAccumulatingSensitiveDetector(), and update().
|
private |
Definition at line 78 of file TkAccumulatingSensitiveDetector.h.
Referenced by TkAccumulatingSensitiveDetector(), and update().
|
private |
Definition at line 90 of file TkAccumulatingSensitiveDetector.h.
|
private |
Definition at line 86 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), and sendHit().
|
private |
Definition at line 87 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), sendHit(), and updateHit().
|
private |
Definition at line 82 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), newHit(), and sendHit().
|
private |
Definition at line 83 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), newHit(), and sendHit().
|
private |
Definition at line 81 of file TkAccumulatingSensitiveDetector.h.
Referenced by closeHit(), createHit(), EndOfEvent(), ProcessHits(), sendHit(), update(), and updateHit().
|
private |
Definition at line 72 of file TkAccumulatingSensitiveDetector.h.
Referenced by ProcessHits(), and TkAccumulatingSensitiveDetector().
|
private |
Definition at line 88 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), and sendHit().
|
private |
Definition at line 63 of file TkAccumulatingSensitiveDetector.h.
Referenced by update().
|
private |
Definition at line 91 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), and sendHit().
|
private |
Definition at line 71 of file TkAccumulatingSensitiveDetector.h.
Referenced by ntuplePrintersDiff.TrackingParticlePrinter::__call__(), createHit(), ntuplePrintersDiff.SeedPrinter::diff(), ntuplePrintersDiff.TrackPrinter::diff(), ntuplePrintersDiff.TrackingParticlePrinter::diff(), ntuplePrintersDiff.SeedPrinter::printSeed(), ntuplePrintersDiff.TrackPrinter::printTrack(), sendHit(), TkAccumulatingSensitiveDetector(), and updateHit().
|
private |
Definition at line 89 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), and sendHit().
|
private |
Definition at line 89 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), and sendHit().
|
private |
Definition at line 89 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), and sendHit().
|
private |
Definition at line 74 of file TkAccumulatingSensitiveDetector.h.
Referenced by TkAccumulatingSensitiveDetector().
|
private |
Definition at line 73 of file TkAccumulatingSensitiveDetector.h.
Referenced by TkAccumulatingSensitiveDetector(), and update().
|
private |
Definition at line 66 of file TkAccumulatingSensitiveDetector.h.
Referenced by clearHits(), fillHits(), sendHit(), and TkAccumulatingSensitiveDetector().
|
private |
Definition at line 65 of file TkAccumulatingSensitiveDetector.h.
Referenced by clearHits(), fillHits(), sendHit(), and TkAccumulatingSensitiveDetector().
|
private |
Definition at line 68 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), and TkAccumulatingSensitiveDetector().
|
private |
Definition at line 64 of file TkAccumulatingSensitiveDetector.h.
|
private |
Definition at line 69 of file TkAccumulatingSensitiveDetector.h.
Referenced by setDetUnitId(), TkAccumulatingSensitiveDetector(), and update().
|
private |
Definition at line 67 of file TkAccumulatingSensitiveDetector.h.
Referenced by closeHit(), createHit(), TkAccumulatingSensitiveDetector(), and updateHit().
|
private |
Definition at line 76 of file TkAccumulatingSensitiveDetector.h.
Referenced by sendHit(), and TkAccumulatingSensitiveDetector().
|
private |
Definition at line 75 of file TkAccumulatingSensitiveDetector.h.
Referenced by TkAccumulatingSensitiveDetector(), and update().