#include <SensitiveDetector.h>
Public Types | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
Public Member Functions | |
virtual void | AssignSD (std::string &vname) |
virtual void | clearHits ()=0 |
Local3DPoint | ConvertToLocal3DPoint (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, SensitiveDetectorCatalog &, edm::ParameterSet const &p) | |
virtual uint32_t | setDetUnitId (G4Step *step)=0 |
virtual | ~SensitiveDetector () |
Private Attributes | |
G4Step * | currentStep |
std::string | name |
Definition at line 24 of file SensitiveDetector.h.
Enumerator | |
---|---|
WorldCoordinates | |
LocalCoordinates |
Definition at line 38 of file SensitiveDetector.h.
|
explicit |
Definition at line 13 of file SensitiveDetector.cc.
|
virtual |
Definition at line 18 of file SensitiveDetector.cc.
|
virtual |
Definition at line 28 of file SensitiveDetector.cc.
References v.
Referenced by BscSD::BscSD(), CaloSD::CaloSD(), FiberSD::FiberSD(), FP420SD::FP420SD(), HFChamberSD::HFChamberSD(), HFWedgeSD::HFWedgeSD(), MuonSensitiveDetector::MuonSensitiveDetector(), PLTSensitiveDetector::PLTSensitiveDetector(), TkAccumulatingSensitiveDetector::TkAccumulatingSensitiveDetector(), and TotemSD::TotemSD().
|
pure virtual |
Implemented in FP420SD, CaloSD, BscSD, MuonSensitiveDetector, TotemSD, TkAccumulatingSensitiveDetector, PLTSensitiveDetector, FiberSD, HFWedgeSD, HFChamberSD, and CaloTrkProcessing.
Local3DPoint SensitiveDetector::ConvertToLocal3DPoint | ( | G4ThreeVector | point | ) |
Definition at line 70 of file SensitiveDetector.cc.
Referenced by PLTSensitiveDetector::createHit(), TkAccumulatingSensitiveDetector::createHit(), MuonSensitiveDetector::createHit(), FinalStepPosition(), MuonSensitiveDetector::FinalStepPositionVsParent(), InitialStepPosition(), and MuonSensitiveDetector::InitialStepPositionVsParent().
|
virtual |
Reimplemented in FP420SD, BscSD, CaloSD, TotemSD, MuonSensitiveDetector, PLTSensitiveDetector, TkAccumulatingSensitiveDetector, CaloTrkProcessing, FiberSD, HFWedgeSD, and HFChamberSD.
Definition at line 39 of file SensitiveDetector.cc.
Local3DPoint SensitiveDetector::FinalStepPosition | ( | G4Step * | s, |
coordinates | c | ||
) |
Definition at line 56 of file SensitiveDetector.cc.
References ConvertToLocal3DPoint(), currentStep, alignCSCRings::s, and WorldCoordinates.
Referenced by PLTSensitiveDetector::createHit(), TkAccumulatingSensitiveDetector::createHit(), MuonSensitiveDetector::createHit(), PLTSensitiveDetector::updateHit(), TkAccumulatingSensitiveDetector::updateHit(), and MuonSensitiveDetector::updateHit().
|
inlinevirtual |
Reimplemented in FP420SD, BscSD, MuonSensitiveDetector, and TkAccumulatingSensitiveDetector.
Definition at line 43 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, FiberSD, CaloTrkProcessing, HFWedgeSD, and HFChamberSD.
Definition at line 20 of file SensitiveDetector.cc.
Local3DPoint SensitiveDetector::InitialStepPosition | ( | G4Step * | s, |
coordinates | c | ||
) |
Definition at line 43 of file SensitiveDetector.cc.
References ConvertToLocal3DPoint(), currentStep, alignCSCRings::s, and WorldCoordinates.
Referenced by PLTSensitiveDetector::closeHit(), TkAccumulatingSensitiveDetector::closeHit(), PLTSensitiveDetector::createHit(), TkAccumulatingSensitiveDetector::createHit(), MuonSensitiveDetector::createHit(), and MuonSensitiveDetector::ProcessHits().
|
inline |
void SensitiveDetector::NaNTrap | ( | G4Step * | step | ) |
Definition at line 75 of file SensitiveDetector.cc.
References gather_cfg::cout, edm::detail::isnan(), NULL, and hitfit::return.
Referenced by ZdcSD::ProcessHits(), HCalSD::ProcessHits(), and CaloSD::ProcessHits().
|
pure virtual |
Implemented in FP420SD, BscSD, CaloSD, MuonSensitiveDetector, TotemSD, PLTSensitiveDetector, TkAccumulatingSensitiveDetector, HCalSD, FiberSD, CaloTrkProcessing, HFWedgeSD, HFChamberSD, DreamSD, and ZdcSD.
void SensitiveDetector::Register | ( | ) |
Definition at line 22 of file SensitiveDetector.cc.
Referenced by BscSD::BscSD(), CaloSD::CaloSD(), FiberSD::FiberSD(), FP420SD::FP420SD(), HFChamberSD::HFChamberSD(), HFWedgeSD::HFWedgeSD(), MuonSensitiveDetector::MuonSensitiveDetector(), PLTSensitiveDetector::PLTSensitiveDetector(), TkAccumulatingSensitiveDetector::TkAccumulatingSensitiveDetector(), and TotemSD::TotemSD().
|
pure virtual |
Implemented in FP420SD, BscSD, CaloSD, MuonSensitiveDetector, TotemSD, FiberSD, HFWedgeSD, PLTSensitiveDetector, TkAccumulatingSensitiveDetector, HCalSD, CastorSD, CaloTrkProcessing, HcalTB02SD, HFChamberSD, ECalSD, EcalTBH4BeamSD, HcalTB06BeamSD, DreamSD, and ZdcSD.
|
private |
Definition at line 54 of file SensitiveDetector.h.
Referenced by FinalStepPosition(), and InitialStepPosition().
|
private |
Definition at line 53 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(), dataset.Dataset::__getDataType(), dataset.Dataset::__getFileInfoList(), dirstructure.Comparison::__make_image(), dirstructure.Directory::__repr__(), dqm_interfaces.DirID::__repr__(), dirstructure.Comparison::__repr__(), dirstructure.Directory::calcStats(), CaloTrkProcessing::CaloTrkProcessing(), utils.StatisticalTest::get_status(), CastorSD::getEnergyDeposit(), HcalTB06BeamSD::getNames(), HCalSD::HCalSD(), DreamSD::initMap(), ECalSD::initMap(), HcalTB02SD::initMap(), nameOfSD(), HCalSD::plotProfile(), dirstructure.Directory::print_report(), HcalTB06BeamSD::setDetUnitId(), and Vispa.Views.PropertyView.Property::valueChanged().