#include <PltSD.h>
Public Member Functions | |
virtual void | EndOfEvent (G4HCofThisEvent *) |
void | fillHits (edm::PSimHitContainer &, std::string use) |
PltSD (std::string, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *) | |
virtual bool | ProcessHits (G4Step *, G4TouchableHistory *) |
virtual uint32_t | setDetUnitId (G4Step *) |
virtual | ~PltSD () |
Public Member Functions inherited from SensitiveTkDetector | |
SensitiveTkDetector (std::string &iname, const DDCompactView &cpv, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p) | |
Public Member Functions inherited from SensitiveDetector | |
virtual void | AssignSD (const std::string &vname) |
Local3DPoint | ConvertToLocal3DPoint (const G4ThreeVector &point) |
Local3DPoint | FinalStepPosition (G4Step *s, coordinates) |
virtual std::vector< std::string > | getNames () |
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, const 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 | |
virtual void | clearHits () |
virtual bool | closeHit (G4Step *) |
virtual void | createHit (G4Step *) |
TrackInformation * | getOrCreateTrackInformation (const G4Track *) |
virtual bool | newHit (G4Step *) |
virtual void | sendHit () |
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 | |
float | energyCut |
float | energyHistoryCut |
int | eventno |
Local3DPoint | globalEntryPoint |
Local3DPoint | globalExitPoint |
uint32_t | lastId |
unsigned int | lastTrack |
G4TrackToParticleID * | myG4TrackToParticleID |
std::string | myName |
UpdatablePSimHit * | mySimHit |
G4VPhysicalVolume * | oldVolume |
std::string | pname |
TrackingSlaveSD * | slave |
G4ProcessTypeEnumerator * | theG4ProcessTypeEnumerator |
Additional Inherited Members | |
Public Types inherited from SensitiveDetector | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
PltSD::PltSD | ( | std::string | name, |
const DDCompactView & | cpv, | ||
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 35 of file PltSD.cc.
References SensitiveDetector::AssignSD(), energyCut, energyHistoryCut, edm::ParameterSet::getParameter(), GeV, SensitiveDetectorCatalog::logicalNames(), myG4TrackToParticleID, SensitiveDetector::Register(), slave, and theG4ProcessTypeEnumerator.
|
virtual |
Definition at line 66 of file PltSD.cc.
References myG4TrackToParticleID, slave, and theG4ProcessTypeEnumerator.
|
privatevirtual |
Implements SensitiveDetector.
Definition at line 328 of file PltSD.cc.
References TrackingSlaveSD::Initialize(), and slave.
Referenced by update().
|
privatevirtual |
Definition at line 255 of file PltSD.cc.
References PSimHit::exitPoint(), SensitiveDetector::InitialStepPosition(), SensitiveDetector::LocalCoordinates, LogDebug, mag(), and mySimHit.
Referenced by newHit().
|
privatevirtual |
Definition at line 267 of file PltSD.cc.
References SensitiveDetector::ConvertToLocal3DPoint(), PSimHit::detUnitId(), PSimHit::energyLoss(), PSimHit::entryPoint(), PSimHit::exitPoint(), SensitiveDetector::FinalStepPosition(), GeV, globalEntryPoint, globalExitPoint, SensitiveDetector::InitialStepPosition(), lastId, lastTrack, SensitiveDetector::LocalCoordinates, LogDebug, myG4TrackToParticleID, mySimHit, oldVolume, G4TrackToParticleID::particleID(), PV3DBase< T, PVType, FrameType >::phi(), pname, G4ProcessTypeEnumerator::processId(), setDetUnitId(), theG4ProcessTypeEnumerator, PV3DBase< T, PVType, FrameType >::theta(), PSimHit::trackId(), findQualityFiles::v, and SensitiveDetector::WorldCoordinates.
Referenced by ProcessHits().
|
virtual |
|
virtual |
Implements SensitiveTkDetector.
Definition at line 205 of file PltSD.cc.
References TrackingSlaveSD::hits(), n, TrackingSlaveSD::name(), and slave.
|
private |
Definition at line 332 of file PltSD.cc.
References info(), and groupFilesInBlocks::temp.
Referenced by ProcessHits().
|
privatevirtual |
Definition at line 241 of file PltSD.cc.
References closeHit(), lastId, lastTrack, LogDebug, mySimHit, and setDetUnitId().
Referenced by ProcessHits().
|
virtual |
Implements SensitiveDetector.
Definition at line 72 of file PltSD.cc.
References createHit(), energyCut, energyHistoryCut, getOrCreateTrackInformation(), info(), lastTrack, LogDebug, newHit(), TrackInformation::putInHistory(), sendHit(), TrackInformation::storeTrack(), and updateHit().
|
privatevirtual |
Definition at line 209 of file PltSD.cc.
References PSimHit::detUnitId(), PSimHit::energyLoss(), PSimHit::entryPoint(), PSimHit::exitPoint(), lastId, lastTrack, LogDebug, mySimHit, pname, TrackingSlaveSD::processHits(), slave, and PSimHit::trackId().
Referenced by EndOfEvent(), and ProcessHits().
|
virtual |
Implements SensitiveDetector.
Definition at line 103 of file PltSD.cc.
References gather_cfg::cout, testEve_cfg::level, LogDebug, and groupFilesInBlocks::temp.
Referenced by createHit(), and newHit().
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 315 of file PltSD.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 322 of file PltSD.cc.
References pname.
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 313 of file PltSD.cc.
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 224 of file PltSD.cc.
References UpdatablePSimHit::addEnergyLoss(), PSimHit::detUnitId(), PSimHit::energyLoss(), PSimHit::entryPoint(), PSimHit::exitPoint(), SensitiveDetector::FinalStepPosition(), GeV, globalExitPoint, SensitiveDetector::LocalCoordinates, LogDebug, mySimHit, pname, UpdatablePSimHit::setExitPoint(), PSimHit::trackId(), and SensitiveDetector::WorldCoordinates.
Referenced by ProcessHits().
|
private |
Definition at line 68 of file PltSD.h.
Referenced by PltSD(), and ProcessHits().
|
private |
Definition at line 69 of file PltSD.h.
Referenced by PltSD(), and ProcessHits().
|
private |
Definition at line 71 of file PltSD.h.
Referenced by createHit().
|
private |
Definition at line 72 of file PltSD.h.
Referenced by createHit(), and updateHit().
|
private |
Definition at line 74 of file PltSD.h.
Referenced by createHit(), newHit(), and sendHit().
|
private |
Definition at line 75 of file PltSD.h.
Referenced by createHit(), newHit(), ProcessHits(), and sendHit().
|
private |
Definition at line 65 of file PltSD.h.
Referenced by createHit(), PltSD(), and ~PltSD().
|
private |
Definition at line 66 of file PltSD.h.
Referenced by EndOfEvent().
|
private |
Definition at line 67 of file PltSD.h.
Referenced by closeHit(), createHit(), EndOfEvent(), newHit(), sendHit(), update(), and updateHit().
|
private |
Definition at line 73 of file PltSD.h.
Referenced by createHit().
|
private |
Definition at line 77 of file PltSD.h.
Referenced by createHit(), sendHit(), update(), and updateHit().
|
private |
Definition at line 63 of file PltSD.h.
Referenced by clearHits(), fillHits(), PltSD(), sendHit(), and ~PltSD().
|
private |
Definition at line 64 of file PltSD.h.
Referenced by createHit(), PltSD(), and ~PltSD().