#include <FP420SD.h>
Public Member Functions | |
void | clear () override |
void | clearHits () override |
void | DrawAll () override |
void | EndOfEvent (G4HCofThisEvent *eventHC) override |
void | fillHits (edm::PSimHitContainer &, const std::string &) override |
FP420SD (const std::string &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *) | |
virtual double | getEnergyDeposit (G4Step *step) |
void | Initialize (G4HCofThisEvent *HCE) override |
void | PrintAll () override |
bool | ProcessHits (G4Step *, G4TouchableHistory *) override |
uint32_t | setDetUnitId (const G4Step *) override |
~FP420SD () override | |
Public Member Functions inherited from SensitiveTkDetector | |
SensitiveTkDetector (const std::string &iname, const SensitiveDetectorCatalog &clg) | |
Public Member Functions inherited from SensitiveDetector | |
void | EndOfEvent (G4HCofThisEvent *eventHC) override |
const std::vector< std::string > & | getNames () const |
void | Initialize (G4HCofThisEvent *eventHC) override |
bool | isCaloSD () const |
SensitiveDetector (const std::string &iname, const SensitiveDetectorCatalog &, bool calo) | |
~SensitiveDetector () override | |
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 | |
void | CreateNewHit () |
void | GetStepInfo (G4Step *aStep) |
G4bool | HitExists () |
void | ResetForNewPrimary () |
G4ThreeVector | SetToLocal (const G4ThreeVector &global) |
G4ThreeVector | SetToLocalExit (const G4ThreeVector &globalPoint) |
void | StoreHit (FP420G4Hit *) |
void | Summarize () |
void | update (const ::EndOfEvent *) override |
void | update (const BeginOfEvent *) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfRun *) override |
This routine will be called when the appropriate signal arrives. More... | |
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 |
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 | |
Protected Types inherited from SensitiveDetector | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
Protected Member Functions inherited from SensitiveDetector | |
TrackInformation * | cmsTrackInformation (const G4Track *aTrack) |
Local3DPoint | ConvertToLocal3DPoint (const G4ThreeVector &point) const |
Local3DPoint | FinalStepPosition (const G4Step *step, coordinates) const |
Local3DPoint | InitialStepPosition (const G4Step *step, coordinates) const |
Local3DPoint | LocalPostStepPosition (const G4Step *step) const |
Local3DPoint | LocalPreStepPosition (const G4Step *step) const |
void | NaNTrap (const G4Step *step) const |
void | setNames (const std::vector< std::string > &) |
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 | ( | const std::string & | name, |
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 46 of file FP420SD.cc.
References edm::ParameterSet::getUntrackedParameter(), Skims_PA_cff::name, numberingScheme, AlCaHLTBitMon_ParallelJobs::p, and slave.
|
override |
Definition at line 82 of file FP420SD.cc.
References numberingScheme, and slave.
|
override |
Definition at line 402 of file FP420SD.cc.
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 441 of file FP420SD.cc.
References TrackingSlaveSD::Initialize(), and slave.
Referenced by update().
|
private |
Definition at line 233 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().
|
override |
Definition at line 404 of file FP420SD.cc.
|
override |
Definition at line 326 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(), dqmiolumiharvest::j, LogDebug, nhits, TrackingSlaveSD::processHits(), slave, Summarize(), and theHC.
|
overridevirtual |
Implements SensitiveTkDetector.
Definition at line 419 of file FP420SD.cc.
References TrackingSlaveSD::hits(), TrackingSlaveSD::name(), and slave.
|
virtual |
Definition at line 87 of file FP420SD.cc.
Referenced by GetStepInfo().
|
private |
Definition at line 126 of file FP420SD.cc.
References currentPV, edeposit, edepositEM, edepositHAD, Eloss, emPDG, epPDG, gammaPDG, getEnergyDeposit(), GeV, hitPoint, hitPointExit, hitPointLocal, hitPointLocalExit, createfilelist::int, 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 175 of file FP420SD.cc.
References currentHit, newFWLiteAna::found, FP420G4Hit::getTimeSliceID(), FP420G4Hit::getTrackID(), FP420G4Hit::getUnitID(), dqmiolumiharvest::j, nhits, previousUnitID, primaryID, primID, ResetForNewPrimary(), theHC, tsID, tSliceID, unitID, and UpdateHit().
Referenced by ProcessHits().
|
override |
Definition at line 89 of file FP420SD.cc.
References bysipixelclustmulteventfilter_cfi::collectionName, hcID, LogDebug, Skims_PA_cff::name, primID, theHC, and tsID.
|
override |
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 106 of file FP420SD.cc.
References CreateNewHit(), edeposit, GetStepInfo(), HitExists(), LogDebug, and theHC.
|
private |
Definition at line 217 of file FP420SD.cc.
References entrancePoint, exitPoint, hitPoint, hitPointExit, incidentEnergy, preStepPoint, SetToLocal(), and SetToLocalExit().
Referenced by HitExists().
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 171 of file FP420SD.cc.
References FP420NumberingScheme::getUnitID(), and numberingScheme.
Referenced by GetStepInfo().
|
private |
Definition at line 314 of file FP420SD.cc.
References preStepPoint, and theEntryPoint.
Referenced by ResetForNewPrimary().
|
private |
Definition at line 320 of file FP420SD.cc.
References postStepPoint, and theExitPoint.
Referenced by ResetForNewPrimary().
|
private |
|
private |
|
overrideprivate |
Definition at line 439 of file FP420SD.cc.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 425 of file FP420SD.cc.
References clearHits(), eventno, and LogDebug.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun * >.
Definition at line 431 of file FP420SD.cc.
References emPDG, epPDG, gammaPDG, and HiggsValidation_cfi::particleName.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 293 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 97 of file FP420SD.h.
Referenced by CreateNewHit(), HitExists(), and UpdateHit().
|
private |
Definition at line 99 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 109 of file FP420SD.h.
Referenced by GetStepInfo(), and ProcessHits().
|
protected |
Definition at line 133 of file FP420SD.h.
Referenced by GetStepInfo(), and UpdateHit().
|
protected |
Definition at line 133 of file FP420SD.h.
Referenced by GetStepInfo(), and UpdateHit().
|
private |
Definition at line 117 of file FP420SD.h.
Referenced by CreateNewHit(), GetStepInfo(), and UpdateHit().
|
protected |
Definition at line 134 of file FP420SD.h.
Referenced by GetStepInfo(), and update().
|
private |
Definition at line 86 of file FP420SD.h.
Referenced by ResetForNewPrimary().
|
protected |
Definition at line 135 of file FP420SD.h.
Referenced by GetStepInfo(), and update().
|
private |
Definition at line 86 of file FP420SD.h.
Referenced by ResetForNewPrimary().
|
protected |
Definition at line 136 of file FP420SD.h.
Referenced by GetStepInfo(), and update().
|
private |
Definition at line 92 of file FP420SD.h.
Referenced by Initialize().
|
private |
Definition at line 111 of file FP420SD.h.
Referenced by CreateNewHit(), GetStepInfo(), and ResetForNewPrimary().
|
private |
Definition at line 112 of file FP420SD.h.
Referenced by GetStepInfo(), and ResetForNewPrimary().
|
private |
Definition at line 113 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 114 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 90 of file FP420SD.h.
Referenced by CreateNewHit(), and ResetForNewPrimary().
|
private |
Definition at line 84 of file FP420SD.h.
Referenced by FP420SD(), setDetUnitId(), and ~FP420SD().
|
private |
Definition at line 115 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 123 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 118 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 121 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 108 of file FP420SD.h.
Referenced by GetStepInfo(), SetToLocalExit(), and UpdateHit().
|
private |
Definition at line 107 of file FP420SD.h.
Referenced by GetStepInfo(), ResetForNewPrimary(), and SetToLocal().
|
private |
Definition at line 101 of file FP420SD.h.
Referenced by CreateNewHit(), HitExists(), and UpdateHit().
|
private |
Definition at line 103 of file FP420SD.h.
Referenced by CreateNewHit(), GetStepInfo(), HitExists(), and UpdateHit().
|
private |
Definition at line 103 of file FP420SD.h.
Referenced by CreateNewHit(), HitExists(), Initialize(), and UpdateHit().
|
private |
Definition at line 83 of file FP420SD.h.
Referenced by clearHits(), EndOfEvent(), fillHits(), FP420SD(), and ~FP420SD().
|
private |
Definition at line 87 of file FP420SD.h.
Referenced by SetToLocal().
|
private |
Definition at line 88 of file FP420SD.h.
Referenced by SetToLocalExit().
|
private |
Definition at line 93 of file FP420SD.h.
Referenced by EndOfEvent(), HitExists(), Initialize(), PrintAll(), ProcessHits(), and StoreHit().
|
private |
|
private |
Definition at line 120 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 98 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 116 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 96 of file FP420SD.h.
Referenced by CreateNewHit(), HitExists(), Initialize(), and UpdateHit().
|
private |
Definition at line 105 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 102 of file FP420SD.h.
Referenced by CreateNewHit(), GetStepInfo(), HitExists(), and UpdateHit().
|
private |
Definition at line 101 of file FP420SD.h.
Referenced by CreateNewHit(), GetStepInfo(), HitExists(), and UpdateHit().
|
private |
Definition at line 124 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 124 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 124 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 125 of file FP420SD.h.
Referenced by svgfig.Curve.Sample::__repr__(), CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 125 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().
|
private |
Definition at line 125 of file FP420SD.h.
Referenced by CreateNewHit(), and GetStepInfo().