Skip to content

Commit

Permalink
followup on code-checks
Browse files Browse the repository at this point in the history
  • Loading branch information
mbluj committed Dec 18, 2018
1 parent 734d66d commit 3acdbb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -197,7 +197,7 @@ void PATTauDiscriminantCutMultiplexer::beginEvent(const edm::Event& evt, const e
//Only open the file once and we can close it when this routine is done
// since all objects gotten from the file will have been copied
std::unique_ptr<TFile> inputFile;
if ( mvaOutputNormalizationName_ != "" ) {
if ( !mvaOutputNormalizationName_.empty() ) {
if ( !loadMVAfromDB_ ) {
inputFile = openInputFile(inputFileName_);
mvaOutput_normalization_ = loadObjectFromFile<TFormula>(*inputFile, mvaOutputNormalizationName_);
Expand Down
Expand Up @@ -195,7 +195,7 @@ void RecoTauDiscriminantCutMultiplexer::beginEvent(const edm::Event& evt, const
//Only open the file once and we can close it when this routine is done
// since all objects gotten from the file will have been copied
std::unique_ptr<TFile> inputFile;
if ( mvaOutputNormalizationName_ != "" ) {
if ( !mvaOutputNormalizationName_.empty() ) {
if ( !loadMVAfromDB_ ) {
inputFile = openInputFile(inputFileName_);
mvaOutput_normalization_ = loadObjectFromFile<TFormula>(*inputFile, mvaOutputNormalizationName_);
Expand Down

0 comments on commit 3acdbb4

Please sign in to comment.