Go to the documentation of this file.
12 #include "G4StepPoint.hh"
27 SetVerboseLevel(verbn);
30 if (
name ==
"FastTimerHitsBarrel") {
33 }
else if (
name ==
"FastTimerHitsEndcap") {
43 double newTimeFactor = 1. / m_p.
getParameter<
double>(
"TimeSliceUnit");
66 edm::LogVerbatim(
"MtdSim") <<
"MtdSD: updates numbering scheme for " << GetName();
75 const G4VTouchable* touch = aStep->GetPreStepPoint()->GetTouchable();
76 int theSize = touch->GetHistoryDepth() + 1;
84 for (
int ii = 0;
ii < theSize;
ii++) {
88 << touch->GetVolume(
ii)->GetName() <<
"[" << touch->GetReplicaNumber(
ii) <<
"]";
virtual uint32_t getUnitID(const MTDBaseNumber &baseNumber) const =0
void setTimeFactor(double)
uint32_t setDetUnitId(const G4Step *) override
T getUntrackedParameter(std::string const &, T const &) const
Log< level::Warning, false > LogWarning
MtdSD(const std::string &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
void addLevel(const std::string &name, const int ©Number)
MTDNumberingScheme * numberingScheme
void setSize(const int &size)
static TrackerG4SimHitNumberingScheme & numberingScheme(const GeometricDet &det)
MTDBaseNumber theBaseNumber
void setNumberingScheme(MTDNumberingScheme *)
Log< level::Info, true > LogVerbatim
Detector identifier base class for the MIP Timing Layer.
void getBaseNumber(const G4Step *)
T getParameter(std::string const &) const