21 theHistoHcal(0), theHistoCastor(0) {
27 edm::LogInfo(
"MaterialBudget") <<
"MaterialBudgetHcal initialized with rMax " 28 << rMax <<
" mm and zMax " <<
zMax <<
" mm" 29 <<
" doHcal is set to " << doHcal;
43 (*job)()->get<IdealGeometryRecord>().get(pDD);
50 const G4Track * aTrack = (*trk)();
63 G4Track*
track = aStep->GetTrack();
64 track->SetTrackStatus( fStopAndKill );
77 G4ThreeVector hitPoint = aStep->GetPreStepPoint()->GetPosition();
78 double rr = hitPoint.perp();
82 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