Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

Commit

Permalink
Add a guard against missing pile-up reweighter in PECReaderConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-popov committed Jan 29, 2014
1 parent aa23f90 commit 9901232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/PECReaderConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ PECReaderConfig::PECReaderConfig(PECReaderConfig const &src):
eventSelection(src.eventSelection->Clone()),
bTagger(src.bTagger),
bTagDatabase((src.bTagDatabase) ? new BTagDatabase(*src.bTagDatabase) : nullptr),
puReweighter(src.puReweighter->Clone()),
puReweighter((src.puReweighter) ? src.puReweighter->Clone() : nullptr),
weightFilesLocation(src.weightFilesLocation),
readHardInteraction(src.readHardInteraction),
syst(src.syst)
Expand Down

0 comments on commit 9901232

Please sign in to comment.