#include <SimG4CMS/Forward/interface/TotemSD.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 |
void | PrintAll () override |
bool | ProcessHits (G4Step *, G4TouchableHistory *) override |
uint32_t | setDetUnitId (const G4Step *) override |
TotemSD (const std::string &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *) | |
~TotemSD () 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 () |
Protected Member Functions | |
void | update (const BeginOfEvent *) override |
This routine will be called when the appropriate signal arrives. More... | |
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 > &) |
Private Member Functions | |
void | createNewHit () |
void | createNewHitEvo () |
void | getStepInfo (const G4Step *aStep) |
bool | hitExists () |
G4ThreeVector | posizioEvo (const G4ThreeVector &, double, double, double, double, int &) |
void | resetForNewPrimary () |
G4ThreeVector | setToLocal (const G4ThreeVector &globalPoint) |
void | storeHit (TotemG4Hit *) |
void | updateHit () |
Private Attributes | |
TotemG4Hit * | currentHit |
G4VPhysicalVolume * | currentPV |
float | edeposit |
float | Eloss |
G4ThreeVector | entrancePoint |
G4int | hcID |
G4ThreeVector | hitPoint |
float | incidentEnergy |
TotemVDetectorOrganization * | numberingScheme |
float | Pabs |
int | ParentId |
short | ParticleType |
float | PhiAtEntry |
G4ThreeVector | Posizio |
const G4StepPoint * | postStepPoint |
const G4StepPoint * | preStepPoint |
uint32_t | previousUnitID |
int | primaryID |
G4int | primID |
TrackingSlaveSD * | slave |
TotemG4HitCollection * | 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 |
Additional Inherited Members | |
Protected Types inherited from SensitiveDetector | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
Description: Stores hits of Totem in appropriate container
Usage: Used in sensitive detector builder
TotemSD::TotemSD | ( | const std::string & | name, |
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 47 of file TotemSD.cc.
References edm::ParameterSet::getUntrackedParameter(), Skims_PA_cff::name, numberingScheme, AlCaHLTBitMon_ParallelJobs::p, and slave.
|
override |
Definition at line 84 of file TotemSD.cc.
References numberingScheme, and slave.
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 164 of file TotemSD.cc.
References TrackingSlaveSD::Initialize(), and slave.
Referenced by update().
|
private |
Definition at line 249 of file TotemSD.cc.
References currentHit, currentPV, Eloss, incidentEnergy, Pabs, ParentId, ParticleType, PhiAtEntry, Posizio, primaryID, TotemG4Hit::setEnergyLoss(), TotemG4Hit::setEntry(), TotemG4Hit::setIncidentEnergy(), TotemG4Hit::setPabs(), TotemG4Hit::setParentId(), TotemG4Hit::setParticleType(), TotemG4Hit::setPhiAtEntry(), TotemG4Hit::setThetaAtEntry(), TotemG4Hit::setTimeSlice(), TotemG4Hit::setTof(), TotemG4Hit::setTrackID(), TotemG4Hit::setUnitID(), TotemG4Hit::setVx(), TotemG4Hit::setVy(), TotemG4Hit::setVz(), storeHit(), ThetaAtEntry, theTrack, Tof, tSlice, tSliceID, unitID, updateHit(), Vx, Vy, and Vz.
Referenced by ProcessHits().
|
private |
Definition at line 293 of file TotemSD.cc.
References currentHit, Eloss, incidentEnergy, Pabs, ParentId, ParticleType, PhiAtEntry, Posizio, posizioEvo(), primaryID, TotemG4Hit::setEnergyLoss(), TotemG4Hit::setEntry(), TotemG4Hit::setIncidentEnergy(), TotemG4Hit::setPabs(), TotemG4Hit::setParentId(), TotemG4Hit::setParticleType(), TotemG4Hit::setPhiAtEntry(), TotemG4Hit::setThetaAtEntry(), TotemG4Hit::setTimeSlice(), TotemG4Hit::setTof(), TotemG4Hit::setTrackID(), TotemG4Hit::setUnitID(), TotemG4Hit::setVx(), TotemG4Hit::setVy(), TotemG4Hit::setVz(), storeHit(), ThetaAtEntry, Tof, tSlice, unitID, updateHit(), Vx, Vy, and Vz.
Referenced by ProcessHits().
|
override |
Definition at line 119 of file TotemSD.cc.
References TotemG4Hit::getEnergyLoss(), TotemG4Hit::getEntry(), TotemG4Hit::getPabs(), TotemG4Hit::getParticleType(), TotemG4Hit::getPhiAtEntry(), TotemG4Hit::getThetaAtEntry(), TotemG4Hit::getTof(), TotemG4Hit::getTrackID(), TotemG4Hit::getUnitID(), dqmiolumiharvest::j, TrackingSlaveSD::processHits(), slave, and theHC.
|
overridevirtual |
Implements SensitiveTkDetector.
Definition at line 151 of file TotemSD.cc.
References TrackingSlaveSD::hits(), TrackingSlaveSD::name(), and slave.
|
private |
Definition at line 173 of file TotemSD.cc.
References currentPV, edeposit, Eloss, GeV, hitPoint, createfilelist::int, Skims_PA_cff::name, Pabs, ParentId, PbPb_ZMuSkimMuonDPG_cff::particleType, ParticleType, PhiAtEntry, Posizio, postStepPoint, preStepPoint, primaryID, setDetUnitId(), ThetaAtEntry, theTrack, Tof, tSlice, tSliceID, unitID, Vx, Vy, and Vz.
Referenced by ProcessHits().
|
private |
Definition at line 210 of file TotemSD.cc.
References currentHit, newFWLiteAna::found, TotemG4Hit::getTimeSliceID(), TotemG4Hit::getTrackID(), TotemG4Hit::getUnitID(), dqmiolumiharvest::j, previousUnitID, primaryID, primID, resetForNewPrimary(), theHC, tsID, tSliceID, unitID, and updateHit().
Referenced by ProcessHits().
|
override |
Definition at line 105 of file TotemSD.cc.
References bysipixelclustmulteventfilter_cfi::collectionName, hcID, primID, theHC, and tsID.
|
private |
Definition at line 330 of file TotemSD.cc.
References funct::abs(), dqmiolumiharvest::j, and mathSSE::sqrt().
Referenced by createNewHitEvo().
|
override |
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 89 of file TotemSD.cc.
References createNewHit(), createNewHitEvo(), edeposit, getStepInfo(), hitExists(), ParentId, ParticleType, and unitID.
|
private |
Definition at line 452 of file TotemSD.cc.
References entrancePoint, hitPoint, incidentEnergy, preStepPoint, and setToLocal().
Referenced by hitExists().
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 101 of file TotemSD.cc.
References TotemVDetectorOrganization::getUnitID(), and numberingScheme.
Referenced by getStepInfo().
|
private |
Definition at line 166 of file TotemSD.cc.
References preStepPoint.
Referenced by resetForNewPrimary().
|
private |
|
overrideprotectedvirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 157 of file TotemSD.cc.
References clearHits().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 424 of file TotemSD.cc.
References currentHit, Eloss, postStepPoint, previousUnitID, primaryID, primID, TotemG4Hit::setEnergyLoss(), tsID, tSliceID, and unitID.
Referenced by createNewHit(), createNewHitEvo(), and hitExists().
|
private |
Definition at line 93 of file TotemSD.h.
Referenced by createNewHit(), createNewHitEvo(), hitExists(), and updateHit().
|
private |
Definition at line 95 of file TotemSD.h.
Referenced by createNewHit(), and getStepInfo().
|
private |
Definition at line 102 of file TotemSD.h.
Referenced by getStepInfo(), and ProcessHits().
|
private |
Definition at line 108 of file TotemSD.h.
Referenced by createNewHit(), createNewHitEvo(), getStepInfo(), and updateHit().
|
private |
Definition at line 84 of file TotemSD.h.
Referenced by resetForNewPrimary().
|
private |
Definition at line 88 of file TotemSD.h.
Referenced by Initialize().
|
private |
Definition at line 103 of file TotemSD.h.
Referenced by getStepInfo(), and resetForNewPrimary().
|
private |
Definition at line 85 of file TotemSD.h.
Referenced by createNewHit(), createNewHitEvo(), and resetForNewPrimary().
|
private |
Definition at line 77 of file TotemSD.h.
Referenced by setDetUnitId(), TotemSD(), and ~TotemSD().
|
private |
Definition at line 106 of file TotemSD.h.
Referenced by createNewHit(), createNewHitEvo(), and getStepInfo().
|
private |
Definition at line 114 of file TotemSD.h.
Referenced by createNewHit(), createNewHitEvo(), getStepInfo(), and ProcessHits().
|
private |
Definition at line 109 of file TotemSD.h.
Referenced by createNewHit(), createNewHitEvo(), getStepInfo(), and ProcessHits().
|
private |
Definition at line 112 of file TotemSD.h.
Referenced by createNewHit(), createNewHitEvo(), and getStepInfo().
|
private |
Definition at line 105 of file TotemSD.h.
Referenced by createNewHit(), createNewHitEvo(), and getStepInfo().
|
private |
Definition at line 101 of file TotemSD.h.
Referenced by getStepInfo(), and updateHit().
|
private |
Definition at line 100 of file TotemSD.h.
Referenced by getStepInfo(), resetForNewPrimary(), and setToLocal().
|
private |
Definition at line 96 of file TotemSD.h.
Referenced by hitExists(), and updateHit().
|
private |
Definition at line 97 of file TotemSD.h.
Referenced by createNewHit(), createNewHitEvo(), getStepInfo(), hitExists(), and updateHit().
|
private |
Definition at line 86 of file TotemSD.h.
Referenced by hitExists(), Initialize(), storeHit(), and updateHit().
|
private |
Definition at line 76 of file TotemSD.h.
Referenced by clearHits(), EndOfEvent(), fillHits(), TotemSD(), and ~TotemSD().
|
private |
Definition at line 89 of file TotemSD.h.
Referenced by EndOfEvent(), hitExists(), Initialize(), PrintAll(), and storeHit().
|
private |
|
private |
Definition at line 111 of file TotemSD.h.
Referenced by createNewHit(), createNewHitEvo(), and getStepInfo().
|
private |
Definition at line 94 of file TotemSD.h.
Referenced by createNewHit(), and getStepInfo().
|
private |
Definition at line 107 of file TotemSD.h.
Referenced by createNewHit(), createNewHitEvo(), and getStepInfo().
|
private |
Definition at line 92 of file TotemSD.h.
Referenced by hitExists(), Initialize(), and updateHit().
|
private |
Definition at line 98 of file TotemSD.h.
Referenced by createNewHit(), createNewHitEvo(), and getStepInfo().
|
private |
Definition at line 97 of file TotemSD.h.
Referenced by createNewHit(), getStepInfo(), hitExists(), and updateHit().
|
private |
Definition at line 96 of file TotemSD.h.
Referenced by createNewHit(), createNewHitEvo(), getStepInfo(), hitExists(), ProcessHits(), and updateHit().
|
private |
Definition at line 115 of file TotemSD.h.
Referenced by createNewHit(), createNewHitEvo(), and getStepInfo().
|
private |
Definition at line 115 of file TotemSD.h.
Referenced by createNewHit(), createNewHitEvo(), and getStepInfo().
|
private |
Definition at line 115 of file TotemSD.h.
Referenced by createNewHit(), createNewHitEvo(), and getStepInfo().