Skip to content

Commit

Permalink
missing a return statement in ClusterAlgoFastJet::Cluster(...)
Browse files Browse the repository at this point in the history
  • Loading branch information
BFuks committed Mar 21, 2022
1 parent 873af20 commit 8cc2c83
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 6 deletions.
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
*/*.pyc
*/*/*.pyc
*/*/*/*.pyc
*/*/*/*.log
tools/SampleAnalyzer/Interfaces/Makefile_*
tools/SampleAnalyzer/Test/Makefile_*
*/*/*.aux
*/*/*.bbl
*/*/*.blg
*/*/*.toc
*/*/*.out
*/*/*.log
doc/??????_mode.log
doc/??????_mode.pdf
4 changes: 2 additions & 2 deletions tools/SampleAnalyzer/Commons/Base/Configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ using namespace MA5;
// Initializing static data members
// -----------------------------------------------------------------------------
// DO NOT TOUCH THESE LINES
const std::string Configuration::sampleanalyzer_version_ = "1.10.1";
const std::string Configuration::sampleanalyzer_date_ = "2022/01/15";
const std::string Configuration::sampleanalyzer_version_ = "1.10.2";
const std::string Configuration::sampleanalyzer_date_ = "2022/02/15";
// DO NOT TOUCH THESE LINES

// -----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion tools/SampleAnalyzer/Commons/DataFormat/RecEventFormat.h
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ class RecEventFormat
{
INFO << " -------------------------------------------" << endmsg;
INFO << " Event Content : " << endmsg;
INFO << " * Jets Content : " << endmsg;
INFO << " * Jet Content : " << endmsg;
for (std::map<std::string, std::vector<RecJetFormat> >::const_iterator
it=jetcollection_.begin();it!=jetcollection_.end();it++)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ MAbool ClusterAlgoFastJet::Execute(SampleFormat& mySample, EventFormat& myEvent,
if (jets.size() == 0) myEvent.rec()->GetNewEmptyJet();

Meff += MET->pt();
// Filling the dataformat with jets
return true;

// Filling the dataformat with jets return true;
}

// Additional jet clustering. needs execute to run before!!
Expand Down Expand Up @@ -146,4 +146,7 @@ MAbool ClusterAlgoFastJet::Cluster(EventFormat& myEvent, std::string JetID)

// Create an empty accessor
if (jets.size() == 0) myEvent.rec()->CreateEmptyJetAccesor(JetID);
}

// Filling the dataformat with jets
return true;
}

0 comments on commit 8cc2c83

Please sign in to comment.