Skip to content

Commit 4905ad3

Browse files
fix logWarning name in BeamSpotOnlineProducer
1 parent d574656 commit 4905ad3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

RecoVertex/BeamSpotProducer/plugins/BeamSpotOnlineProducer.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ void BeamSpotOnlineProducer::produce(Event& iEvent, const EventSetup& iSetup) {
105105
auto const& spotDB = iSetup.getData(beamTransientToken_);
106106
if (spotDB.beamType() != 2) {
107107
if (shoutMODE && beamTransientRcdESWatcher_.check(iSetup)) {
108-
edm::LogWarning("BeamSpotFromDB")
108+
edm::LogWarning("BeamSpotOnlineProducer")
109109
<< "Online Beam Spot producer falls back to DB value because the ESProducer returned a fake beamspot ";
110110
}
111111
fallBackToDB = true;
@@ -181,15 +181,15 @@ void BeamSpotOnlineProducer::produce(Event& iEvent, const EventSetup& iSetup) {
181181
if (spotOnline.x() == 0 && spotOnline.y() == 0 && spotOnline.z() == 0 && spotOnline.width_x() == 0 &&
182182
spotOnline.width_y() == 0) {
183183
if (shoutMODE) {
184-
edm::LogWarning("BeamSpotFromDB")
184+
edm::LogWarning("BeamSpotOnlineProducer")
185185
<< "Online Beam Spot producer falls back to DB value because the scaler values are zero ";
186186
}
187187
fallBackToDB = true;
188188
}
189189
double r2 = spotOnline.x() * spotOnline.x() + spotOnline.y() * spotOnline.y();
190190
if (std::abs(spotOnline.z()) >= theMaxZ || r2 >= theMaxR2) {
191191
if (shoutMODE) {
192-
edm::LogError("BeamSpotFromDB")
192+
edm::LogError("BeamSpotOnlineProducer")
193193
<< "Online Beam Spot producer falls back to DB value because the scaler values are too big to be true :"
194194
<< spotOnline.x() << " " << spotOnline.y() << " " << spotOnline.z();
195195
}

0 commit comments

Comments
 (0)