20 using namespace CLHEP;
23 theHistoHcal(0), theHistoCastor(0) {
29 edm::LogInfo(
"MaterialBudget") <<
"MaterialBudgetHcal initialized with rMax "
30 << rMax <<
" mm and zMax " <<
zMax <<
" mm"
31 <<
" doHcal is set to " << doHcal;
45 (*job)()->get<IdealGeometryRecord>().get(pDD);
52 const G4Track * aTrack = (*trk)();
65 G4Track* track = aStep->GetTrack();
66 track->SetTrackStatus( fStopAndKill );
79 G4ThreeVector hitPoint = aStep->GetPreStepPoint()->GetPosition();
80 double rr = hitPoint.perp();
84 LogDebug(
"MaterialBudget") <<
" MaterialBudgetHcal::StopAfter R = " << rr
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 *)
virtual ~MaterialBudgetHcal()
void fillStartTrack(const G4Track *)
void fillStartTrack(const G4Track *)
void update(const BeginOfJob *)
This routine will be called when the appropriate signal arrives.
Abs< T >::type abs(const T &t)
void fillPerStep(const G4Step *)
MaterialBudgetCastorHistos * theHistoCastor
MaterialBudgetHcal(const edm::ParameterSet &)
MaterialBudgetHcalHistos * theHistoHcal