1616
1717// #define EDM_ML_DEBUG
1818
19- Phase2TrackingAction::Phase2TrackingAction (SimTrackManager* stm,
20- CMSSteppingVerbose* sv, const edm::ParameterSet& p)
19+ Phase2TrackingAction::Phase2TrackingAction (SimTrackManager* stm, CMSSteppingVerbose* sv, const edm::ParameterSet& p)
2120 : trackManager_(stm),
2221 steppingVerbose_(sv),
2322 endPrintTrackID_(p.getParameter<int >(" EndPrintTrackID" )),
@@ -31,9 +30,8 @@ Phase2TrackingAction::Phase2TrackingAction(SimTrackManager* stm,
3130 if (doFineCalo_ && eth < ekinMin_) {
3231 ekinMin_ = eth;
3332 }
34- edm::LogVerbatim (" SimG4CoreApplication" )
35- << " Phase2TrackingAction: boundary: " << saveCaloBoundaryInformation_
36- << " ; DoFineCalo: " << doFineCalo_ << " ; ekinMin(MeV)=" << ekinMin_;
33+ edm::LogVerbatim (" SimG4CoreApplication" ) << " Phase2TrackingAction: boundary: " << saveCaloBoundaryInformation_
34+ << " ; DoFineCalo: " << doFineCalo_ << " ; ekinMin(MeV)=" << ekinMin_;
3735 if (!ekinMinRegion_.empty ()) {
3836 ptrRegion_.resize (ekinMinRegion_.size (), nullptr );
3937 }
@@ -84,8 +82,7 @@ void Phase2TrackingAction::PostUserTrackingAction(const G4Track* aTrack) {
8482 int id = aTrack->GetTrackID ();
8583 bool ok = (trkInfo_->storeTrack () || currentTrack_->saved ());
8684 if (trkInfo_->crossedBoundary ()) {
87- currentTrack_->setCrossedBoundaryPosMom (id, trkInfo_->getPositionAtBoundary (),
88- trkInfo_->getMomentumAtBoundary ());
85+ currentTrack_->setCrossedBoundaryPosMom (id, trkInfo_->getPositionAtBoundary (), trkInfo_->getMomentumAtBoundary ());
8986 ok = (ok || saveCaloBoundaryInformation_ || doFineCalo_);
9087 }
9188 if (ok) {
@@ -99,9 +96,8 @@ void Phase2TrackingAction::PostUserTrackingAction(const G4Track* aTrack) {
9996
10097#ifdef EDM_ML_DEBUG
10198 edm::LogVerbatim (" Phase2TrackingAction" )
102- << " Phase2TrackingAction end track=" << id << " "
103- << aTrack->GetDefinition ()->GetParticleName () << " proposed to be saved= " << ok
104- << " end point " << aTrack->GetPosition ();
99+ << " Phase2TrackingAction end track=" << id << " " << aTrack->GetDefinition ()->GetParticleName ()
100+ << " proposed to be saved= " << ok << " end point " << aTrack->GetPosition ();
105101#endif
106102
107103 if (!isInHistory) {
0 commit comments