#include <SensitiveDetector.h>
Public Types | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
Public Member Functions | |
virtual void | AssignSD (const std::string &vname) |
virtual void | clearHits ()=0 |
Local3DPoint | ConvertToLocal3DPoint (const G4ThreeVector &point) |
void | EndOfEvent (G4HCofThisEvent *eventHC) override |
Local3DPoint | FinalStepPosition (G4Step *s, coordinates) |
virtual std::vector< std::string > | getNames () |
void | Initialize (G4HCofThisEvent *eventHC) override |
Local3DPoint | InitialStepPosition (G4Step *s, coordinates) |
std::string | nameOfSD () |
void | NaNTrap (G4Step *step) |
G4bool | ProcessHits (G4Step *step, G4TouchableHistory *tHistory) override=0 |
void | Register () |
SensitiveDetector (std::string &iname, const DDCompactView &cpv, const SensitiveDetectorCatalog &, edm::ParameterSet const &p) | |
virtual uint32_t | setDetUnitId (G4Step *step)=0 |
~SensitiveDetector () override | |
Private Attributes | |
G4Step * | currentStep |
std::string | name |
Definition at line 22 of file SensitiveDetector.h.
Enumerator | |
---|---|
WorldCoordinates | |
LocalCoordinates |
Definition at line 36 of file SensitiveDetector.h.
|
explicit |
Definition at line 14 of file SensitiveDetector.cc.
|
override |
Definition at line 20 of file SensitiveDetector.cc.
|
virtual |
Definition at line 30 of file SensitiveDetector.cc.
References findQualityFiles::v.
Referenced by Bcm1fSD::Bcm1fSD(), BHMSD::BHMSD(), BscSD::BscSD(), CaloSD::CaloSD(), FastTimerSD::FastTimerSD(), FiberSD::FiberSD(), FP420SD::FP420SD(), HFChamberSD::HFChamberSD(), HFWedgeSD::HFWedgeSD(), MuonSensitiveDetector::MuonSensitiveDetector(), PltSD::PltSD(), TkAccumulatingSensitiveDetector::TkAccumulatingSensitiveDetector(), and TotemSD::TotemSD().
|
pure virtual |
Implemented in FP420SD, CaloSD, BscSD, MuonSensitiveDetector, TotemSD, FastTimerSD, BHMSD, TkAccumulatingSensitiveDetector, Bcm1fSD, PltSD, FiberSD, HFWedgeSD, HFChamberSD, and CaloTrkProcessing.
Local3DPoint SensitiveDetector::ConvertToLocal3DPoint | ( | const G4ThreeVector & | point | ) |
Definition at line 72 of file SensitiveDetector.cc.
Referenced by Bcm1fSD::createHit(), PltSD::createHit(), TkAccumulatingSensitiveDetector::createHit(), MuonSensitiveDetector::createHit(), FinalStepPosition(), MuonSensitiveDetector::FinalStepPositionVsParent(), InitialStepPosition(), and MuonSensitiveDetector::InitialStepPositionVsParent().
|
override |
Definition at line 41 of file SensitiveDetector.cc.
Local3DPoint SensitiveDetector::FinalStepPosition | ( | G4Step * | s, |
coordinates | c | ||
) |
Definition at line 58 of file SensitiveDetector.cc.
References ConvertToLocal3DPoint(), currentStep, alignCSCRings::s, and WorldCoordinates.
Referenced by Bcm1fSD::createHit(), PltSD::createHit(), TkAccumulatingSensitiveDetector::createHit(), MuonSensitiveDetector::createHit(), Bcm1fSD::updateHit(), PltSD::updateHit(), TkAccumulatingSensitiveDetector::updateHit(), and MuonSensitiveDetector::updateHit().
|
inlinevirtual |
Reimplemented in FP420SD, BscSD, MuonSensitiveDetector, BHMSD, FastTimerSD, and TkAccumulatingSensitiveDetector.
Definition at line 41 of file SensitiveDetector.h.
References nameOfSD(), NaNTrap(), and groupFilesInBlocks::temp.
Referenced by CaloTrkProcessing::CaloTrkProcessing(), CaloTrkProcessing::fillHits(), HCalSD::HCalSD(), and HcalTB06BeamSD::HcalTB06BeamSD().
|
override |
Definition at line 22 of file SensitiveDetector.cc.
Local3DPoint SensitiveDetector::InitialStepPosition | ( | G4Step * | s, |
coordinates | c | ||
) |
Definition at line 45 of file SensitiveDetector.cc.
References ConvertToLocal3DPoint(), currentStep, alignCSCRings::s, and WorldCoordinates.
Referenced by Bcm1fSD::closeHit(), PltSD::closeHit(), TkAccumulatingSensitiveDetector::closeHit(), Bcm1fSD::createHit(), PltSD::createHit(), TkAccumulatingSensitiveDetector::createHit(), MuonSensitiveDetector::createHit(), and MuonSensitiveDetector::ProcessHits().
|
inline |
Definition at line 40 of file SensitiveDetector.h.
References name.
Referenced by getNames(), and HGCSD::HGCSD().
void SensitiveDetector::NaNTrap | ( | G4Step * | step | ) |
Definition at line 77 of file SensitiveDetector.cc.
References edm::isNotFinite(), and reco::return().
Referenced by getNames(), ZdcSD::ProcessHits(), HGCSD::ProcessHits(), HCalSD::ProcessHits(), and CaloSD::ProcessHits().
|
overridepure virtual |
Implemented in FP420SD, BscSD, CaloSD, MuonSensitiveDetector, TotemSD, BHMSD, FastTimerSD, HCalSD, Bcm1fSD, PltSD, TkAccumulatingSensitiveDetector, FiberSD, CaloTrkProcessing, HGCSD, HFWedgeSD, HFChamberSD, DreamSD, and ZdcSD.
void SensitiveDetector::Register | ( | ) |
Definition at line 24 of file SensitiveDetector.cc.
Referenced by Bcm1fSD::Bcm1fSD(), BHMSD::BHMSD(), BscSD::BscSD(), CaloSD::CaloSD(), FastTimerSD::FastTimerSD(), FiberSD::FiberSD(), FP420SD::FP420SD(), HFChamberSD::HFChamberSD(), HFWedgeSD::HFWedgeSD(), MuonSensitiveDetector::MuonSensitiveDetector(), PltSD::PltSD(), TkAccumulatingSensitiveDetector::TkAccumulatingSensitiveDetector(), and TotemSD::TotemSD().
|
pure virtual |
Implemented in FP420SD, BscSD, CaloSD, MuonSensitiveDetector, TotemSD, BHMSD, FastTimerSD, FiberSD, HCalSD, HFWedgeSD, Bcm1fSD, PltSD, TkAccumulatingSensitiveDetector, ECalSD, CastorSD, CaloTrkProcessing, HFChamberSD, HcalTB02SD, HGCSD, HcalTB06BeamSD, EcalTBH4BeamSD, HGCalTB16SD01, DreamSD, ZdcSD, and AHCalSD.
|
private |
Definition at line 52 of file SensitiveDetector.h.
Referenced by FinalStepPosition(), and InitialStepPosition().
|
private |
Definition at line 51 of file SensitiveDetector.h.
Referenced by dirstructure.Directory::__create_pie_image(), dqm_interfaces.DirID::__eq__(), dirstructure.Directory::__get_full_path(), dirstructure.Comparison::__get_img_name(), dirstructure.Comparison::__make_image(), dirstructure.Directory::__repr__(), dqm_interfaces.DirID::__repr__(), dirstructure.Comparison::__repr__(), config.CFG::__str__(), dirstructure.Directory::calcStats(), CaloTrkProcessing::CaloTrkProcessing(), validation.Sample::digest(), utils.StatisticalTest::get_status(), CastorSD::getEnergyDeposit(), HcalTB06BeamSD::getNames(), HCalSD::HCalSD(), VIDSelectorBase.VIDSelectorBase::initialize(), DreamSD::initMap(), HcalTB02SD::initMap(), ECalSD::initMap(), nameOfSD(), HCalSD::plotProfile(), dirstructure.Directory::print_report(), SensitiveCaloDetector::SensitiveCaloDetector(), SensitiveTkDetector::SensitiveTkDetector(), HGCalTB16SD01::setDetUnitId(), HcalTB06BeamSD::setDetUnitId(), and Vispa.Views.PropertyView.Property::valueChanged().