#include <TkAccumulatingSensitiveDetector.h>
Public Member Functions | |
virtual void | EndOfEvent (G4HCofThisEvent *) |
void | fillHits (edm::PSimHitContainer &, std::string use) |
std::vector< std::string > | getNames () |
virtual bool | ProcessHits (G4Step *, G4TouchableHistory *) |
virtual uint32_t | setDetUnitId (G4Step *) |
TkAccumulatingSensitiveDetector (std::string, const DDCompactView &, SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *) | |
std::string | type () |
virtual | ~TkAccumulatingSensitiveDetector () |
Public Member Functions inherited from SensitiveTkDetector | |
SensitiveTkDetector (std::string &iname, const DDCompactView &cpv, SensitiveDetectorCatalog &clg, edm::ParameterSet const &p) | |
Public Member Functions inherited from SensitiveDetector | |
virtual void | AssignSD (std::string &vname) |
Local3DPoint | ConvertToLocal3DPoint (G4ThreeVector point) |
Local3DPoint | FinalStepPosition (G4Step *s, coordinates) |
virtual void | Initialize (G4HCofThisEvent *eventHC) |
Local3DPoint | InitialStepPosition (G4Step *s, coordinates) |
std::string | nameOfSD () |
void | NaNTrap (G4Step *step) |
void | Register () |
SensitiveDetector (std::string &iname, const DDCompactView &cpv, SensitiveDetectorCatalog &, edm::ParameterSet const &p) | |
virtual | ~SensitiveDetector () |
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 () |
Private Member Functions | |
void | checkExitPoint (Local3DPoint) |
virtual void | clearHits () |
virtual bool | closeHit (G4Step *) |
virtual void | createHit (G4Step *) |
TrackInformation * | getOrCreateTrackInformation (const G4Track *) |
virtual bool | newHit (G4Step *) |
virtual void | sendHit () |
int | tofBin (float) |
Local3DPoint | toOrcaRef (Local3DPoint, G4VPhysicalVolume *) |
void | update (const BeginOfEvent *) |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfTrack *) |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfJob *) |
This routine will be called when the appropriate signal arrives. More... | |
virtual void | updateHit (G4Step *) |
Private Attributes | |
bool | allowZeroEnergyLoss |
float | energyCut |
float | energyHistoryCut |
int | eventno |
Local3DPoint | globalEntryPoint |
Local3DPoint | globalExitPoint |
uint32_t | lastId |
unsigned int | lastTrack |
G4TrackToParticleID * | myG4TrackToParticleID |
std::string | myName |
FrameRotation * | myRotation |
UpdatablePSimHit * | mySimHit |
bool | neverAccumulate |
TrackerG4SimHitNumberingScheme * | numberingScheme_ |
G4VPhysicalVolume * | oldVolume |
std::string | pname |
bool | printHits |
float | px |
float | py |
float | pz |
float | rTracker |
TrackingSlaveSD * | slaveHighTof |
TrackingSlaveSD * | slaveLowTof |
G4ProcessTypeEnumerator * | theG4ProcessTypeEnumerator |
const SimTrackManager * | theManager |
double | theSigma |
float | zTracker |
Additional Inherited Members | |
Public Types inherited from SensitiveDetector | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
Definition at line 30 of file TkAccumulatingSensitiveDetector.h.
TkAccumulatingSensitiveDetector::TkAccumulatingSensitiveDetector | ( | std::string | , |
const DDCompactView & | , | ||
SensitiveDetectorCatalog & | , | ||
edm::ParameterSet const & | , | ||
const SimTrackManager * | |||
) |
Definition at line 61 of file TkAccumulatingSensitiveDetector.cc.
References allowZeroEnergyLoss, SensitiveDetector::AssignSD(), energyCut, energyHistoryCut, edm::ParameterSet::getParameter(), SensitiveDetectorCatalog::logicalNames(), myG4TrackToParticleID, myName, myRotation, neverAccumulate, printHits, SensitiveDetector::Register(), slaveHighTof, slaveLowTof, theG4ProcessTypeEnumerator, and theSigma.
|
virtual |
Definition at line 117 of file TkAccumulatingSensitiveDetector.cc.
References myG4TrackToParticleID, slaveHighTof, slaveLowTof, and theG4ProcessTypeEnumerator.
|
private |
Definition at line 424 of file TkAccumulatingSensitiveDetector.cc.
References abs, detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by createHit(), and updateHit().
|
privatevirtual |
Implements SensitiveDetector.
Definition at line 418 of file TkAccumulatingSensitiveDetector.cc.
References TrackingSlaveSD::Initialize(), slaveHighTof, and slaveLowTof.
Referenced by update().
|
privatevirtual |
Definition at line 377 of file TkAccumulatingSensitiveDetector.cc.
References PSimHit::exitPoint(), SensitiveDetector::InitialStepPosition(), SensitiveDetector::LocalCoordinates, LogDebug, mag(), mySimHit, toOrcaRef(), and v.
Referenced by newHit().
|
privatevirtual |
Definition at line 255 of file TkAccumulatingSensitiveDetector.cc.
References checkExitPoint(), SensitiveDetector::ConvertToLocal3DPoint(), PSimHit::detUnitId(), PSimHit::energyLoss(), PSimHit::entryPoint(), PSimHit::exitPoint(), SensitiveDetector::FinalStepPosition(), globalEntryPoint, globalExitPoint, info, SensitiveDetector::InitialStepPosition(), lastId, lastTrack, SensitiveDetector::LocalCoordinates, LogDebug, myG4TrackToParticleID, mySimHit, oldVolume, G4TrackToParticleID::particleID(), PV3DBase< T, PVType, FrameType >::phi(), pname, G4ProcessTypeEnumerator::processId(), px, py, pz, setDetUnitId(), TrackInformation::storeTrack(), groupFilesInBlocks::temp, theG4ProcessTypeEnumerator, PV3DBase< T, PVType, FrameType >::theta(), toOrcaRef(), PSimHit::trackId(), v, and SensitiveDetector::WorldCoordinates.
Referenced by ProcessHits().
|
virtual |
Reimplemented from SensitiveDetector.
Definition at line 390 of file TkAccumulatingSensitiveDetector.cc.
References LogDebug, myName, mySimHit, and sendHit().
|
virtual |
Implements SensitiveTkDetector.
Definition at line 454 of file TkAccumulatingSensitiveDetector.cc.
References TrackingSlaveSD::hits(), n, TrackingSlaveSD::name(), slaveHighTof, and slaveLowTof.
|
virtual |
Reimplemented from SensitiveDetector.
Definition at line 464 of file TkAccumulatingSensitiveDetector.cc.
References TrackingSlaveSD::name(), slaveHighTof, slaveLowTof, and groupFilesInBlocks::temp.
|
private |
Definition at line 439 of file TkAccumulatingSensitiveDetector.cc.
References info, and groupFilesInBlocks::temp.
Referenced by update().
|
privatevirtual |
Definition at line 362 of file TkAccumulatingSensitiveDetector.cc.
References closeHit(), lastId, lastTrack, LogDebug, mySimHit, neverAccumulate, and setDetUnitId().
Referenced by ProcessHits().
|
virtual |
Implements SensitiveDetector.
Definition at line 126 of file TkAccumulatingSensitiveDetector.cc.
References allowZeroEnergyLoss, createHit(), LogDebug, newHit(), sendHit(), and updateHit().
Referenced by LaserAlignmentSimulation::update().
|
privatevirtual |
Definition at line 224 of file TkAccumulatingSensitiveDetector.cc.
References PSimHit::detUnitId(), PSimHit::energyLoss(), PSimHit::entryPoint(), eventno, PSimHit::exitPoint(), TkSimHitPrinter::getPropagationSign(), globalEntryPoint, globalExitPoint, lastId, lastTrack, LogDebug, myName, mySimHit, oldVolume, PSimHit::pabs(), pname, TkSimHitPrinter::printGlobal(), TkSimHitPrinter::printGlobalMomentum(), TkSimHitPrinter::printHitData(), printHits, TkSimHitPrinter::printLocal(), TkSimHitPrinter::printMomentumOfTrack(), TrackingSlaveSD::processHits(), px, py, pz, slaveHighTof, slaveLowTof, TkSimHitPrinter::startNewSimHit(), PSimHit::timeOfFlight(), tofBin(), and PSimHit::trackId().
Referenced by EndOfEvent(), and ProcessHits().
|
virtual |
Implements SensitiveDetector.
Definition at line 149 of file TkAccumulatingSensitiveDetector.cc.
References TrackerG4SimHitNumberingScheme::g4ToNumberingScheme(), LogDebug, and numberingScheme_.
Referenced by createHit(), and newHit().
|
private |
Definition at line 159 of file TkAccumulatingSensitiveDetector.cc.
References theSigma, and dtDQMClient_cfg::threshold.
Referenced by sendHit().
|
private |
Definition at line 167 of file TkAccumulatingSensitiveDetector.cc.
References myRotation, and FrameRotation::transformPoint().
Referenced by closeHit(), createHit(), and updateHit().
std::string TkAccumulatingSensitiveDetector::type | ( | ) |
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 399 of file TkAccumulatingSensitiveDetector.cc.
References clearHits(), eventno, and mySimHit.
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.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(), relval_steps.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().
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfTrack * >.
Definition at line 174 of file TkAccumulatingSensitiveDetector.cc.
References energyCut, energyHistoryCut, getOrCreateTrackInformation(), info, LogDebug, pos, TrackInformation::putInHistory(), rTracker, TrackInformation::storeTrack(), and zTracker.
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.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(), relval_steps.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().
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfJob * >.
Definition at line 406 of file TkAccumulatingSensitiveDetector.cc.
References edm::EventSetup::get(), numberingScheme(), and numberingScheme_.
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.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(), relval_steps.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().
|
privatevirtual |
Definition at line 341 of file TkAccumulatingSensitiveDetector.cc.
References UpdatablePSimHit::addEnergyLoss(), checkExitPoint(), PSimHit::detUnitId(), PSimHit::energyLoss(), PSimHit::entryPoint(), PSimHit::exitPoint(), SensitiveDetector::FinalStepPosition(), globalExitPoint, SensitiveDetector::LocalCoordinates, LogDebug, mySimHit, pname, UpdatablePSimHit::setExitPoint(), toOrcaRef(), PSimHit::trackId(), v, and SensitiveDetector::WorldCoordinates.
Referenced by ProcessHits().
|
private |
Definition at line 80 of file TkAccumulatingSensitiveDetector.h.
Referenced by ProcessHits(), and TkAccumulatingSensitiveDetector().
|
private |
Definition at line 85 of file TkAccumulatingSensitiveDetector.h.
Referenced by TkAccumulatingSensitiveDetector(), and update().
|
private |
Definition at line 86 of file TkAccumulatingSensitiveDetector.h.
Referenced by TkAccumulatingSensitiveDetector(), and update().
|
private |
Definition at line 77 of file TkAccumulatingSensitiveDetector.h.
|
private |
Definition at line 69 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), and sendHit().
|
private |
Definition at line 70 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), sendHit(), and updateHit().
|
private |
Definition at line 75 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), newHit(), and sendHit().
|
private |
Definition at line 76 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), newHit(), and sendHit().
|
private |
Definition at line 83 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), TkAccumulatingSensitiveDetector(), and ~TkAccumulatingSensitiveDetector().
|
private |
Definition at line 63 of file TkAccumulatingSensitiveDetector.h.
Referenced by EndOfEvent(), sendHit(), and TkAccumulatingSensitiveDetector().
|
private |
Definition at line 66 of file TkAccumulatingSensitiveDetector.h.
Referenced by TkAccumulatingSensitiveDetector(), and toOrcaRef().
|
private |
Definition at line 67 of file TkAccumulatingSensitiveDetector.h.
Referenced by closeHit(), createHit(), EndOfEvent(), newHit(), sendHit(), update(), and updateHit().
|
private |
Definition at line 82 of file TkAccumulatingSensitiveDetector.h.
Referenced by newHit(), and TkAccumulatingSensitiveDetector().
|
private |
Definition at line 93 of file TkAccumulatingSensitiveDetector.h.
Referenced by setDetUnitId(), and update().
|
private |
Definition at line 72 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), and sendHit().
|
private |
Definition at line 68 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), sendHit(), and updateHit().
|
private |
Definition at line 81 of file TkAccumulatingSensitiveDetector.h.
Referenced by sendHit(), and TkAccumulatingSensitiveDetector().
|
private |
Definition at line 79 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), and sendHit().
|
private |
Definition at line 79 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), and sendHit().
|
private |
Definition at line 79 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), and sendHit().
|
private |
Definition at line 90 of file TkAccumulatingSensitiveDetector.h.
Referenced by update().
|
private |
Definition at line 65 of file TkAccumulatingSensitiveDetector.h.
Referenced by clearHits(), fillHits(), getNames(), sendHit(), TkAccumulatingSensitiveDetector(), and ~TkAccumulatingSensitiveDetector().
|
private |
Definition at line 64 of file TkAccumulatingSensitiveDetector.h.
Referenced by clearHits(), fillHits(), getNames(), sendHit(), TkAccumulatingSensitiveDetector(), and ~TkAccumulatingSensitiveDetector().
|
private |
Definition at line 73 of file TkAccumulatingSensitiveDetector.h.
Referenced by createHit(), TkAccumulatingSensitiveDetector(), and ~TkAccumulatingSensitiveDetector().
|
private |
Definition at line 71 of file TkAccumulatingSensitiveDetector.h.
|
private |
Definition at line 74 of file TkAccumulatingSensitiveDetector.h.
Referenced by TkAccumulatingSensitiveDetector(), and tofBin().
|
private |
Definition at line 91 of file TkAccumulatingSensitiveDetector.h.
Referenced by update().