#include <SensitiveDetector.h>
|
void | AssignSD (const std::string &vname) |
|
Definition at line 20 of file SensitiveDetector.h.
Definition at line 16 of file SensitiveDetector.cc.
References AssignSD(), ecaldqm::collectionName, SensitiveDetectorCatalog::logicalNames(), and namesOfSD.
20 G4VSensitiveDetector(iname)
29 G4SDManager * SDman = G4SDManager::GetSDMpointer();
30 SDman->AddNewDetector(
this);
32 const std::vector<std::string>& lvNames = clg.
logicalNames(iname);
34 for (
auto & lvname : lvNames) {
38 edm::LogInfo(
"SensitiveDetector") <<
" <" << iname <<
"> : Assigns SD to LVs " const std::vector< std::string > & logicalNames(const std::string &readoutName) const
void AssignSD(const std::string &vname)
std::string const collectionName[nCollections]
std::vector< std::string > namesOfSD
SensitiveDetector::~SensitiveDetector |
( |
| ) |
|
|
override |
void SensitiveDetector::AssignSD |
( |
const std::string & |
vname | ) |
|
|
private |
virtual void SensitiveDetector::clearHits |
( |
| ) |
|
|
pure virtual |
Implemented in CaloSD, FP420SD, TotemSD, MuonSensitiveDetector, BHMSD, BscSD, FastTimerSD, Bcm1fSD, PltSD, FiberSD, TkAccumulatingSensitiveDetector, HFChamberSD, HFWedgeSD, and CaloTrkProcessing.
Local3DPoint SensitiveDetector::ConvertToLocal3DPoint |
( |
const G4ThreeVector & |
point | ) |
const |
|
inlineprotected |
Definition at line 47 of file SensitiveDetector.h.
References AssignSD(), NaNTrap(), setNames(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by TkAccumulatingSensitiveDetector::createHit(), PltSD::createHit(), Bcm1fSD::createHit(), MuonSensitiveDetector::createHit(), FinalStepPosition(), MuonSensitiveDetector::FinalStepPositionVsParent(), InitialStepPosition(), MuonSensitiveDetector::InitialStepPositionVsParent(), LocalPostStepPosition(), LocalPreStepPosition(), and TkAccumulatingSensitiveDetector::updateHit().
Point3DBase< float, LocalTag > Local3DPoint
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
void SensitiveDetector::EndOfEvent |
( |
G4HCofThisEvent * |
eventHC | ) |
|
|
override |
const std::vector<std::string>& SensitiveDetector::getNames |
( |
| ) |
const |
|
inline |
void SensitiveDetector::Initialize |
( |
G4HCofThisEvent * |
eventHC | ) |
|
|
override |
Local3DPoint SensitiveDetector::LocalPostStepPosition |
( |
const G4Step * |
step | ) |
const |
|
protected |
Local3DPoint SensitiveDetector::LocalPreStepPosition |
( |
const G4Step * |
step | ) |
const |
|
protected |
void SensitiveDetector::NaNTrap |
( |
const G4Step * |
step | ) |
const |
|
protected |
G4bool SensitiveDetector::ProcessHits |
( |
G4Step * |
step, |
|
|
G4TouchableHistory * |
tHistory |
|
) |
| |
|
overridepure virtual |
Implemented in CaloSD, MuonSensitiveDetector, FP420SD, TotemSD, BHMSD, BscSD, FastTimerSD, HCalSD, Bcm1fSD, PltSD, TkAccumulatingSensitiveDetector, FiberSD, CaloTrkProcessing, HGCSD, HFChamberSD, HFWedgeSD, DreamSD, and ZdcSD.
virtual uint32_t SensitiveDetector::setDetUnitId |
( |
const G4Step * |
step | ) |
|
|
pure virtual |
Implemented in CaloSD, MuonSensitiveDetector, FP420SD, TotemSD, BHMSD, BscSD, FastTimerSD, FiberSD, HCalSD, Bcm1fSD, PltSD, TkAccumulatingSensitiveDetector, ECalSD, CastorSD, CaloTrkProcessing, HcalTB02SD, HFChamberSD, HFWedgeSD, HGCSD, HcalTB06BeamSD, EcalTBH4BeamSD, HGCalTB16SD01, DreamSD, ZdcSD, and AHCalSD.
void SensitiveDetector::setNames |
( |
const std::vector< std::string > & |
hnames | ) |
|
|
protected |
std::vector<std::string> SensitiveDetector::namesOfSD |
|
private |