#include <PPSDiamondSD.h>
Public Member Functions | |
void | clearHits () 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 |
bool | ProcessHits (G4Step *step, G4TouchableHistory *tHistory) override |
uint32_t | setDetUnitId (const G4Step *) override |
~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 () |
Protected Member Functions | |
void | update (const BeginOfEvent *) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const ::EndOfEvent *) override |
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... | |
Private Member Functions | |
void | importInfoToHit () |
void | printHitInfo () |
G4ThreeVector | setToLocal (const G4ThreeVector &globalPoint) |
void | stepInfo (const G4Step *aStep) |
void | storeHit (PPSDiamondG4Hit *) |
Private Attributes | |
PPSDiamondG4Hit * | currentHit_ = nullptr |
G4VPhysicalVolume * | currentPV_ = nullptr |
double | eloss_ = 0.0 |
int | eventno_ = 0 |
G4ThreeVector | exitPoint_ |
double | Globaltimehit_ |
G4int | hcID_ = -1 |
G4ThreeVector | hitPoint_ |
double | incidentEnergy_ = 0.0 |
std::unique_ptr< PPSVDetectorOrganization > | numberingScheme_ |
double | pabs_ = 0.0 |
G4int | parentID_ = 0 |
short | particleType_ = 0 |
double | phiAtEntry_ = 0.0 |
G4StepPoint * | postStepPoint_ = nullptr |
G4StepPoint * | preStepPoint_ = nullptr |
G4int | primaryID_ = 0 |
std::unique_ptr< TrackingSlaveSD > | slave_ |
double | theglobaltimehit_ |
PPSDiamondG4HitCollection * | theHC_ = nullptr |
G4ThreeVector | theLocalEntryPoint_ |
G4ThreeVector | theLocalExitPoint_ |
double | thePx_ = 0.0 |
double | thePy_ = 0.0 |
double | thePz_ = 0.0 |
double | thetaAtEntry_ = 0.0 |
G4Track * | theTrack_ = nullptr |
double | tof_ = 0.0 |
G4double | tSlice_ = 0.0 |
G4int | tSliceID_ = 0 |
unsigned int | unitID_ = 0 |
int | verbosity_ |
double | vx_ = 0.0 |
double | vy_ = 0.0 |
double | vz_ = 0.0 |
Additional Inherited Members | |
Protected Types inherited from SensitiveDetector | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
Definition at line 29 of file PPSDiamondSD.h.
PPSDiamondSD::PPSDiamondSD | ( | const std::string & | pname, |
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 29 of file PPSDiamondSD.cc.
References bysipixelclustmulteventfilter_cfi::collectionName, edm::ParameterSet::getParameter(), LogDebug, numberingScheme_, AlCaHLTBitMon_ParallelJobs::p, unpackData-CaloStage2::pname, slave_, and verbosity_.
|
override |
Definition at line 57 of file PPSDiamondSD.cc.
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 244 of file PPSDiamondSD.cc.
References slave_.
Referenced by update().
|
override |
Definition at line 205 of file PPSDiamondSD.cc.
References PPSDiamondG4Hit::energyLoss(), mps_splice::entry, beamvalidation::exit(), createfilelist::int, dqmiolumiharvest::j, PPSDiamondG4Hit::localEntry(), PPSDiamondG4Hit::localExit(), PPSDiamondG4Hit::p(), PPSDiamondG4Hit::particleType(), PPSDiamondG4Hit::phiAtEntry(), slave_, theHC_, PPSDiamondG4Hit::thetaAtEntry(), PPSDiamondG4Hit::tof(), PPSDiamondG4Hit::trackID(), and PPSDiamondG4Hit::unitID().
|
overridevirtual |
Implements SensitiveTkDetector.
Definition at line 230 of file PPSDiamondSD.cc.
References HltBtagPostValidation_cff::c, dqmiodumpmetadata::n, and slave_.
|
private |
Definition at line 168 of file PPSDiamondSD.cc.
References currentHit_, eloss_, exitPoint_, 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 59 of file PPSDiamondSD.cc.
References bysipixelclustmulteventfilter_cfi::collectionName, hcID_, LogDebug, and theHC_.
|
override |
|
private |
Definition at line 69 of file PPSDiamondSD.cc.
References currentPV_, eloss_, exitPoint_, hitPoint_, LogDebug, parentID_, postStepPoint_, primaryID_, theTrack_, tSliceID_, and unitID_.
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 97 of file PPSDiamondSD.cc.
References eloss_, importInfoToHit(), LogDebug, stepInfo(), and theTrack_.
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 154 of file PPSDiamondSD.cc.
References numberingScheme_.
Referenced by stepInfo().
|
private |
|
private |
Definition at line 111 of file PPSDiamondSD.cc.
References SensitiveDetector::ConvertToLocal3DPoint(), currentPV_, exitPoint_, hitPoint_, incidentEnergy_, createfilelist::int, LogDebug, pabs_, parentID_, particleType_, PV3DBase< T, PVType, FrameType >::phi(), phiAtEntry_, postStepPoint_, preStepPoint_, primaryID_, setDetUnitId(), setToLocal(), 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 158 of file PPSDiamondSD.cc.
References LogDebug, theHC_, and verbosity_.
Referenced by importInfoToHit().
|
overrideprotectedvirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent *>.
Definition at line 235 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().
|
overrideprotected |
Definition at line 242 of file PPSDiamondSD.cc.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 63 of file PPSDiamondSD.h.
Referenced by importInfoToHit().
|
private |
Definition at line 65 of file PPSDiamondSD.h.
Referenced by printHitInfo(), and stepInfo().
|
private |
Definition at line 85 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), printHitInfo(), and ProcessHits().
|
private |
Definition at line 99 of file PPSDiamondSD.h.
Referenced by update().
|
private |
Definition at line 75 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), printHitInfo(), and stepInfo().
|
private |
Definition at line 94 of file PPSDiamondSD.h.
|
private |
Definition at line 66 of file PPSDiamondSD.h.
Referenced by Initialize().
|
private |
Definition at line 74 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), printHitInfo(), and stepInfo().
|
private |
Definition at line 79 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 60 of file PPSDiamondSD.h.
Referenced by PPSDiamondSD(), and setDetUnitId().
|
private |
Definition at line 80 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 68 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), printHitInfo(), and stepInfo().
|
private |
Definition at line 100 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 88 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 73 of file PPSDiamondSD.h.
Referenced by printHitInfo(), and stepInfo().
|
private |
Definition at line 72 of file PPSDiamondSD.h.
Referenced by setToLocal(), and stepInfo().
|
private |
Definition at line 67 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), printHitInfo(), and stepInfo().
|
private |
Definition at line 59 of file PPSDiamondSD.h.
Referenced by clearHits(), EndOfEvent(), fillHits(), and PPSDiamondSD().
|
private |
Definition at line 95 of file PPSDiamondSD.h.
|
private |
Definition at line 62 of file PPSDiamondSD.h.
Referenced by EndOfEvent(), Initialize(), PrintAll(), and storeHit().
|
private |
Definition at line 76 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 77 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 81 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 82 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 87 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 64 of file PPSDiamondSD.h.
Referenced by printHitInfo(), ProcessHits(), and stepInfo().
|
private |
Definition at line 84 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 70 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 69 of file PPSDiamondSD.h.
Referenced by printHitInfo(), and stepInfo().
|
private |
Definition at line 97 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), printHitInfo(), and stepInfo().
|
private |
Definition at line 98 of file PPSDiamondSD.h.
Referenced by PPSDiamondSD(), stepInfo(), and storeHit().
|
private |
Definition at line 90 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 91 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().
|
private |
Definition at line 92 of file PPSDiamondSD.h.
Referenced by importInfoToHit(), and stepInfo().