#include <SimG4CMS/PPS/interface/PPSPixelSD.h>
Public Member Functions | |
void | clear () override |
void | DrawAll () override |
void | EndOfEvent (G4HCofThisEvent *eventHC) override |
void | fillHits (edm::PSimHitContainer &, const std::string &) override |
void | Initialize (G4HCofThisEvent *HCE) override |
PPSPixelSD (const std::string &, const edm::EventSetup &, 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 edm::EventSetup &es, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p) | |
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 edm::EventSetup &es, const SensitiveDetectorCatalog &, edm::ParameterSet const &p, 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 |
void | createNewHit () |
bool | hitExists () |
void | resetForNewPrimary () |
G4ThreeVector | setToLocal (const G4ThreeVector &globalPoint) |
void | stepInfo (const G4Step *aStep) |
void | storeHit (PPSPixelG4Hit *) |
void | summarize () |
void | update (const ::EndOfEvent *) override |
void | update (const BeginOfEvent *) override |
This routine will be called when the appropriate signal arrives. More... | |
void | updateHit () |
Private Attributes | |
PPSPixelG4Hit * | currentHit_ |
G4VPhysicalVolume * | currentPV_ |
float | edeposit_ |
float | Eloss_ |
G4ThreeVector | entrancePoint_ |
int | eventno_ |
G4int | hcID_ |
G4ThreeVector | hitPoint_ |
float | incidentEnergy_ |
std::string | name_ |
std::unique_ptr< PPSVDetectorOrganization > | numberingScheme_ |
float | Pabs_ |
int | ParentId_ |
short | ParticleType_ |
float | PhiAtEntry_ |
G4ThreeVector | position_ |
G4StepPoint * | postStepPoint_ |
G4StepPoint * | preStepPoint_ |
uint32_t | previousUnitID_ |
int | primaryID_ |
G4int | primID_ |
std::unique_ptr< TrackingSlaveSD > | slave_ |
G4ThreeVector | theEntryPoint_ |
G4ThreeVector | theExitPoint_ |
PPSPixelG4HitCollection * | 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_ |
Static Private Attributes | |
static constexpr unsigned int | maxPixelHits_ = 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... | |
Description: Stores hits of PPSPixel in appropriate container
Usage: Used in sensitive detector builder
Definition at line 43 of file PPSPixelSD.h.
PPSPixelSD::PPSPixelSD | ( | const std::string & | name_, |
const edm::EventSetup & | es, | ||
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(), name_, numberingScheme_, AlCaHLTBitMon_ParallelJobs::p, and slave_.
|
override |
Definition at line 72 of file PPSPixelSD.cc.
|
override |
Definition at line 130 of file PPSPixelSD.cc.
|
overrideprivatevirtual |
Implements SensitiveDetector.
Definition at line 153 of file PPSPixelSD.cc.
References slave_.
Referenced by update().
|
private |
Definition at line 247 of file PPSPixelSD.cc.
References currentHit_, currentPV_, Eloss_, incidentEnergy_, LogDebug, NULL, Pabs_, ParentId_, ParticleType_, PhiAtEntry_, position_, primaryID_, PPSPixelG4Hit::setEnergyLoss(), 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(), theEntryPoint_, theExitPoint_, ThetaAtEntry_, theTrack_, Tof_, tSlice_, tSliceID_, unitID_, updateHit(), Vx_, Vy_, and Vz_.
Referenced by ProcessHits().
|
override |
Definition at line 132 of file PPSPixelSD.cc.
|
override |
Definition at line 102 of file PPSPixelSD.cc.
References PPSPixelG4Hit::energyLoss(), PPSPixelG4Hit::entryPoint(), PPSPixelG4Hit::exitPoint(), createfilelist::int, dqmiolumiharvest::j, LogDebug, maxPixelHits_, PPSPixelG4Hit::p(), PPSPixelG4Hit::particleType(), PPSPixelG4Hit::phiAtEntry(), slave_, summarize(), theHC_, PPSPixelG4Hit::thetaAtEntry(), PPSPixelG4Hit::tof(), PPSPixelG4Hit::trackID(), PPSPixelG4Hit::unitID(), and PPSPixelG4Hit::z().
|
overridevirtual |
Implements SensitiveTkDetector.
Definition at line 139 of file PPSPixelSD.cc.
References HltBtagPostValidation_cff::c, dqmiodumpmetadata::n, and slave_.
|
private |
Definition at line 212 of file PPSPixelSD.cc.
References currentHit_, newFWLiteAna::found, dqmiolumiharvest::j, nhits, previousUnitID_, primaryID_, primID_, resetForNewPrimary(), theHC_, PPSPixelG4Hit::timeSliceID(), PPSPixelG4Hit::trackID(), tsID_, tSliceID_, PPSPixelG4Hit::unitID(), unitID_, and updateHit().
Referenced by ProcessHits().
|
override |
Definition at line 88 of file PPSPixelSD.cc.
References bysipixelclustmulteventfilter_cfi::collectionName, hcID_, LogDebug, name_, primID_, theHC_, and tsID_.
|
override |
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 74 of file PPSPixelSD.cc.
References createNewHit(), edeposit_, hitExists(), and stepInfo().
|
private |
Definition at line 319 of file PPSPixelSD.cc.
References entrancePoint_, hitPoint_, incidentEnergy_, preStepPoint_, and setToLocal().
Referenced by hitExists().
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 84 of file PPSPixelSD.cc.
References numberingScheme_.
Referenced by stepInfo().
|
private |
Definition at line 155 of file PPSPixelSD.cc.
References preStepPoint_.
Referenced by resetForNewPrimary().
|
private |
Definition at line 162 of file PPSPixelSD.cc.
References currentPV_, edeposit_, Eloss_, SensitiveDetector::FinalStepPosition(), GeV, hitPoint_, SensitiveDetector::InitialStepPosition(), createfilelist::int, SensitiveDetector::LocalCoordinates, LogDebug, name_, Pabs_, ParentId_, PbPb_ZMuSkimMuonDPG_cff::particleType, ParticleType_, PhiAtEntry_, position_, postStepPoint_, preStepPoint_, primaryID_, setDetUnitId(), theEntryPoint_, theExitPoint_, ThetaAtEntry_, theTrack_, Tof_, tSlice_, tSliceID_, unitID_, Vx_, Vy_, Vz_, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by ProcessHits().
|
private |
Definition at line 308 of file PPSPixelSD.cc.
References primID_, and theHC_.
Referenced by createNewHit().
|
private |
|
overrideprivate |
Definition at line 151 of file PPSPixelSD.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 145 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().
|
private |
Definition at line 294 of file PPSPixelSD.cc.
References currentHit_, Eloss_, LogDebug, postStepPoint_, previousUnitID_, primaryID_, primID_, PPSPixelG4Hit::setEnergyLoss(), tsID_, tSliceID_, and unitID_.
Referenced by createNewHit(), and hitExists().
|
private |
Definition at line 100 of file PPSPixelSD.h.
Referenced by createNewHit(), hitExists(), and updateHit().
|
private |
Definition at line 102 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 109 of file PPSPixelSD.h.
Referenced by ProcessHits(), and stepInfo().
|
private |
Definition at line 117 of file PPSPixelSD.h.
Referenced by createNewHit(), stepInfo(), and updateHit().
|
private |
Definition at line 90 of file PPSPixelSD.h.
Referenced by resetForNewPrimary().
|
private |
Definition at line 126 of file PPSPixelSD.h.
Referenced by update().
|
private |
Definition at line 95 of file PPSPixelSD.h.
Referenced by Initialize().
|
private |
Definition at line 110 of file PPSPixelSD.h.
Referenced by resetForNewPrimary(), and stepInfo().
|
private |
Definition at line 91 of file PPSPixelSD.h.
Referenced by createNewHit(), and resetForNewPrimary().
|
staticconstexprprivate |
Definition at line 71 of file PPSPixelSD.h.
Referenced by EndOfEvent().
|
private |
Definition at line 94 of file PPSPixelSD.h.
Referenced by Initialize(), PPSPixelSD(), and stepInfo().
|
private |
Definition at line 83 of file PPSPixelSD.h.
Referenced by PPSPixelSD(), and setDetUnitId().
|
private |
Definition at line 115 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 123 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 118 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 121 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 112 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 108 of file PPSPixelSD.h.
Referenced by stepInfo(), and updateHit().
|
private |
Definition at line 107 of file PPSPixelSD.h.
Referenced by resetForNewPrimary(), setToLocal(), and stepInfo().
|
private |
Definition at line 103 of file PPSPixelSD.h.
Referenced by hitExists(), and updateHit().
|
private |
Definition at line 104 of file PPSPixelSD.h.
Referenced by createNewHit(), hitExists(), stepInfo(), and updateHit().
|
private |
Definition at line 92 of file PPSPixelSD.h.
Referenced by hitExists(), Initialize(), storeHit(), and updateHit().
|
private |
Definition at line 82 of file PPSPixelSD.h.
Referenced by clearHits(), EndOfEvent(), fillHits(), and PPSPixelSD().
|
private |
Definition at line 113 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 114 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 96 of file PPSPixelSD.h.
Referenced by EndOfEvent(), hitExists(), Initialize(), PrintAll(), and storeHit().
|
private |
Definition at line 97 of file PPSPixelSD.h.
|
private |
Definition at line 120 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 116 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 99 of file PPSPixelSD.h.
Referenced by hitExists(), Initialize(), and updateHit().
|
private |
Definition at line 105 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 104 of file PPSPixelSD.h.
Referenced by createNewHit(), hitExists(), stepInfo(), and updateHit().
|
private |
Definition at line 103 of file PPSPixelSD.h.
Referenced by createNewHit(), hitExists(), stepInfo(), and updateHit().
|
private |
Definition at line 124 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 124 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 124 of file PPSPixelSD.h.
Referenced by createNewHit(), and stepInfo().