#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) |
virtual void | EndOfEvent (G4HCofThisEvent *eventHC) |
Local3DPoint | FinalStepPosition (G4Step *s, coordinates) |
virtual std::vector< std::string > | getNames () |
virtual void | Initialize (G4HCofThisEvent *eventHC) |
Local3DPoint | InitialStepPosition (G4Step *s, coordinates) |
std::string | nameOfSD () |
void | NaNTrap (G4Step *step) |
virtual G4bool | ProcessHits (G4Step *step, G4TouchableHistory *tHistory)=0 |
void | Register () |
SensitiveDetector (std::string &iname, const DDCompactView &cpv, const SensitiveDetectorCatalog &, edm::ParameterSet const &p) | |
virtual uint32_t | setDetUnitId (G4Step *step)=0 |
virtual | ~SensitiveDetector () |
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.
|
virtual |
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, BHMSD, FastTimerSD, 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().
|
virtual |
Reimplemented in FP420SD, BscSD, CaloSD, MuonSensitiveDetector, TotemSD, BHMSD, FastTimerSD, Bcm1fSD, PltSD, TkAccumulatingSensitiveDetector, FiberSD, CaloTrkProcessing, HFWedgeSD, and HFChamberSD.
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(), and groupFilesInBlocks::temp.
Referenced by CaloTrkProcessing::CaloTrkProcessing(), HCalSD::HCalSD(), and HcalTB06BeamSD::HcalTB06BeamSD().
|
virtual |
Reimplemented in FP420SD, BscSD, CaloSD, TotemSD, BHMSD, FastTimerSD, FiberSD, CaloTrkProcessing, HFWedgeSD, and HFChamberSD.
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 gather_cfg::cout, edm::isNotFinite(), NULL, and reco::return().
Referenced by ZdcSD::ProcessHits(), HGCSD::ProcessHits(), HCalSD::ProcessHits(), and CaloSD::ProcessHits().
|
pure 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, HFWedgeSD, HCalSD, Bcm1fSD, PltSD, TkAccumulatingSensitiveDetector, CastorSD, CaloTrkProcessing, HFChamberSD, HcalTB02SD, ECalSD, HGCSD, EcalTBH4BeamSD, HcalTB06BeamSD, DreamSD, and ZdcSD.
|
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(), cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), 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(), HcalTB06BeamSD::setDetUnitId(), and Vispa.Views.PropertyView.Property::valueChanged().