#include <SimG4CMS/PPS/interface/PPSPixelSD.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 |
PPSPixelSD (const std::string &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, SimTrackManager const *) | |
void | PrintAll () override |
bool | ProcessHits (G4Step *, G4TouchableHistory *) override |
uint32_t | setDetUnitId (const G4Step *) override |
~PPSPixelSD () 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, const std::string &newcollname="") | |
~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 | createNewHit () |
bool | hitExists () |
G4ThreeVector | setToLocal (const G4ThreeVector &globalPoint) |
void | stepInfo (const G4Step *aStep) |
void | storeHit (PPSPixelG4Hit *) |
void | updateHit () |
Private Attributes | |
PPSPixelG4Hit * | currentHit_ = nullptr |
G4VPhysicalVolume * | currentPV_ = nullptr |
double | eloss_ = 0.0 |
int | eventno_ = 0 |
G4ThreeVector | exitPoint_ |
G4int | hcID_ = -1 |
G4ThreeVector | hitPoint_ |
float | incidentEnergy_ = 0.f |
std::unique_ptr< PPSVDetectorOrganization > | numberingScheme_ |
float | pabs_ = 0.f |
int | parentID_ = 0 |
short | particleType_ = 0 |
float | phiAtEntry_ = 0.f |
G4StepPoint * | postStepPoint_ = nullptr |
G4StepPoint * | preStepPoint_ = nullptr |
uint32_t | previousUnitID_ = 0 |
int | primaryID_ = 0 |
std::unique_ptr< TrackingSlaveSD > | slave_ |
PPSPixelG4HitCollection * | theHC_ = nullptr |
G4ThreeVector | theLocalEntryPoint_ |
G4ThreeVector | theLocalExitPoint_ |
const SimTrackManager * | theManager_ |
float | thetaAtEntry_ = 0.f |
G4Track * | theTrack_ = nullptr |
float | tof_ = 0.f |
int | tsID_ = 0 |
double | tSlice_ = 0.0 |
int | tSliceID_ = 0 |
uint32_t | unitID_ = 0 |
float | vx_ = 0.f |
float | vy_ = 0.f |
float | vz_ = 0.f |
Additional Inherited Members | |
Protected Types inherited from SensitiveDetector | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
Description: Stores hits of PPSPixel in appropriate container
Usage: Used in sensitive detector builder
Definition at line 46 of file PPSPixelSD.h.
PPSPixelSD::PPSPixelSD | ( | const std::string & | pname, |
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
SimTrackManager const * | manager | ||
) |
Definition at line 37 of file PPSPixelSD.cc.
References bysipixelclustmulteventfilter_cfi::collectionName, edm::ParameterSet::getUntrackedParameter(), numberingScheme_, AlCaHLTBitMon_ParallelJobs::p, unpackData-CaloStage2::pname, and slave_.
|
override |
Definition at line 58 of file PPSPixelSD.cc.
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 137 of file PPSPixelSD.cc.
References slave_.
Referenced by update().
|
private |
Definition at line 203 of file PPSPixelSD.cc.
References currentHit_, currentPV_, exitPoint_, hitPoint_, incidentEnergy_, LogDebug, pabs_, parentID_, particleType_, phiAtEntry_, primaryID_, PPSPixelG4Hit::setEntryPoint(), PPSPixelG4Hit::setExitPoint(), PPSPixelG4Hit::setIncidentEnergy(), PPSPixelG4Hit::setMeanPosition(), PPSPixelG4Hit::setP(), PPSPixelG4Hit::setParentId(), PPSPixelG4Hit::setParticleType(), PPSPixelG4Hit::setPhiAtEntry(), PPSPixelG4Hit::setThetaAtEntry(), PPSPixelG4Hit::setTimeSlice(), PPSPixelG4Hit::setTof(), PPSPixelG4Hit::setTrackID(), PPSPixelG4Hit::setUnitID(), PPSPixelG4Hit::setVx(), PPSPixelG4Hit::setVy(), PPSPixelG4Hit::setVz(), storeHit(), theLocalEntryPoint_, theLocalExitPoint_, thetaAtEntry_, theTrack_, tof_, tSlice_, tSliceID_, unitID_, updateHit(), vx_, vy_, and vz_.
Referenced by ProcessHits().
|
override |
Definition at line 91 of file PPSPixelSD.cc.
References PPSPixelG4Hit::energyLoss(), PPSPixelG4Hit::entryPoint(), PPSPixelG4Hit::exitPoint(), createfilelist::int, dqmiolumiharvest::j, LogDebug, PPSPixelG4Hit::p(), PPSPixelG4Hit::particleType(), PPSPixelG4Hit::phiAtEntry(), slave_, theHC_, PPSPixelG4Hit::thetaAtEntry(), PPSPixelG4Hit::tof(), PPSPixelG4Hit::trackID(), PPSPixelG4Hit::unitID(), and PPSPixelG4Hit::z().
|
overridevirtual |
Implements SensitiveTkDetector.
Definition at line 123 of file PPSPixelSD.cc.
References DummyCfis::c, create_idmaps::n, and slave_.
|
private |
Definition at line 181 of file PPSPixelSD.cc.
References currentHit_, dqmiolumiharvest::j, TrackingDataMCValidation_Standalone_cff::nhits, previousUnitID_, theHC_, PPSPixelG4Hit::timeSliceID(), tsID_, tSliceID_, PPSPixelG4Hit::unitID(), unitID_, and updateHit().
Referenced by ProcessHits().
|
override |
Definition at line 77 of file PPSPixelSD.cc.
References bysipixelclustmulteventfilter_cfi::collectionName, hcID_, LogDebug, theHC_, and tsID_.
|
override |
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 60 of file PPSPixelSD.cc.
References createNewHit(), eloss_, hitExists(), LogDebug, stepInfo(), and theTrack_.
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 73 of file PPSPixelSD.cc.
References numberingScheme_.
Referenced by stepInfo().
|
private |
|
private |
Definition at line 146 of file PPSPixelSD.cc.
References currentPV_, exitPoint_, hitPoint_, incidentEnergy_, createfilelist::int, LogDebug, pabs_, parentID_, particleType_, phiAtEntry_, postStepPoint_, preStepPoint_, primaryID_, setDetUnitId(), setToLocal(), theLocalEntryPoint_, theLocalExitPoint_, thetaAtEntry_, theTrack_, tof_, tSlice_, tSliceID_, unitID_, vx_, vy_, and vz_.
Referenced by ProcessHits().
|
private |
Definition at line 260 of file PPSPixelSD.cc.
References theHC_.
Referenced by createNewHit().
|
overrideprotectedvirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent *>.
Definition at line 129 of file PPSPixelSD.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 135 of file PPSPixelSD.cc.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 249 of file PPSPixelSD.cc.
References currentHit_, eloss_, LogDebug, postStepPoint_, previousUnitID_, PPSPixelG4Hit::setEnergyLoss(), tsID_, tSliceID_, and unitID_.
Referenced by createNewHit(), and hitExists().
|
private |
Definition at line 82 of file PPSPixelSD.h.
Referenced by createNewHit(), hitExists(), and updateHit().
|
private |
Definition at line 84 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 95 of file PPSPixelSD.h.
Referenced by ProcessHits(), and updateHit().
|
private |
Definition at line 112 of file PPSPixelSD.h.
Referenced by update().
|
private |
Definition at line 90 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 85 of file PPSPixelSD.h.
Referenced by Initialize().
|
private |
Definition at line 89 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 96 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 78 of file PPSPixelSD.h.
Referenced by PPSPixelSD(), and setDetUnitId().
|
private |
Definition at line 97 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 110 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 113 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 101 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 88 of file PPSPixelSD.h.
Referenced by stepInfo(), and updateHit().
|
private |
Definition at line 87 of file PPSPixelSD.h.
Referenced by setToLocal(), and stepInfo().
|
private |
Definition at line 107 of file PPSPixelSD.h.
Referenced by hitExists(), and updateHit().
|
private |
Definition at line 109 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 77 of file PPSPixelSD.h.
Referenced by clearHits(), EndOfEvent(), fillHits(), and PPSPixelSD().
|
private |
Definition at line 80 of file PPSPixelSD.h.
Referenced by EndOfEvent(), hitExists(), Initialize(), PrintAll(), and storeHit().
|
private |
Definition at line 91 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 92 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 81 of file PPSPixelSD.h.
|
private |
Definition at line 100 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 83 of file PPSPixelSD.h.
Referenced by createNewHit(), ProcessHits(), and stepInfo().
|
private |
Definition at line 98 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 108 of file PPSPixelSD.h.
Referenced by hitExists(), Initialize(), and updateHit().
|
private |
Definition at line 94 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 111 of file PPSPixelSD.h.
Referenced by createNewHit(), hitExists(), stepInfo(), and updateHit().
|
private |
Definition at line 106 of file PPSPixelSD.h.
Referenced by createNewHit(), hitExists(), stepInfo(), and updateHit().
|
private |
Definition at line 102 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 103 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 104 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().