#include <Bcm1fSD.h>
Public Member Functions | |
Bcm1fSD (std::string, const DDCompactView &, SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *) | |
virtual void | EndOfEvent (G4HCofThisEvent *) |
void | fillHits (edm::PSimHitContainer &, std::string use) |
virtual bool | ProcessHits (G4Step *, G4TouchableHistory *) |
virtual uint32_t | setDetUnitId (G4Step *) |
virtual | ~Bcm1fSD () |
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 (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, 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 } |
Bcm1fSD::Bcm1fSD | ( | std::string | name, |
const DDCompactView & | cpv, | ||
SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 33 of file Bcm1fSD.cc.
References SensitiveDetector::AssignSD(), energyCut, energyHistoryCut, edm::ParameterSet::getParameter(), GeV, SensitiveDetectorCatalog::logicalNames(), myG4TrackToParticleID, SensitiveDetector::Register(), slave, and theG4ProcessTypeEnumerator.
|
virtual |
Definition at line 64 of file Bcm1fSD.cc.
References myG4TrackToParticleID, slave, and theG4ProcessTypeEnumerator.
|
privatevirtual |
Implements SensitiveDetector.
Definition at line 284 of file Bcm1fSD.cc.
References TrackingSlaveSD::Initialize(), and slave.
Referenced by update().
|
privatevirtual |
Definition at line 211 of file Bcm1fSD.cc.
References PSimHit::exitPoint(), SensitiveDetector::InitialStepPosition(), SensitiveDetector::LocalCoordinates, LogDebug, mag(), and mySimHit.
Referenced by newHit().
|
privatevirtual |
Definition at line 223 of file Bcm1fSD.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 |
Reimplemented from SensitiveDetector.
Definition at line 153 of file Bcm1fSD.cc.
References LogDebug, myName, mySimHit, and sendHit().
|
virtual |
Implements SensitiveTkDetector.
Definition at line 161 of file Bcm1fSD.cc.
References TrackingSlaveSD::hits(), n, TrackingSlaveSD::name(), and slave.
|
private |
Definition at line 288 of file Bcm1fSD.cc.
References info(), and groupFilesInBlocks::temp.
Referenced by ProcessHits().
|
privatevirtual |
Definition at line 197 of file Bcm1fSD.cc.
References closeHit(), lastId, lastTrack, LogDebug, mySimHit, and setDetUnitId().
Referenced by ProcessHits().
|
virtual |
Implements SensitiveDetector.
Definition at line 70 of file Bcm1fSD.cc.
References createHit(), energyCut, energyHistoryCut, getOrCreateTrackInformation(), info(), lastTrack, LogDebug, newHit(), TrackInformation::putInHistory(), sendHit(), TrackInformation::storeTrack(), and updateHit().
|
privatevirtual |
Definition at line 165 of file Bcm1fSD.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 101 of file Bcm1fSD.cc.
References gather_cfg::cout, testEve_cfg::level, and LogDebug.
Referenced by createHit(), and newHit().
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 271 of file Bcm1fSD.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 278 of file Bcm1fSD.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 269 of file Bcm1fSD.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 180 of file Bcm1fSD.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 Bcm1fSD.h.
Referenced by Bcm1fSD(), and ProcessHits().
|
private |
Definition at line 69 of file Bcm1fSD.h.
Referenced by Bcm1fSD(), and ProcessHits().
|
private |
Definition at line 71 of file Bcm1fSD.h.
Referenced by createHit().
|
private |
Definition at line 72 of file Bcm1fSD.h.
Referenced by createHit(), and updateHit().
|
private |
Definition at line 74 of file Bcm1fSD.h.
Referenced by createHit(), newHit(), and sendHit().
|
private |
Definition at line 75 of file Bcm1fSD.h.
Referenced by createHit(), newHit(), ProcessHits(), and sendHit().
|
private |
Definition at line 65 of file Bcm1fSD.h.
Referenced by Bcm1fSD(), createHit(), and ~Bcm1fSD().
|
private |
Definition at line 66 of file Bcm1fSD.h.
Referenced by EndOfEvent().
|
private |
Definition at line 67 of file Bcm1fSD.h.
Referenced by closeHit(), createHit(), EndOfEvent(), newHit(), sendHit(), update(), and updateHit().
|
private |
Definition at line 73 of file Bcm1fSD.h.
Referenced by createHit().
|
private |
Definition at line 77 of file Bcm1fSD.h.
Referenced by createHit(), sendHit(), update(), and updateHit().
|
private |
Definition at line 63 of file Bcm1fSD.h.
Referenced by Bcm1fSD(), clearHits(), fillHits(), sendHit(), and ~Bcm1fSD().
|
private |
Definition at line 64 of file Bcm1fSD.h.
Referenced by Bcm1fSD(), createHit(), and ~Bcm1fSD().