#include <SimG4CMS/Forward/interface/TotemSD.h>
Public Member Functions | |
virtual void | clear () |
virtual void | DrawAll () |
virtual void | EndOfEvent (G4HCofThisEvent *eventHC) |
void | fillHits (edm::PSimHitContainer &, std::string use) |
virtual void | Initialize (G4HCofThisEvent *HCE) |
virtual void | PrintAll () |
virtual bool | ProcessHits (G4Step *, G4TouchableHistory *) |
virtual uint32_t | setDetUnitId (G4Step *) |
TotemSD (std::string, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *) | |
virtual | ~TotemSD () |
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 () |
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 EndOfEvent * > | |
Observer () | |
void | slotForUpdate (const EndOfEvent *iT) |
virtual | ~Observer () |
Private Member Functions | |
virtual void | clearHits () |
void | CreateNewHit () |
void | CreateNewHitEvo () |
void | GetStepInfo (G4Step *aStep) |
bool | HitExists () |
G4ThreeVector | PosizioEvo (const G4ThreeVector &, double, double, double, double, int &) |
void | ResetForNewPrimary () |
G4ThreeVector | SetToLocal (const G4ThreeVector &globalPoint) |
void | StoreHit (TotemG4Hit *) |
void | Summarize () |
void | update (const BeginOfEvent *) |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const ::EndOfEvent *) |
void | UpdateHit () |
Private Attributes | |
TotemG4Hit * | currentHit |
G4VPhysicalVolume * | currentPV |
float | edeposit |
float | Eloss |
G4ThreeVector | entrancePoint |
int | eventno |
G4int | hcID |
G4ThreeVector | hitPoint |
float | incidentEnergy |
std::string | name |
TotemVDetectorOrganization * | numberingScheme |
float | Pabs |
int | ParentId |
short | ParticleType |
float | PhiAtEntry |
G4ThreeVector | Posizio |
G4StepPoint * | postStepPoint |
G4StepPoint * | preStepPoint |
uint32_t | previousUnitID |
int | primaryID |
G4int | primID |
TrackingSlaveSD * | slave |
TotemG4HitCollection * | theHC |
const SimTrackManager * | theManager |
float | ThetaAtEntry |
G4Track * | theTrack |
float | Tof |
int | tsID |
double | tSlice |
int | tSliceID |
uint32_t | unitID |
float | Vx |
float | Vy |
float | Vz |
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... | |
Description: Stores hits of Totem in appropriate container
Usage: Used in sensitive detector builder
TotemSD::TotemSD | ( | std::string | name, |
const DDCompactView & | cpv, | ||
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 48 of file TotemSD.cc.
References SensitiveDetector::AssignSD(), ecaldqm::collectionName, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), LogDebug, SensitiveDetectorCatalog::logicalNames(), numberingScheme, SensitiveDetector::Register(), and slave.
|
virtual |
|
virtual |
Definition at line 168 of file TotemSD.cc.
|
privatevirtual |
Implements SensitiveDetector.
Definition at line 193 of file TotemSD.cc.
References TrackingSlaveSD::Initialize(), and slave.
Referenced by update().
|
private |
Definition at line 288 of file TotemSD.cc.
References gather_cfg::cout, currentHit, currentPV, Eloss, incidentEnergy, LogDebug, NULL, Pabs, ParentId, ParticleType, PhiAtEntry, Posizio, primaryID, TotemG4Hit::setEnergyLoss(), TotemG4Hit::setEntry(), TotemG4Hit::setIncidentEnergy(), TotemG4Hit::setPabs(), TotemG4Hit::setParentId(), TotemG4Hit::setParticleType(), TotemG4Hit::setPhiAtEntry(), TotemG4Hit::setThetaAtEntry(), TotemG4Hit::setTimeSlice(), TotemG4Hit::setTof(), TotemG4Hit::setTrackID(), TotemG4Hit::setUnitID(), TotemG4Hit::setVx(), TotemG4Hit::setVy(), TotemG4Hit::setVz(), StoreHit(), ThetaAtEntry, theTrack, Tof, tSlice, tSliceID, unitID, UpdateHit(), Vx, Vy, and Vz.
Referenced by ProcessHits().
|
private |
Definition at line 341 of file TotemSD.cc.
References currentHit, Eloss, incidentEnergy, Pabs, ParentId, ParticleType, PhiAtEntry, Posizio, PosizioEvo(), primaryID, TotemG4Hit::setEnergyLoss(), TotemG4Hit::setEntry(), TotemG4Hit::setIncidentEnergy(), TotemG4Hit::setPabs(), TotemG4Hit::setParentId(), TotemG4Hit::setParticleType(), TotemG4Hit::setPhiAtEntry(), TotemG4Hit::setThetaAtEntry(), TotemG4Hit::setTimeSlice(), TotemG4Hit::setTof(), TotemG4Hit::setTrackID(), TotemG4Hit::setUnitID(), TotemG4Hit::setVx(), TotemG4Hit::setVy(), TotemG4Hit::setVz(), StoreHit(), ThetaAtEntry, Tof, tSlice, unitID, UpdateHit(), Vx, Vy, and Vz.
Referenced by ProcessHits().
|
virtual |
Definition at line 171 of file TotemSD.cc.
|
virtual |
Reimplemented from SensitiveDetector.
Definition at line 141 of file TotemSD.cc.
References TotemG4Hit::getEnergyLoss(), TotemG4Hit::getEntry(), TotemG4Hit::getPabs(), TotemG4Hit::getParticleType(), TotemG4Hit::getPhiAtEntry(), TotemG4Hit::getThetaAtEntry(), TotemG4Hit::getTof(), TotemG4Hit::getTrackID(), TotemG4Hit::getUnitID(), j, LogDebug, TrackingSlaveSD::processHits(), slave, Summarize(), and theHC.
|
virtual |
Implements SensitiveTkDetector.
Definition at line 179 of file TotemSD.cc.
References TrackingSlaveSD::hits(), gen::n, TrackingSlaveSD::name(), and slave.
|
private |
Definition at line 205 of file TotemSD.cc.
References currentPV, edeposit, Eloss, GeV, hitPoint, LogDebug, name, Pabs, ParentId, ParticleType, HLT_25ns14e33_v1_cff::particleType, PhiAtEntry, Posizio, postStepPoint, preStepPoint, primaryID, setDetUnitId(), ThetaAtEntry, theTrack, Tof, tSlice, tSliceID, unitID, Vx, Vy, and Vz.
Referenced by ProcessHits().
|
private |
Definition at line 246 of file TotemSD.cc.
References currentHit, newFWLiteAna::found, TotemG4Hit::getTimeSliceID(), TotemG4Hit::getTrackID(), TotemG4Hit::getUnitID(), j, previousUnitID, primaryID, primID, ResetForNewPrimary(), theHC, tsID, tSliceID, unitID, and UpdateHit().
Referenced by ProcessHits().
|
virtual |
Reimplemented from SensitiveDetector.
Definition at line 128 of file TotemSD.cc.
References ecaldqm::collectionName, hcID, LogDebug, name, primID, theHC, and tsID.
|
private |
Definition at line 380 of file TotemSD.cc.
References j, and mathSSE::sqrt().
Referenced by CreateNewHitEvo().
|
virtual |
|
virtual |
Implements SensitiveDetector.
Definition at line 104 of file TotemSD.cc.
References CreateNewHit(), CreateNewHitEvo(), edeposit, GetStepInfo(), HitExists(), NULL, ParentId, ParticleType, and unitID.
|
private |
Definition at line 519 of file TotemSD.cc.
References entrancePoint, hitPoint, incidentEnergy, preStepPoint, and SetToLocal().
Referenced by HitExists().
|
virtual |
Implements SensitiveDetector.
Definition at line 123 of file TotemSD.cc.
References TotemVDetectorOrganization::GetUnitID(), and numberingScheme.
Referenced by GetStepInfo().
|
private |
Definition at line 197 of file TotemSD.cc.
References preStepPoint.
Referenced by ResetForNewPrimary().
|
private |
Definition at line 508 of file TotemSD.cc.
Referenced by CreateNewHit(), and CreateNewHitEvo().
|
private |
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 183 of file TotemSD.cc.
References clearHits(), eventno, and LogDebug.
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 190 of file TotemSD.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 476 of file TotemSD.cc.
References currentHit, Eloss, LogDebug, postStepPoint, previousUnitID, primaryID, primID, TotemG4Hit::setEnergyLoss(), tsID, tSliceID, and unitID.
Referenced by CreateNewHit(), CreateNewHitEvo(), and HitExists().
|
private |
Definition at line 102 of file TotemSD.h.
Referenced by CreateNewHit(), CreateNewHitEvo(), HitExists(), and UpdateHit().
|
private |
Definition at line 104 of file TotemSD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 111 of file TotemSD.h.
Referenced by GetStepInfo(), and ProcessHits().
|
private |
Definition at line 117 of file TotemSD.h.
Referenced by CreateNewHit(), CreateNewHitEvo(), GetStepInfo(), and UpdateHit().
|
private |
Definition at line 92 of file TotemSD.h.
Referenced by ResetForNewPrimary().
|
private |
Definition at line 97 of file TotemSD.h.
Referenced by Initialize().
|
private |
Definition at line 112 of file TotemSD.h.
Referenced by GetStepInfo(), and ResetForNewPrimary().
|
private |
Definition at line 93 of file TotemSD.h.
Referenced by CreateNewHit(), CreateNewHitEvo(), and ResetForNewPrimary().
|
private |
Definition at line 96 of file TotemSD.h.
Referenced by dirstructure.Directory::__create_pie_image(), dqm_interfaces.DirID::__eq__(), dirstructure.Directory::__get_full_path(), dirstructure.Comparison::__get_img_name(), 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(), GetStepInfo(), Initialize(), VIDSelectorBase.VIDSelectorBase::initialize(), dirstructure.Directory::print_report(), and Vispa.Views.PropertyView.Property::valueChanged().
|
private |
Definition at line 85 of file TotemSD.h.
Referenced by setDetUnitId(), TotemSD(), and ~TotemSD().
|
private |
Definition at line 115 of file TotemSD.h.
Referenced by CreateNewHit(), CreateNewHitEvo(), and GetStepInfo().
|
private |
Definition at line 123 of file TotemSD.h.
Referenced by CreateNewHit(), CreateNewHitEvo(), GetStepInfo(), and ProcessHits().
|
private |
Definition at line 118 of file TotemSD.h.
Referenced by CreateNewHit(), CreateNewHitEvo(), GetStepInfo(), and ProcessHits().
|
private |
Definition at line 121 of file TotemSD.h.
Referenced by CreateNewHit(), CreateNewHitEvo(), and GetStepInfo().
|
private |
Definition at line 114 of file TotemSD.h.
Referenced by CreateNewHit(), CreateNewHitEvo(), and GetStepInfo().
|
private |
Definition at line 110 of file TotemSD.h.
Referenced by GetStepInfo(), and UpdateHit().
|
private |
Definition at line 109 of file TotemSD.h.
Referenced by GetStepInfo(), ResetForNewPrimary(), and SetToLocal().
|
private |
Definition at line 105 of file TotemSD.h.
Referenced by HitExists(), and UpdateHit().
|
private |
Definition at line 106 of file TotemSD.h.
Referenced by CreateNewHit(), CreateNewHitEvo(), GetStepInfo(), HitExists(), and UpdateHit().
|
private |
Definition at line 94 of file TotemSD.h.
Referenced by HitExists(), Initialize(), StoreHit(), and UpdateHit().
|
private |
Definition at line 84 of file TotemSD.h.
Referenced by clearHits(), EndOfEvent(), fillHits(), TotemSD(), and ~TotemSD().
|
private |
Definition at line 98 of file TotemSD.h.
Referenced by EndOfEvent(), HitExists(), Initialize(), PrintAll(), and StoreHit().
|
private |
|
private |
Definition at line 120 of file TotemSD.h.
Referenced by CreateNewHit(), CreateNewHitEvo(), and GetStepInfo().
|
private |
Definition at line 103 of file TotemSD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 116 of file TotemSD.h.
Referenced by CreateNewHit(), CreateNewHitEvo(), and GetStepInfo().
|
private |
Definition at line 101 of file TotemSD.h.
Referenced by HitExists(), Initialize(), and UpdateHit().
|
private |
Definition at line 107 of file TotemSD.h.
Referenced by CreateNewHit(), CreateNewHitEvo(), and GetStepInfo().
|
private |
Definition at line 106 of file TotemSD.h.
Referenced by CreateNewHit(), GetStepInfo(), HitExists(), and UpdateHit().
|
private |
Definition at line 105 of file TotemSD.h.
Referenced by CreateNewHit(), CreateNewHitEvo(), GetStepInfo(), HitExists(), ProcessHits(), and UpdateHit().
|
private |
Definition at line 124 of file TotemSD.h.
Referenced by CreateNewHit(), CreateNewHitEvo(), and GetStepInfo().
|
private |
Definition at line 124 of file TotemSD.h.
Referenced by CreateNewHit(), CreateNewHitEvo(), and GetStepInfo().
|
private |
Definition at line 124 of file TotemSD.h.
Referenced by CreateNewHit(), CreateNewHitEvo(), and GetStepInfo().