#include <FastTimerSD.h>
Public Member Functions | |
virtual void | clear () |
virtual void | DrawAll () |
virtual void | EndOfEvent (G4HCofThisEvent *eventHC) |
FastTimerSD (std::string, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *) | |
void | fillHits (edm::PSimHitContainer &, std::string use) |
virtual double | getEnergyDeposit (G4Step *step) |
std::vector< std::string > | getNames () |
virtual void | Initialize (G4HCofThisEvent *HCE) |
virtual void | PrintAll () |
virtual bool | ProcessHits (G4Step *, G4TouchableHistory *) |
virtual uint32_t | setDetUnitId (G4Step *) |
virtual | ~FastTimerSD () |
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) |
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 BeginOfRun * > | |
Observer () | |
void | slotForUpdate (const BeginOfRun *iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const BeginOfEvent * > | |
Observer () | |
void | slotForUpdate (const BeginOfEvent *iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const EndOfEvent * > | |
Observer () | |
void | slotForUpdate (const EndOfEvent *iT) |
virtual | ~Observer () |
Protected Attributes | |
float | edepositEM |
float | edepositHAD |
G4int | emPDG |
G4int | epPDG |
G4int | gammaPDG |
Private Member Functions | |
virtual void | clearHits () |
void | CreateNewHit () |
void | GetStepInfo (G4Step *aStep) |
G4bool | HitExists () |
void | ResetForNewPrimary () |
G4ThreeVector | SetToLocal (const G4ThreeVector &global) |
G4ThreeVector | SetToLocalExit (const G4ThreeVector &globalPoint) |
void | StoreHit (BscG4Hit *) |
void | Summarize () |
void | update (const BeginOfRun *) |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfEvent *) |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const ::EndOfEvent *) |
void | UpdateHit () |
Private Attributes | |
BscG4Hit * | currentHit |
G4VPhysicalVolume * | currentPV |
float | edeposit |
float | Eloss |
G4ThreeVector | entrancePoint |
int | eventno |
G4ThreeVector | exitPoint |
FastTimeDDDConstants * | ftcons |
G4int | hcID |
G4ThreeVector | hitPoint |
G4ThreeVector | hitPointExit |
G4ThreeVector | hitPointLocal |
G4ThreeVector | hitPointLocalExit |
float | incidentEnergy |
std::string | name |
float | Pabs |
int | ParentId |
short | ParticleType |
float | PhiAtEntry |
G4StepPoint * | postStepPoint |
G4StepPoint * | preStepPoint |
uint32_t | previousUnitID |
G4int | primaryID |
G4int | primID |
TrackingSlaveSD * | slave |
G4ThreeVector | theEntryPoint |
G4ThreeVector | theExitPoint |
BscG4HitCollection * | theHC |
const SimTrackManager * | theManager |
float | ThetaAtEntry |
G4Track * | theTrack |
float | Tof |
G4int | tsID |
G4double | tSlice |
G4int | tSliceID |
int | type |
uint32_t | unitID |
float | Vx |
float | Vy |
float | Vz |
float | X |
float | Y |
float | Z |
Additional Inherited Members | |
Public Types inherited from SensitiveDetector | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
Protected Member Functions inherited from Observer< const EndOfEvent * > | |
virtual void | update (const EndOfEvent *)=0 |
This routine will be called when the appropriate signal arrives. More... | |
Definition at line 34 of file FastTimerSD.h.
FastTimerSD::FastTimerSD | ( | std::string | name, |
const DDCompactView & | cpv, | ||
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 31 of file FastTimerSD.cc.
References SensitiveDetector::AssignSD(), ecaldqm::collectionName, ftcons, edm::ParameterSet::getParameter(), FastTimeDDDConstants::getType(), edm::ParameterSet::getUntrackedParameter(), LogDebug, SensitiveDetectorCatalog::logicalNames(), SensitiveDetector::Register(), and slave.
|
virtual |
Definition at line 81 of file FastTimerSD.cc.
|
virtual |
Definition at line 382 of file FastTimerSD.cc.
|
privatevirtual |
Implements SensitiveDetector.
Definition at line 418 of file FastTimerSD.cc.
References TrackingSlaveSD::Initialize(), and slave.
Referenced by update().
|
private |
Definition at line 257 of file FastTimerSD.cc.
References currentHit, currentPV, Eloss, hitPoint, hitPointLocal, hitPointLocalExit, incidentEnergy, LogDebug, NULL, Pabs, ParentId, ParticleType, PhiAtEntry, primaryID, BscG4Hit::setEnergyLoss(), BscG4Hit::setEntry(), BscG4Hit::setEntryLocalP(), BscG4Hit::setExitLocalP(), BscG4Hit::setIncidentEnergy(), BscG4Hit::setPabs(), BscG4Hit::setParentId(), BscG4Hit::setParticleType(), BscG4Hit::setPhiAtEntry(), BscG4Hit::setThetaAtEntry(), BscG4Hit::setTimeSlice(), BscG4Hit::setTof(), BscG4Hit::setTrackID(), BscG4Hit::setUnitID(), BscG4Hit::setVx(), BscG4Hit::setVy(), BscG4Hit::setVz(), BscG4Hit::setX(), BscG4Hit::setY(), BscG4Hit::setZ(), StoreHit(), ThetaAtEntry, theTrack, Tof, tSlice, tSliceID, unitID, UpdateHit(), Vx, Vy, Vz, X, Y, and Z.
Referenced by ProcessHits().
|
virtual |
Definition at line 384 of file FastTimerSD.cc.
|
virtual |
Reimplemented from SensitiveDetector.
Definition at line 352 of file FastTimerSD.cc.
References TauDecayModes::dec, BscG4Hit::getEnergyLoss(), BscG4Hit::getEntry(), BscG4Hit::getPabs(), BscG4Hit::getParticleType(), BscG4Hit::getPhiAtEntry(), BscG4Hit::getThetaAtEntry(), BscG4Hit::getTof(), BscG4Hit::getTrackID(), BscG4Hit::getUnitID(), j, TrackingSlaveSD::processHits(), slave, Summarize(), and theHC.
|
virtual |
Implements SensitiveTkDetector.
Definition at line 393 of file FastTimerSD.cc.
References TrackingSlaveSD::hits(), gen::n, TrackingSlaveSD::name(), and slave.
|
virtual |
Definition at line 87 of file FastTimerSD.cc.
Referenced by GetStepInfo().
|
virtual |
Reimplemented from SensitiveDetector.
Definition at line 422 of file FastTimerSD.cc.
References TrackingSlaveSD::name(), slave, and groupFilesInBlocks::temp.
|
private |
Definition at line 124 of file FastTimerSD.cc.
References currentPV, TauDecayModes::dec, edeposit, edepositEM, edepositHAD, Eloss, emPDG, epPDG, gammaPDG, getEnergyDeposit(), GeV, hitPoint, hitPointExit, hitPointLocal, hitPointLocalExit, LogDebug, Pabs, ParentId, ParticleType, PhiAtEntry, postStepPoint, preStepPoint, primaryID, setDetUnitId(), ThetaAtEntry, theTrack, Tof, tSlice, tSliceID, unitID, Vx, Vy, Vz, X, Y, and Z.
Referenced by ProcessHits().
|
private |
Definition at line 198 of file FastTimerSD.cc.
References currentHit, newFWLiteAna::found, BscG4Hit::getTimeSliceID(), BscG4Hit::getTrackID(), BscG4Hit::getUnitID(), j, previousUnitID, primaryID, primID, ResetForNewPrimary(), theHC, tsID, tSliceID, unitID, and UpdateHit().
Referenced by ProcessHits().
|
virtual |
Reimplemented from SensitiveDetector.
Definition at line 91 of file FastTimerSD.cc.
References ecaldqm::collectionName, hcID, LogDebug, name, primID, theHC, and tsID.
|
virtual |
|
virtual |
Implements SensitiveDetector.
Definition at line 106 of file FastTimerSD.cc.
References CreateNewHit(), edeposit, GetStepInfo(), HitExists(), LogDebug, NULL, and theHC.
|
private |
Definition at line 238 of file FastTimerSD.cc.
References entrancePoint, exitPoint, hitPoint, hitPointExit, incidentEnergy, preStepPoint, SetToLocal(), and SetToLocalExit().
Referenced by HitExists().
|
virtual |
Implements SensitiveDetector.
Definition at line 175 of file FastTimerSD.cc.
References TauDecayModes::dec, ftcons, FastTimeDDDConstants::getXY(), hitPointLocal, and DetId::rawId().
Referenced by GetStepInfo().
|
private |
Definition at line 336 of file FastTimerSD.cc.
References preStepPoint, and theEntryPoint.
Referenced by ResetForNewPrimary().
|
private |
Definition at line 344 of file FastTimerSD.cc.
References postStepPoint, and theExitPoint.
Referenced by ResetForNewPrimary().
|
private |
Definition at line 246 of file FastTimerSD.cc.
Referenced by CreateNewHit().
|
private |
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun * >.
Definition at line 406 of file FastTimerSD.cc.
References emPDG, epPDG, and gammaPDG.
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().
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 397 of file FastTimerSD.cc.
References clearHits(), and eventno.
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 416 of file FastTimerSD.cc.
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 316 of file FastTimerSD.cc.
References BscG4Hit::addEnergyDeposit(), currentHit, edepositEM, edepositHAD, Eloss, LogDebug, postStepPoint, previousUnitID, primaryID, primID, BscG4Hit::setEnergyLoss(), tsID, tSliceID, and unitID.
Referenced by CreateNewHit(), and HitExists().
|
private |
Definition at line 98 of file FastTimerSD.h.
Referenced by CreateNewHit(), HitExists(), and UpdateHit().
|
private |
Definition at line 100 of file FastTimerSD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 107 of file FastTimerSD.h.
Referenced by GetStepInfo(), and ProcessHits().
|
protected |
Definition at line 126 of file FastTimerSD.h.
Referenced by GetStepInfo(), and UpdateHit().
|
protected |
Definition at line 126 of file FastTimerSD.h.
Referenced by GetStepInfo(), and UpdateHit().
|
private |
Definition at line 114 of file FastTimerSD.h.
Referenced by CreateNewHit(), GetStepInfo(), and UpdateHit().
|
protected |
Definition at line 127 of file FastTimerSD.h.
Referenced by GetStepInfo(), and update().
|
private |
Definition at line 86 of file FastTimerSD.h.
Referenced by ResetForNewPrimary().
|
protected |
Definition at line 128 of file FastTimerSD.h.
Referenced by GetStepInfo(), and update().
|
private |
Definition at line 122 of file FastTimerSD.h.
Referenced by update().
|
private |
Definition at line 86 of file FastTimerSD.h.
Referenced by ResetForNewPrimary().
|
private |
Definition at line 83 of file FastTimerSD.h.
Referenced by FastTimerSD(), setDetUnitId(), and ~FastTimerSD().
|
protected |
Definition at line 129 of file FastTimerSD.h.
Referenced by GetStepInfo(), and update().
|
private |
Definition at line 93 of file FastTimerSD.h.
Referenced by Initialize().
|
private |
Definition at line 109 of file FastTimerSD.h.
Referenced by CreateNewHit(), GetStepInfo(), and ResetForNewPrimary().
|
private |
Definition at line 110 of file FastTimerSD.h.
Referenced by GetStepInfo(), and ResetForNewPrimary().
|
private |
Definition at line 111 of file FastTimerSD.h.
Referenced by CreateNewHit(), GetStepInfo(), and setDetUnitId().
|
private |
Definition at line 112 of file FastTimerSD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 89 of file FastTimerSD.h.
Referenced by CreateNewHit(), and ResetForNewPrimary().
|
private |
Definition at line 92 of file FastTimerSD.h.
Referenced by dirstructure.Directory::__create_pie_image(), dqm_interfaces.DirID::__eq__(), dirstructure.Directory::__get_full_path(), dirstructure.Comparison::__get_img_name(), dataset.Dataset::__getDataType(), dataset.Dataset::__getFileInfoList(), cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), dirstructure.Comparison::__make_image(), dirstructure.Directory::__repr__(), dqm_interfaces.DirID::__repr__(), dirstructure.Comparison::__repr__(), config.CFG::__str__(), dirstructure.Directory::calcStats(), validation.Sample::digest(), utils.StatisticalTest::get_status(), Initialize(), VIDSelectorBase.VIDSelectorBase::initialize(), dirstructure.Directory::print_report(), and Vispa.Views.PropertyView.Property::valueChanged().
|
private |
Definition at line 114 of file FastTimerSD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 118 of file FastTimerSD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 115 of file FastTimerSD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 116 of file FastTimerSD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 106 of file FastTimerSD.h.
Referenced by GetStepInfo(), SetToLocalExit(), and UpdateHit().
|
private |
Definition at line 105 of file FastTimerSD.h.
Referenced by GetStepInfo(), ResetForNewPrimary(), and SetToLocal().
|
private |
Definition at line 101 of file FastTimerSD.h.
Referenced by HitExists(), and UpdateHit().
|
private |
Definition at line 102 of file FastTimerSD.h.
Referenced by CreateNewHit(), GetStepInfo(), HitExists(), and UpdateHit().
|
private |
Definition at line 90 of file FastTimerSD.h.
Referenced by HitExists(), Initialize(), StoreHit(), and UpdateHit().
|
private |
Definition at line 82 of file FastTimerSD.h.
Referenced by clearHits(), EndOfEvent(), FastTimerSD(), fillHits(), getNames(), and ~FastTimerSD().
|
private |
Definition at line 87 of file FastTimerSD.h.
Referenced by SetToLocal().
|
private |
Definition at line 87 of file FastTimerSD.h.
Referenced by SetToLocalExit().
|
private |
Definition at line 94 of file FastTimerSD.h.
Referenced by EndOfEvent(), HitExists(), Initialize(), PrintAll(), ProcessHits(), and StoreHit().
|
private |
Definition at line 95 of file FastTimerSD.h.
|
private |
Definition at line 116 of file FastTimerSD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 99 of file FastTimerSD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 114 of file FastTimerSD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 97 of file FastTimerSD.h.
Referenced by HitExists(), Initialize(), and UpdateHit().
|
private |
Definition at line 103 of file FastTimerSD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 102 of file FastTimerSD.h.
Referenced by CreateNewHit(), GetStepInfo(), HitExists(), and UpdateHit().
|
private |
Definition at line 84 of file FastTimerSD.h.
Referenced by cuy.ValElement::__init__(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputCommands(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputCommands(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties().
|
private |
Definition at line 101 of file FastTimerSD.h.
Referenced by CreateNewHit(), GetStepInfo(), HitExists(), and UpdateHit().
|
private |
Definition at line 119 of file FastTimerSD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 119 of file FastTimerSD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 119 of file FastTimerSD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 120 of file FastTimerSD.h.
Referenced by svgfig.Curve.Sample::__repr__(), CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 120 of file FastTimerSD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 120 of file FastTimerSD.h.
Referenced by CreateNewHit(), and GetStepInfo().