File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
RecoVertex/BeamSpotProducer/plugins Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,8 @@ const BeamSpotOnlineObjects* OnlineBeamSpotESProducer::checkSingleBS(const BeamS
145145 if (diffBStime1 < limitTime && isGoodBS (bs1)) {
146146 return bs1;
147147 } else {
148+ edm::LogWarning (" OnlineBeamSpotESProducer" ) << " Defaulting to fake (fallback to PCL) because the only payload "
149+ " is either too old or does not pass the fit sanity checks" ;
148150 return nullptr ;
149151 }
150152}
@@ -179,7 +181,7 @@ std::shared_ptr<const BeamSpotObjects> OnlineBeamSpotESProducer::produce(const B
179181 return std::shared_ptr<const BeamSpotObjects>(best, edm::do_nothing_deleter ());
180182 }
181183 edm::LogWarning (" OnlineBeamSpotESProducer" )
182- << " None of the Online BeamSpots in the ES is suitable, \n returning a fake one(fallback to PCL)." ;
184+ << " None of the Online BeamSpots in the ES is suitable, \n returning a fake one (fallback to PCL)." ;
183185 return std::shared_ptr<const BeamSpotObjects>(&fakeBS_, edm::do_nothing_deleter ());
184186}
185187
You can’t perform that action at this time.
0 commit comments