#include <FP420SD.h>
Public Member Functions | |
virtual void | clear () |
virtual void | DrawAll () |
virtual void | EndOfEvent (G4HCofThisEvent *eventHC) |
void | fillHits (edm::PSimHitContainer &, std::string use) |
FP420SD (std::string, const DDCompactView &, SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *) | |
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 | ~FP420SD () |
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) |
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 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 (G4ThreeVector global) |
G4ThreeVector | SetToLocalExit (G4ThreeVector globalPoint) |
void | StoreHit (FP420G4Hit *) |
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 | |
FP420G4Hit * | currentHit |
G4VPhysicalVolume * | currentPV |
float | edeposit |
float | Eloss |
G4ThreeVector | entrancePoint |
int | eventno |
G4ThreeVector | exitPoint |
G4int | hcID |
G4ThreeVector | hitPoint |
G4ThreeVector | hitPointExit |
G4ThreeVector | hitPointLocal |
G4ThreeVector | hitPointLocalExit |
float | incidentEnergy |
std::string | name |
FP420NumberingScheme * | numberingScheme |
float | Pabs |
int | ParentId |
short | ParticleType |
float | PhiAtEntry |
G4StepPoint * | postStepPoint |
G4StepPoint * | preStepPoint |
uint32_t | previousUnitID |
unsigned int | primaryID |
unsigned int | primID |
TrackingSlaveSD * | slave |
G4ThreeVector | theEntryPoint |
G4ThreeVector | theExitPoint |
FP420G4HitCollection * | theHC |
const SimTrackManager * | theManager |
float | ThetaAtEntry |
G4Track * | theTrack |
float | Tof |
G4int | tsID |
G4double | tSlice |
G4int | tSliceID |
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... | |
FP420SD::FP420SD | ( | std::string | name, |
const DDCompactView & | cpv, | ||
SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 55 of file FP420SD.cc.
References SensitiveDetector::AssignSD(), ecaldqm::collectionName, gather_cfg::cout, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), LogDebug, SensitiveDetectorCatalog::logicalNames(), numberingScheme, SensitiveDetector::Register(), and slave.
|
virtual |
|
virtual |
Definition at line 485 of file FP420SD.cc.
|
privatevirtual |
Implements SensitiveDetector.
Definition at line 534 of file FP420SD.cc.
References TrackingSlaveSD::Initialize(), and slave.
Referenced by update().
|
private |
Definition at line 297 of file FP420SD.cc.
References currentHit, currentPV, Eloss, hitPoint, hitPointLocal, hitPointLocalExit, incidentEnergy, LogDebug, NULL, Pabs, ParentId, ParticleType, PhiAtEntry, previousUnitID, primaryID, primID, FP420G4Hit::setEnergyLoss(), FP420G4Hit::setEntry(), FP420G4Hit::setEntryLocalP(), FP420G4Hit::setExitLocalP(), FP420G4Hit::setIncidentEnergy(), FP420G4Hit::setPabs(), FP420G4Hit::setParentId(), FP420G4Hit::setParticleType(), FP420G4Hit::setPhiAtEntry(), FP420G4Hit::setThetaAtEntry(), FP420G4Hit::setTimeSlice(), FP420G4Hit::setTof(), FP420G4Hit::setTrackID(), FP420G4Hit::setUnitID(), FP420G4Hit::setVx(), FP420G4Hit::setVy(), FP420G4Hit::setVz(), FP420G4Hit::setX(), FP420G4Hit::setY(), FP420G4Hit::setZ(), StoreHit(), ThetaAtEntry, theTrack, Tof, tsID, tSlice, tSliceID, unitID, Vx, Vy, Vz, X, Y, and Z.
Referenced by ProcessHits().
|
virtual |
Definition at line 489 of file FP420SD.cc.
|
virtual |
Reimplemented from SensitiveDetector.
Definition at line 403 of file FP420SD.cc.
References FP420G4Hit::getEnergyLoss(), FP420G4Hit::getEntry(), FP420G4Hit::getEntryLocalP(), FP420G4Hit::getExitLocalP(), FP420G4Hit::getPabs(), FP420G4Hit::getParticleType(), FP420G4Hit::getPhiAtEntry(), FP420G4Hit::getThetaAtEntry(), FP420G4Hit::getTof(), FP420G4Hit::getTrackID(), FP420G4Hit::getUnitID(), j, LogDebug, TrackingSlaveSD::processHits(), slave, Summarize(), and theHC.
|
virtual |
Implements SensitiveTkDetector.
Definition at line 507 of file FP420SD.cc.
References gather_cfg::cout, TrackingSlaveSD::hits(), n, TrackingSlaveSD::name(), name, and slave.
|
virtual |
Definition at line 134 of file FP420SD.cc.
Referenced by GetStepInfo().
|
virtual |
Reimplemented from SensitiveDetector.
Definition at line 539 of file FP420SD.cc.
References TrackingSlaveSD::name(), slave, and groupFilesInBlocks::temp.
|
private |
Definition at line 177 of file FP420SD.cc.
References currentPV, edeposit, edepositEM, edepositHAD, Eloss, emPDG, epPDG, gammaPDG, getEnergyDeposit(), 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 230 of file FP420SD.cc.
References currentHit, newFWLiteAna::found, FP420G4Hit::getTimeSliceID(), FP420G4Hit::getTrackID(), FP420G4Hit::getUnitID(), j, previousUnitID, primaryID, primID, ResetForNewPrimary(), theHC, tsID, tSliceID, unitID, and UpdateHit().
Referenced by ProcessHits().
|
virtual |
Reimplemented from SensitiveDetector.
Definition at line 138 of file FP420SD.cc.
References ecaldqm::collectionName, hcID, LogDebug, name, primID, theHC, and tsID.
|
virtual |
|
virtual |
Implements SensitiveDetector.
Definition at line 156 of file FP420SD.cc.
References CreateNewHit(), edeposit, GetStepInfo(), HitExists(), LogDebug, NULL, and theHC.
|
private |
Definition at line 276 of file FP420SD.cc.
References entrancePoint, exitPoint, hitPoint, hitPointExit, incidentEnergy, preStepPoint, SetToLocal(), and SetToLocalExit().
Referenced by HitExists().
|
virtual |
Implements SensitiveDetector.
Definition at line 224 of file FP420SD.cc.
References FP420NumberingScheme::getUnitID(), and numberingScheme.
Referenced by GetStepInfo().
|
private |
Definition at line 387 of file FP420SD.cc.
References preStepPoint, and theEntryPoint.
Referenced by ResetForNewPrimary().
|
private |
Definition at line 395 of file FP420SD.cc.
References postStepPoint, and theExitPoint.
Referenced by ResetForNewPrimary().
|
private |
Definition at line 285 of file FP420SD.cc.
References theHC.
Referenced by CreateNewHit().
|
private |
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun * >.
Definition at line 521 of file FP420SD.cc.
References emPDG, epPDG, and gammaPDG.
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 BeginOfEvent * >.
Definition at line 514 of file FP420SD.cc.
References clearHits(), eventno, and LogDebug.
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().
|
private |
Definition at line 531 of file FP420SD.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().
|
private |
Definition at line 363 of file FP420SD.cc.
References FP420G4Hit::addEnergyDeposit(), FP420G4Hit::addEnergyLoss(), currentHit, edepositEM, edepositHAD, Eloss, LogDebug, postStepPoint, previousUnitID, primaryID, primID, tsID, tSliceID, and unitID.
Referenced by HitExists().
|
private |
Definition at line 143 of file FP420SD.h.
Referenced by CreateNewHit(), HitExists(), and UpdateHit().
|
private |
Definition at line 145 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 155 of file FP420SD.h.
Referenced by GetStepInfo(), and ProcessHits().
|
protected |
Definition at line 182 of file FP420SD.h.
Referenced by GetStepInfo(), and UpdateHit().
|
protected |
Definition at line 182 of file FP420SD.h.
Referenced by GetStepInfo(), and UpdateHit().
|
private |
Definition at line 164 of file FP420SD.h.
Referenced by CreateNewHit(), GetStepInfo(), and UpdateHit().
|
protected |
Definition at line 183 of file FP420SD.h.
Referenced by GetStepInfo(), and update().
|
private |
Definition at line 125 of file FP420SD.h.
Referenced by ResetForNewPrimary().
|
protected |
Definition at line 184 of file FP420SD.h.
Referenced by GetStepInfo(), and update().
|
private |
Definition at line 125 of file FP420SD.h.
Referenced by ResetForNewPrimary().
|
protected |
Definition at line 185 of file FP420SD.h.
Referenced by GetStepInfo(), and update().
|
private |
Definition at line 138 of file FP420SD.h.
Referenced by Initialize().
|
private |
Definition at line 157 of file FP420SD.h.
Referenced by CreateNewHit(), GetStepInfo(), and ResetForNewPrimary().
|
private |
Definition at line 159 of file FP420SD.h.
Referenced by GetStepInfo(), and ResetForNewPrimary().
|
private |
Definition at line 160 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 161 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 134 of file FP420SD.h.
Referenced by CreateNewHit(), and ResetForNewPrimary().
|
private |
Definition at line 137 of file FP420SD.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(), dirstructure.Comparison::__make_image(), dirstructure.Directory::__repr__(), dqm_interfaces.DirID::__repr__(), dirstructure.Comparison::__repr__(), dirstructure.Directory::calcStats(), fillHits(), utils.StatisticalTest::get_status(), Initialize(), dirstructure.Directory::print_report(), and Vispa.Views.PropertyView.Property::valueChanged().
|
private |
Definition at line 123 of file FP420SD.h.
Referenced by FP420SD(), setDetUnitId(), and ~FP420SD().
|
private |
Definition at line 162 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 170 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 165 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 168 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 154 of file FP420SD.h.
Referenced by GetStepInfo(), SetToLocalExit(), and UpdateHit().
|
private |
Definition at line 153 of file FP420SD.h.
Referenced by GetStepInfo(), ResetForNewPrimary(), and SetToLocal().
|
private |
Definition at line 147 of file FP420SD.h.
Referenced by CreateNewHit(), HitExists(), and UpdateHit().
|
private |
Definition at line 149 of file FP420SD.h.
Referenced by CreateNewHit(), GetStepInfo(), HitExists(), and UpdateHit().
|
private |
Definition at line 149 of file FP420SD.h.
Referenced by CreateNewHit(), HitExists(), Initialize(), and UpdateHit().
|
private |
Definition at line 122 of file FP420SD.h.
Referenced by clearHits(), EndOfEvent(), fillHits(), FP420SD(), getNames(), and ~FP420SD().
|
private |
Definition at line 126 of file FP420SD.h.
Referenced by SetToLocal().
|
private |
Definition at line 127 of file FP420SD.h.
Referenced by SetToLocalExit().
|
private |
Definition at line 139 of file FP420SD.h.
Referenced by EndOfEvent(), HitExists(), Initialize(), PrintAll(), ProcessHits(), and StoreHit().
|
private |
|
private |
Definition at line 167 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 144 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 163 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 142 of file FP420SD.h.
Referenced by CreateNewHit(), HitExists(), Initialize(), and UpdateHit().
|
private |
Definition at line 151 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 148 of file FP420SD.h.
Referenced by CreateNewHit(), GetStepInfo(), HitExists(), and UpdateHit().
|
private |
Definition at line 147 of file FP420SD.h.
Referenced by CreateNewHit(), GetStepInfo(), HitExists(), and UpdateHit().
|
private |
Definition at line 171 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 171 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 171 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 172 of file FP420SD.h.
Referenced by svgfig.Curve.Sample::__repr__(), CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 172 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 172 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().