#include <SensitiveDetector.h>
Public Member Functions | |
virtual void | clearHits ()=0 |
void | EndOfEvent (G4HCofThisEvent *eventHC) override |
const std::vector< std::string > & | getNames () const |
void | Initialize (G4HCofThisEvent *eventHC) override |
bool | isCaloSD () const |
G4bool | ProcessHits (G4Step *step, G4TouchableHistory *tHistory) override=0 |
SensitiveDetector (const std::string &iname, const DDCompactView &cpv, const SensitiveDetectorCatalog &, edm::ParameterSet const &p, bool calo) | |
virtual uint32_t | setDetUnitId (const G4Step *step)=0 |
~SensitiveDetector () override | |
Protected Types | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
Protected Member Functions | |
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 | AssignSD (const std::string &vname) |
Private Attributes | |
bool | m_isCalo |
std::vector< std::string > | m_namesOfSD |
Definition at line 22 of file SensitiveDetector.h.
|
protected |
Enumerator | |
---|---|
WorldCoordinates | |
LocalCoordinates |
Definition at line 47 of file SensitiveDetector.h.
|
explicit |
Definition at line 18 of file SensitiveDetector.cc.
References AssignSD(), ecaldqm::collectionName, SensitiveDetectorCatalog::logicalNames(), and m_namesOfSD.
|
override |
Definition at line 45 of file SensitiveDetector.cc.
|
private |
Definition at line 51 of file SensitiveDetector.cc.
Referenced by ConvertToLocal3DPoint(), and SensitiveDetector().
|
pure virtual |
Implemented in FP420SD, CaloSD, TotemSD, MuonSensitiveDetector, TimingSD, FiberSD, TkAccumulatingSensitiveDetector, HFChamberSD, CaloTrkProcessing, and HFWedgeSD.
|
protected |
Definition at line 100 of file SensitiveDetector.cc.
References info().
Referenced by ConvertToLocal3DPoint(), TkAccumulatingSensitiveDetector::createHit(), MuonSensitiveDetector::createHit(), CaloSD::createNewHit(), CaloSD::getResponseWt(), TimingSD::getStepInfo(), CaloSD::getTrackID(), CaloSD::setTrackID(), TkAccumulatingSensitiveDetector::update(), and CaloSD::update().
|
inlineprotected |
Definition at line 55 of file SensitiveDetector.h.
References AssignSD(), cmsTrackInformation(), NaNTrap(), setNames(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by TkAccumulatingSensitiveDetector::createHit(), MuonSensitiveDetector::createHit(), TimingSD::EndOfEvent(), FinalStepPosition(), MuonSensitiveDetector::FinalStepPositionVsParent(), InitialStepPosition(), MuonSensitiveDetector::InitialStepPositionVsParent(), LocalPostStepPosition(), LocalPreStepPosition(), and TkAccumulatingSensitiveDetector::updateHit().
|
override |
Definition at line 49 of file SensitiveDetector.cc.
|
protected |
Definition at line 73 of file SensitiveDetector.cc.
References ConvertToLocal3DPoint(), and WorldCoordinates.
Referenced by MuonSensitiveDetector::createHit(), and MuonSensitiveDetector::updateHit().
|
inline |
Definition at line 40 of file SensitiveDetector.h.
References m_namesOfSD.
Referenced by CaloTrkProcessing::CaloTrkProcessing(), CaloTrkProcessing::fillHits(), HCalSD::fillLogVolumeVector(), HCalSD::HCalSD(), and HcalTB06BeamSD::HcalTB06BeamSD().
|
override |
Definition at line 47 of file SensitiveDetector.cc.
|
protected |
Definition at line 62 of file SensitiveDetector.cc.
References ConvertToLocal3DPoint(), and WorldCoordinates.
Referenced by MuonSensitiveDetector::createHit(), and MuonSensitiveDetector::ProcessHits().
|
inline |
Definition at line 42 of file SensitiveDetector.h.
References m_isCalo.
Referenced by AttachSD::create().
|
protected |
Definition at line 92 of file SensitiveDetector.cc.
References ConvertToLocal3DPoint().
Referenced by TkAccumulatingSensitiveDetector::createHit(), and TkAccumulatingSensitiveDetector::updateHit().
|
protected |
Definition at line 84 of file SensitiveDetector.cc.
References ConvertToLocal3DPoint().
Referenced by TkAccumulatingSensitiveDetector::closeHit(), and TkAccumulatingSensitiveDetector::createHit().
|
protected |
Definition at line 119 of file SensitiveDetector.cc.
References edm::isNotFinite().
Referenced by ConvertToLocal3DPoint(), and CaloSD::ProcessHits().
|
overridepure virtual |
Implemented in FP420SD, CaloSD, TotemSD, MuonSensitiveDetector, TimingSD, FiberSD, TkAccumulatingSensitiveDetector, CaloTrkProcessing, HFChamberSD, and HFWedgeSD.
|
pure virtual |
Implemented in CaloSD, FP420SD, TotemSD, FiberSD, MuonSensitiveDetector, HCalSD, TkAccumulatingSensitiveDetector, CaloTrkProcessing, ECalSD, CastorSD, HFChamberSD, HcalTB02SD, HFWedgeSD, HGCSD, HFNoseSD, HGCalSD, FastTimerSD, HGCScintSD, MtdSD, HcalTB06BeamSD, EcalTBH4BeamSD, HGCalTB16SD01, BHMSD, DreamSD, BscSD, ZdcSD, Bcm1fSD, PltSD, and AHCalSD.
Referenced by TimingSD::getStepInfo().
|
protected |
Definition at line 113 of file SensitiveDetector.cc.
References m_namesOfSD.
Referenced by ConvertToLocal3DPoint(), and TkAccumulatingSensitiveDetector::TkAccumulatingSensitiveDetector().
|
private |
Definition at line 68 of file SensitiveDetector.h.
Referenced by isCaloSD().
|
private |
Definition at line 67 of file SensitiveDetector.h.
Referenced by getNames(), SensitiveDetector(), and setNames().