25 edm::LogInfo(
"MaterialBudget") <<
"MaterialBudgetHcal initialized with rMax " << rMax <<
" mm and zMax " <<
zMax 27 <<
" doHcal is set to " << doHcal;
45 (*job)()->get<IdealGeometryRecord>().get(pDD);
51 const G4Track* aTrack = (*trk)();
67 G4Track*
track = aStep->GetTrack();
68 track->SetTrackStatus(fStopAndKill);
80 G4ThreeVector hitPoint = aStep->GetPreStepPoint()->GetPosition();
81 double rr = hitPoint.perp();
85 LogDebug(
"MaterialBudget") <<
" MaterialBudgetHcal::StopAfter R = " << rr <<
" and Z = " <<
zz;
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
void fillPerStep(const G4Step *)
void fillBeginJob(const DDCompactView &)
bool stopAfter(const G4Step *)
void fillStartTrack(const G4Track *)
void fillStartTrack(const G4Track *)
Abs< T >::type abs(const T &t)
void fillPerStep(const G4Step *)
MaterialBudgetCastorHistos * theHistoCastor
~MaterialBudgetHcal() override
MaterialBudgetHcal(const edm::ParameterSet &)
MaterialBudgetHcalHistos * theHistoHcal
void update(const BeginOfJob *) override
This routine will be called when the appropriate signal arrives.