28 edm::LogVerbatim(
"MaterialBudget") <<
"MaterialBudgetHcal initialized with rMax " << rMax_ <<
" mm and zMax " <<
zMax_
29 <<
" mm doHcal is set to " << doHcal <<
" and Fromdd4hep to " <<
fromdd4hep_;
31 theHistoHcal_ = std::make_unique<MaterialBudgetHcalHistos>(m_p);
44 (*job)()->get<IdealGeometryRecord>().get(pDD);
49 (*job)()->get<IdealGeometryRecord>().get(pDD);
56 const G4Track* aTrack = (*trk)();
72 G4Track*
track = aStep->GetTrack();
73 track->SetTrackStatus(fStopAndKill);
85 G4ThreeVector hitPoint = aStep->GetPreStepPoint()->GetPosition();
86 double rr = hitPoint.perp();
90 edm::LogVerbatim(
"MaterialBudget") <<
" MaterialBudgetHcal::StopAfter R = " << rr <<
" and Z = " << zz;
Log< level::Info, true > LogVerbatim
T getUntrackedParameter(std::string const &, T const &) const
std::unique_ptr< MaterialBudgetHcalHistos > theHistoHcal_
bool stopAfter(const G4Step *)
Abs< T >::type abs(const T &t)
MaterialBudgetHcal(const edm::ParameterSet &)
T getParameter(std::string const &) const
void update(const BeginOfJob *) override
This routine will be called when the appropriate signal arrives.
std::unique_ptr< MaterialBudgetCastorHistos > theHistoCastor_