Skip to content

Commit 41a2131

Browse files
authored
[DQM] Fixing currdir for issue cms-sw#36650
This PR fixes the issue cms-sw#36650
1 parent 3120bf4 commit 41a2131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Validation/RecoVertex/src/BeamSpotHistogramMaker.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void BeamSpotHistogramMaker::book(const std::string dirname) {
2626
currdir = new TFileDirectory(tfserv->mkdir(dirname));
2727
_currdir = currdir;
2828
} else {
29-
currdir = &(tfserv->tFileDirectory());
29+
_currdir = &(tfserv->tFileDirectory());
3030
}
3131

3232
edm::LogInfo("HistogramBooking") << "BeamSpot histogram booking in directory " << dirname;

0 commit comments

Comments
 (0)