#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 DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *) | |
~TkAccumulatingSensitiveDetector () override | |
Public Member Functions inherited from SensitiveTkDetector | |
SensitiveTkDetector (const std::string &iname, const DDCompactView &cpv, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p) | |
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 DDCompactView &cpv, const SensitiveDetectorCatalog &, edm::ParameterSet const &p, bool calo) | |
~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 |
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 28 of file TkAccumulatingSensitiveDetector.h.
TkAccumulatingSensitiveDetector::TkAccumulatingSensitiveDetector | ( | const std::string & | name, |
const DDCompactView & | cpv, | ||
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 48 of file TkAccumulatingSensitiveDetector.cc.
References allowZeroEnergyLoss, energyCut, energyHistoryCut, edm::ParameterSet::getParameter(), GeV, neverAccumulate, printHits, rTracker, rTracker2, SensitiveDetector::setNames(), slaveHighTof, slaveLowTof, AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::temp, theG4ProcTypeEnumerator, theNumberingScheme, theRotation, theTofLimit, and zTracker.
|
override |
Definition at line 99 of file TkAccumulatingSensitiveDetector.cc.
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 375 of file TkAccumulatingSensitiveDetector.cc.
References slaveHighTof, and slaveLowTof.
Referenced by update().
|
private |
Definition at line 339 of file TkAccumulatingSensitiveDetector.cc.
References PSimHit::exitPoint(), SensitiveDetector::LocalPreStepPosition(), LogDebug, mag(), mag2(), mySimHit, and theRotation.
Referenced by newHit().
|
private |
Definition at line 209 of file TkAccumulatingSensitiveDetector.cc.
References SensitiveDetector::cmsTrackInformation(), SensitiveDetector::ConvertToLocal3DPoint(), PSimHit::detUnitId(), PSimHit::energyLoss(), PSimHit::entryPoint(), Exception, PSimHit::exitPoint(), GeV, globalEntryPoint, globalExitPoint, lastId, lastTrack, SensitiveDetector::LocalPostStepPosition(), SensitiveDetector::LocalPreStepPosition(), LogDebug, mySimHit, oldVolume, G4TrackToParticleID::particleID(), PV3DBase< T, PVType, FrameType >::phi(), pname, printHits, px, py, pz, setDetUnitId(), TrackInformation::storeTrack(), groupFilesInBlocks::temp, theG4ProcTypeEnumerator, theRotation, PV3DBase< T, PVType, FrameType >::theta(), and PSimHit::trackId().
Referenced by ProcessHits().
|
override |
Definition at line 349 of file TkAccumulatingSensitiveDetector.cc.
References LogDebug, mySimHit, and sendHit().
|
overridevirtual |
Implements SensitiveTkDetector.
Definition at line 381 of file TkAccumulatingSensitiveDetector.cc.
References slaveHighTof, and slaveLowTof.
|
private |
Definition at line 320 of file TkAccumulatingSensitiveDetector.cc.
References closeHit(), lastId, lastTrack, LogDebug, and setDetUnitId().
Referenced by ProcessHits().
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 102 of file TkAccumulatingSensitiveDetector.cc.
References allowZeroEnergyLoss, createHit(), LogDebug, mySimHit, neverAccumulate, newHit(), sendHit(), and updateHit().
Referenced by LaserAlignmentSimulation::update().
|
private |
Definition at line 179 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 127 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 355 of file TkAccumulatingSensitiveDetector.cc.
References clearHits(), eventno, and mySimHit.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
overrideprotectedvirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfTrack * >.
Definition at line 132 of file TkAccumulatingSensitiveDetector.cc.
References funct::abs(), SensitiveDetector::cmsTrackInformation(), energyCut, energyHistoryCut, info(), LogDebug, TrackInformation::putInHistory(), rTracker2, TrackInformation::storeTrack(), and zTracker.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
overrideprotectedvirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfJob * >.
Definition at line 363 of file TkAccumulatingSensitiveDetector.cc.
References edm::EventSetup::get(), numberingScheme(), and theNumberingScheme.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
private |
Definition at line 300 of file TkAccumulatingSensitiveDetector.cc.
References UpdatablePSimHit::addEnergyLoss(), SensitiveDetector::ConvertToLocal3DPoint(), PSimHit::detUnitId(), PSimHit::energyLoss(), PSimHit::entryPoint(), PSimHit::exitPoint(), GeV, globalExitPoint, SensitiveDetector::LocalPostStepPosition(), LogDebug, mySimHit, printHits, UpdatablePSimHit::setExitPoint(), theRotation, and PSimHit::trackId().
Referenced by ProcessHits().
|
private |
Definition at line 68 of file TkAccumulatingSensitiveDetector.h.
Referenced by ProcessHits(), and TkAccumulatingSensitiveDetector().
|
private |
Definition at line 75 of file TkAccumulatingSensitiveDetector.h.
Referenced by TkAccumulatingSensitiveDetector(), and update().
|
private |
Definition at line 76 of file TkAccumulatingSensitiveDetector.h.
Referenced by TkAccumulatingSensitiveDetector(), and update().
|
private |
Definition at line 88 of file TkAccumulatingSensitiveDetector.h.
|
private |
Definition at line 84 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), and sendHit().
|
private |
Definition at line 85 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), sendHit(), and updateHit().
|
private |
Definition at line 80 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), newHit(), and sendHit().
|
private |
Definition at line 81 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), newHit(), and sendHit().
|
private |
Definition at line 79 of file TkAccumulatingSensitiveDetector.h.
Referenced by closeHit(), createHit(), EndOfEvent(), ProcessHits(), sendHit(), update(), and updateHit().
|
private |
Definition at line 70 of file TkAccumulatingSensitiveDetector.h.
Referenced by ProcessHits(), and TkAccumulatingSensitiveDetector().
|
private |
Definition at line 86 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 69 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 87 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), and sendHit().
|
private |
Definition at line 87 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), and sendHit().
|
private |
Definition at line 87 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), and sendHit().
|
private |
Definition at line 72 of file TkAccumulatingSensitiveDetector.h.
Referenced by TkAccumulatingSensitiveDetector().
|
private |
Definition at line 71 of file TkAccumulatingSensitiveDetector.h.
Referenced by TkAccumulatingSensitiveDetector(), and update().
|
private |
Definition at line 64 of file TkAccumulatingSensitiveDetector.h.
Referenced by clearHits(), fillHits(), sendHit(), and TkAccumulatingSensitiveDetector().
|
private |
Definition at line 63 of file TkAccumulatingSensitiveDetector.h.
Referenced by clearHits(), fillHits(), sendHit(), and TkAccumulatingSensitiveDetector().
|
private |
Definition at line 66 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), and TkAccumulatingSensitiveDetector().
|
private |
Definition at line 62 of file TkAccumulatingSensitiveDetector.h.
|
private |
Definition at line 67 of file TkAccumulatingSensitiveDetector.h.
Referenced by setDetUnitId(), TkAccumulatingSensitiveDetector(), and update().
|
private |
Definition at line 65 of file TkAccumulatingSensitiveDetector.h.
Referenced by closeHit(), createHit(), TkAccumulatingSensitiveDetector(), and updateHit().
|
private |
Definition at line 74 of file TkAccumulatingSensitiveDetector.h.
Referenced by sendHit(), and TkAccumulatingSensitiveDetector().
|
private |
Definition at line 73 of file TkAccumulatingSensitiveDetector.h.
Referenced by TkAccumulatingSensitiveDetector(), and update().