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");
65 if (scheme !=
nullptr) {
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) <<
"]";
Log< level::Info, true > LogVerbatim
T getUntrackedParameter(std::string const &, T const &) const
void setTimeFactor(double)
void addLevel(const std::string_view name, const int copyNumber)
Detector identifier base class for the MIP Timing Layer.
uint32_t setDetUnitId(const G4Step *) override
MTDBaseNumber theBaseNumber
void getBaseNumber(const G4Step *)
void setNumberingScheme(MTDNumberingScheme *)
MtdSD(const std::string &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
MTDNumberingScheme * numberingScheme
T getParameter(std::string const &) const
virtual uint32_t getUnitID(const MTDBaseNumber &baseNumber) const =0
static TrackerG4SimHitNumberingScheme & numberingScheme(const GeometricDet &det)
Log< level::Warning, false > LogWarning
void setSize(const int size)