#include <PPSDiamondSD.h>
Public Member Functions | |
void | clear () override |
void | clearTrack (G4Track *Track) |
void | DrawAll () override |
void | EndOfEvent (G4HCofThisEvent *eventHC) override |
void | fillHits (edm::PSimHitContainer &, const std::string &) override |
void | Initialize (G4HCofThisEvent *HCE) override |
PPSDiamondSD (const std::string &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *) | |
void | PrintAll () override |
void | printHitInfo () |
~PPSDiamondSD () 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 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 | |
void | clearHits () override |
G4bool | hitExists () |
void | importInfoToHit () |
bool | isPrimary (const G4Track *track) |
bool | ProcessHits (G4Step *step, G4TouchableHistory *tHistory) override |
void | resetForNewPrimary () |
uint32_t | setDetUnitId (const G4Step *step) override |
void | setNumberingScheme (PPSVDetectorOrganization *scheme) |
G4ThreeVector | setToLocal (const G4ThreeVector &globalPoint) |
void | stepInfo (const G4Step *aStep) |
void | storeHit (PPSDiamondG4Hit *) |
void | summarize () |
void | update (const BeginOfEvent *) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const ::EndOfEvent *) override |
void | updateHit () |
Private Attributes | |
PPSDiamondG4Hit * | currentHit_ |
G4VPhysicalVolume * | currentPV_ |
double | Eloss_ |
G4ThreeVector | entrancePoint_ |
int | eventno_ |
G4ThreeVector | exitPoint_ |
double | Globaltimehit_ |
G4int | hcID_ |
G4ThreeVector | hitPoint_ |
double | incidentEnergy_ |
G4String | name_ |
std::unique_ptr < PPSVDetectorOrganization > | numberingScheme_ |
double | Pabs_ |
int | ParentId_ |
short | ParticleType_ |
double | PhiAtEntry_ |
G4StepPoint * | postStepPoint_ |
G4StepPoint * | preStepPoint_ |
G4int | primaryID_ |
std::unique_ptr< TrackingSlaveSD > | slave_ |
double | theglobaltimehit_ |
PPSDiamondG4HitCollection * | theHC_ |
G4ThreeVector | theLocalEntryPoint_ |
G4ThreeVector | theLocalExitPoint_ |
int | theMPDebug_ |
double | thePx_ |
double | thePy_ |
double | thePz_ |
double | ThetaAtEntry_ |
G4Track * | theTrack_ |
double | Tof_ |
G4double | tSlice_ |
G4int | tSliceID_ |
unsigned int | unitID_ |
int | verbosity_ |
double | Vx_ |
double | Vy_ |
double | Vz_ |
Static Private Attributes | |
static constexpr unsigned int | maxDiamondHits_ = 15000 |
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... | |
Definition at line 31 of file PPSDiamondSD.h.
PPSDiamondSD::PPSDiamondSD | ( | const std::string & | name_, |
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 28 of file PPSDiamondSD.cc.
References ecaldqm::collectionName, edm::ParameterSet::getParameter(), LogDebug, name_, numberingScheme_, slave_, and verbosity_.
|
override |
Definition at line 66 of file PPSDiamondSD.cc.
|
override |
Definition at line 262 of file PPSDiamondSD.cc.
|
overrideprivatevirtual |
Implements SensitiveDetector.
Definition at line 292 of file PPSDiamondSD.cc.
References slave_.
Referenced by update().
void PPSDiamondSD::clearTrack | ( | G4Track * | Track | ) |
Definition at line 290 of file PPSDiamondSD.cc.
|
override |
Definition at line 264 of file PPSDiamondSD.cc.
|
override |
Definition at line 239 of file PPSDiamondSD.cc.
References PPSDiamondG4Hit::energyLoss(), mps_splice::entry, beamvalidation::exit(), dqmiolumiharvest::j, PPSDiamondG4Hit::localEntry(), PPSDiamondG4Hit::localExit(), maxDiamondHits_, PPSDiamondG4Hit::p(), PPSDiamondG4Hit::particleType(), PPSDiamondG4Hit::phiAtEntry(), slave_, summarize(), theHC_, PPSDiamondG4Hit::thetaAtEntry(), PPSDiamondG4Hit::tof(), PPSDiamondG4Hit::trackID(), and PPSDiamondG4Hit::unitID().
|
overridevirtual |
Implements SensitiveTkDetector.
Definition at line 271 of file PPSDiamondSD.cc.
References dqmiodumpmetadata::n, and slave_.
|
private |
|
private |
Definition at line 202 of file PPSDiamondSD.cc.
References currentHit_, Eloss_, exitPoint_, Globaltimehit_, hitPoint_, incidentEnergy_, LogDebug, Pabs_, ParentId_, ParticleType_, PhiAtEntry_, primaryID_, PPSDiamondG4Hit::setEnergyLoss(), PPSDiamondG4Hit::setEntry(), PPSDiamondG4Hit::setExit(), PPSDiamondG4Hit::setGlobalTimehit(), PPSDiamondG4Hit::setIncidentEnergy(), PPSDiamondG4Hit::setLocalEntry(), PPSDiamondG4Hit::setLocalExit(), PPSDiamondG4Hit::setP(), PPSDiamondG4Hit::setParentId(), PPSDiamondG4Hit::setParticleType(), PPSDiamondG4Hit::setPhiAtEntry(), PPSDiamondG4Hit::setPx(), PPSDiamondG4Hit::setPy(), PPSDiamondG4Hit::setPz(), PPSDiamondG4Hit::setThetaAtEntry(), PPSDiamondG4Hit::setTimeSlice(), PPSDiamondG4Hit::setTof(), PPSDiamondG4Hit::setTrackID(), PPSDiamondG4Hit::setUnitID(), PPSDiamondG4Hit::setVx(), PPSDiamondG4Hit::setVy(), PPSDiamondG4Hit::setVz(), storeHit(), theLocalEntryPoint_, theLocalExitPoint_, thePx_, thePy_, thePz_, ThetaAtEntry_, Tof_, tSlice_, unitID_, Vx_, Vy_, and Vz_.
Referenced by ProcessHits().
|
override |
Definition at line 68 of file PPSDiamondSD.cc.
References ecaldqm::collectionName, hcID_, LogDebug, name_, and theHC_.
|
private |
Definition at line 294 of file PPSDiamondSD.cc.
References info(), and TrackInformation::isPrimary().
Referenced by stepInfo().
|
override |
void PPSDiamondSD::printHitInfo | ( | ) |
Definition at line 78 of file PPSDiamondSD.cc.
References currentPV_, Eloss_, LogDebug, postStepPoint_, preStepPoint_, primaryID_, gpuVertexFinder::printf(), theTrack_, tSliceID_, and unitID_.
|
overrideprivatevirtual |
Implements SensitiveDetector.
Definition at line 116 of file PPSDiamondSD.cc.
References importInfoToHit(), LogDebug, name_, stepInfo(), and theTrack_.
|
private |
|
overrideprivatevirtual |
Implements SensitiveDetector.
Definition at line 187 of file PPSDiamondSD.cc.
References numberingScheme_.
Referenced by stepInfo().
|
private |
Definition at line 275 of file PPSDiamondSD.cc.
References LogDebug, and numberingScheme_.
|
private |
|
private |
Definition at line 139 of file PPSDiamondSD.cc.
References SensitiveDetector::ConvertToLocal3DPoint(), currentPV_, Eloss_, exitPoint_, GeV, hitPoint_, incidentEnergy_, isPrimary(), LogDebug, Pabs_, ParentId_, ParticleType_, PV3DBase< T, PVType, FrameType >::phi(), PhiAtEntry_, postStepPoint_, preStepPoint_, primaryID_, setDetUnitId(), setToLocal(), theglobaltimehit_, theLocalEntryPoint_, theLocalExitPoint_, thePx_, thePy_, thePz_, PV3DBase< T, PVType, FrameType >::theta(), ThetaAtEntry_, theTrack_, Tof_, tSlice_, tSliceID_, unitID_, verbosity_, Vx_, Vy_, and Vz_.
Referenced by ProcessHits().
|
private |
Definition at line 191 of file PPSDiamondSD.cc.
References LogDebug, theHC_, and verbosity_.
Referenced by importInfoToHit().
|
private |
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 281 of file PPSDiamondSD.cc.
References clearHits(), eventno_, and LogDebug.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overrideprivate |
Definition at line 288 of file PPSDiamondSD.cc.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
|
private |
Definition at line 78 of file PPSDiamondSD.h.
Referenced by importInfoToHit().
|
private |
Definition at line 80 of file PPSDiamondSD.h.
Referenced by printHitInfo(), and stepInfo().
|
private |
Definition at line 94 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), printHitInfo(), and stepInfo().
|
private |
Definition at line 73 of file PPSDiamondSD.h.
|
private |
Definition at line 102 of file PPSDiamondSD.h.
Referenced by update().
|
private |
Definition at line 88 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 100 of file PPSDiamondSD.h.
Referenced by importInfoToHit().
|
private |
Definition at line 76 of file PPSDiamondSD.h.
Referenced by Initialize().
|
private |
Definition at line 87 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 74 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
staticprivate |
Definition at line 48 of file PPSDiamondSD.h.
Referenced by EndOfEvent().
|
private |
Definition at line 75 of file PPSDiamondSD.h.
Referenced by Initialize(), PPSDiamondSD(), and ProcessHits().
|
private |
Definition at line 58 of file PPSDiamondSD.h.
Referenced by PPSDiamondSD(), setDetUnitId(), and setNumberingScheme().
|
private |
Definition at line 91 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 98 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 95 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 97 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 86 of file PPSDiamondSD.h.
Referenced by printHitInfo(), and stepInfo().
|
private |
Definition at line 85 of file PPSDiamondSD.h.
Referenced by printHitInfo(), setToLocal(), and stepInfo().
|
private |
Definition at line 82 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), printHitInfo(), and stepInfo().
|
private |
Definition at line 57 of file PPSDiamondSD.h.
Referenced by clearHits(), EndOfEvent(), fillHits(), and PPSDiamondSD().
|
private |
Definition at line 101 of file PPSDiamondSD.h.
Referenced by stepInfo().
|
private |
Definition at line 77 of file PPSDiamondSD.h.
Referenced by EndOfEvent(), Initialize(), PrintAll(), and storeHit().
|
private |
Definition at line 89 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 90 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 61 of file PPSDiamondSD.h.
|
private |
Definition at line 92 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 92 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 92 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 96 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 79 of file PPSDiamondSD.h.
Referenced by printHitInfo(), ProcessHits(), and stepInfo().
|
private |
Definition at line 93 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 83 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 82 of file PPSDiamondSD.h.
Referenced by printHitInfo(), and stepInfo().
|
private |
Definition at line 81 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), printHitInfo(), and stepInfo().
|
private |
Definition at line 60 of file PPSDiamondSD.h.
Referenced by PPSDiamondSD(), stepInfo(), and storeHit().
|
private |
Definition at line 99 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 99 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 99 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().