#include <TotemRPSD.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 |
void | PrintAll () override |
void | printHitInfo () |
TotemRPSD (const std::string &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *) | |
~TotemRPSD () 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 () |
Static Public Attributes | |
static constexpr double | rp_garage_position_ = 40.0 |
Private Member Functions | |
void | clearHits () override |
void | createNewHit () |
G4bool | hitExists () |
bool | isPrimary (const G4Track *track) |
bool | ProcessHits (G4Step *step, G4TouchableHistory *tHistory) override |
void | resetForNewPrimary () |
uint32_t | setDetUnitId (const G4Step *step) override |
void | setNumberingScheme (TotemRPVDetectorOrganization *scheme) |
G4ThreeVector | setToLocal (const G4ThreeVector &globalPoint) |
void | stepInfo (const G4Step *aStep) |
void | storeHit (TotemRPG4Hit *) |
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 | |
TotemRPG4Hit * | currentHit_ |
G4VPhysicalVolume * | currentPV_ |
double | Eloss_ |
G4ThreeVector | entrancePoint_ |
int | eventno_ |
G4ThreeVector | exitPoint_ |
G4int | hcID_ |
G4ThreeVector | hitPoint_ |
double | incidentEnergy_ |
G4String | name_ |
std::unique_ptr< TotemRPVDetectorOrganization > | numberingScheme_ |
double | Pabs_ |
int | ParentId_ |
short | ParticleType_ |
double | PhiAtEntry_ |
G4StepPoint * | postStepPoint_ |
G4StepPoint * | preStepPoint_ |
G4int | primaryID_ |
std::unique_ptr< TrackingSlaveSD > | slave_ |
TotemRPG4HitCollection * | theHC_ |
G4ThreeVector | theLocalEntryPoint_ |
G4ThreeVector | theLocalExitPoint_ |
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 | maxTotemHits_ = 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 30 of file TotemRPSD.h.
TotemRPSD::TotemRPSD | ( | const std::string & | name_, |
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 33 of file TotemRPSD.cc.
References bysipixelclustmulteventfilter_cfi::collectionName, edm::ParameterSet::getParameter(), name_, numberingScheme_, AlCaHLTBitMon_ParallelJobs::p, slave_, and verbosity_.
|
override |
Definition at line 64 of file TotemRPSD.cc.
|
override |
Definition at line 259 of file TotemRPSD.cc.
|
overrideprivatevirtual |
Implements SensitiveDetector.
Definition at line 286 of file TotemRPSD.cc.
References slave_.
Referenced by update().
|
private |
Definition at line 189 of file TotemRPSD.cc.
References currentHit_, Eloss_, exitPoint_, hitPoint_, incidentEnergy_, Pabs_, ParentId_, ParticleType_, PhiAtEntry_, primaryID_, rp_garage_position_, TotemRPG4Hit::setEnergyLoss(), TotemRPG4Hit::setEntry(), TotemRPG4Hit::setExit(), TotemRPG4Hit::setIncidentEnergy(), TotemRPG4Hit::setLocalEntry(), TotemRPG4Hit::setLocalExit(), TotemRPG4Hit::setP(), TotemRPG4Hit::setParentId(), TotemRPG4Hit::setParticleType(), TotemRPG4Hit::setPhiAtEntry(), TotemRPG4Hit::setPx(), TotemRPG4Hit::setPy(), TotemRPG4Hit::setPz(), TotemRPG4Hit::setThetaAtEntry(), TotemRPG4Hit::setTimeSlice(), TotemRPG4Hit::setTof(), TotemRPG4Hit::setTrackID(), TotemRPG4Hit::setUnitID(), TotemRPG4Hit::setVx(), TotemRPG4Hit::setVy(), TotemRPG4Hit::setVz(), storeHit(), theLocalEntryPoint_, theLocalExitPoint_, thePx_, thePy_, thePz_, ThetaAtEntry_, Tof_, tSlice_, unitID_, Vx_, Vy_, and Vz_.
Referenced by ProcessHits().
|
override |
Definition at line 261 of file TotemRPSD.cc.
|
override |
Definition at line 236 of file TotemRPSD.cc.
References TotemRPG4Hit::energyLoss(), mps_splice::entry, beamvalidation::exit(), createfilelist::int, dqmiolumiharvest::j, TotemRPG4Hit::localEntry(), TotemRPG4Hit::localExit(), maxTotemHits_, TotemRPG4Hit::p(), TotemRPG4Hit::particleType(), TotemRPG4Hit::phiAtEntry(), slave_, summarize(), theHC_, TotemRPG4Hit::thetaAtEntry(), TotemRPG4Hit::tof(), TotemRPG4Hit::trackID(), and TotemRPG4Hit::unitID().
|
overridevirtual |
Implements SensitiveTkDetector.
Definition at line 268 of file TotemRPSD.cc.
References c, dqmiodumpmetadata::n, and slave_.
|
private |
|
override |
Definition at line 66 of file TotemRPSD.cc.
References bysipixelclustmulteventfilter_cfi::collectionName, hcID_, LogDebug, name_, and theHC_.
|
private |
Definition at line 288 of file TotemRPSD.cc.
References info(), and HLT_FULL_cff::track.
Referenced by stepInfo().
|
override |
void TotemRPSD::printHitInfo | ( | ) |
Definition at line 77 of file TotemRPSD.cc.
References currentPV_, Eloss_, LogDebug, postStepPoint_, preStepPoint_, primaryID_, theTrack_, tSliceID_, and unitID_.
|
overrideprivatevirtual |
Implements SensitiveDetector.
Definition at line 113 of file TotemRPSD.cc.
References createNewHit(), and stepInfo().
|
private |
|
overrideprivatevirtual |
Implements SensitiveDetector.
Definition at line 176 of file TotemRPSD.cc.
References numberingScheme_.
Referenced by stepInfo().
|
private |
Definition at line 273 of file TotemRPSD.cc.
References LogDebug, numberingScheme_, and generator_cfi::scheme.
|
private |
|
private |
Definition at line 124 of file TotemRPSD.cc.
References SensitiveDetector::ConvertToLocal3DPoint(), currentPV_, Eloss_, exitPoint_, GeV, hitPoint_, createfilelist::int, isPrimary(), LogDebug, name_, Pabs_, ParentId_, PbPb_ZMuSkimMuonDPG_cff::particleType, 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 180 of file TotemRPSD.cc.
References LogDebug, theHC_, and verbosity_.
Referenced by createNewHit().
|
private |
|
overrideprivate |
Definition at line 284 of file TotemRPSD.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 279 of file TotemRPSD.cc.
References clearHits(), and eventno_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
|
private |
Definition at line 85 of file TotemRPSD.h.
Referenced by createNewHit().
|
private |
Definition at line 87 of file TotemRPSD.h.
Referenced by printHitInfo(), and stepInfo().
|
private |
Definition at line 102 of file TotemRPSD.h.
Referenced by createNewHit(), printHitInfo(), and stepInfo().
|
private |
Definition at line 78 of file TotemRPSD.h.
|
private |
Definition at line 113 of file TotemRPSD.h.
Referenced by update().
|
private |
Definition at line 95 of file TotemRPSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 82 of file TotemRPSD.h.
Referenced by Initialize().
|
private |
Definition at line 94 of file TotemRPSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 79 of file TotemRPSD.h.
Referenced by createNewHit().
|
staticconstexprprivate |
Definition at line 47 of file TotemRPSD.h.
Referenced by EndOfEvent().
|
private |
Definition at line 81 of file TotemRPSD.h.
Referenced by Initialize(), stepInfo(), and TotemRPSD().
|
private |
Definition at line 57 of file TotemRPSD.h.
Referenced by setDetUnitId(), setNumberingScheme(), and TotemRPSD().
|
private |
Definition at line 99 of file TotemRPSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 108 of file TotemRPSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 103 of file TotemRPSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 106 of file TotemRPSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 93 of file TotemRPSD.h.
Referenced by printHitInfo(), and stepInfo().
|
private |
Definition at line 92 of file TotemRPSD.h.
Referenced by printHitInfo(), setToLocal(), and stepInfo().
|
private |
Definition at line 89 of file TotemRPSD.h.
Referenced by createNewHit(), printHitInfo(), and stepInfo().
|
staticconstexpr |
Definition at line 44 of file TotemRPSD.h.
Referenced by createNewHit().
|
private |
Definition at line 56 of file TotemRPSD.h.
Referenced by clearHits(), EndOfEvent(), fillHits(), and TotemRPSD().
|
private |
Definition at line 83 of file TotemRPSD.h.
Referenced by EndOfEvent(), Initialize(), PrintAll(), and storeHit().
|
private |
Definition at line 96 of file TotemRPSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 97 of file TotemRPSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 100 of file TotemRPSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 100 of file TotemRPSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 100 of file TotemRPSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 105 of file TotemRPSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 86 of file TotemRPSD.h.
Referenced by printHitInfo(), and stepInfo().
|
private |
Definition at line 101 of file TotemRPSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 90 of file TotemRPSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 89 of file TotemRPSD.h.
Referenced by printHitInfo(), and stepInfo().
|
private |
Definition at line 88 of file TotemRPSD.h.
Referenced by createNewHit(), printHitInfo(), and stepInfo().
|
private |
Definition at line 60 of file TotemRPSD.h.
Referenced by stepInfo(), storeHit(), and TotemRPSD().
|
private |
Definition at line 109 of file TotemRPSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 109 of file TotemRPSD.h.
Referenced by createNewHit(), and stepInfo().
|
private |
Definition at line 109 of file TotemRPSD.h.
Referenced by createNewHit(), and stepInfo().