-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from cms-sw/CMSSW_7_1_X
Merge cms-sw CMSSW_7_1_X into my CMSSW_7_1_X
- Loading branch information
Showing
688 changed files
with
29,213 additions
and
17,181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
// This is the file "FactorizedJetCorrector.cc". | ||
// This is the file "FactorizedJetCorrector.cc". | ||
// This is the implementation of the class FactorizedJetCorrector. | ||
// Author: Konstantinos Kousouris, Philipp Schieferdecker | ||
// Email: [email protected], [email protected] | ||
|
||
#include "CondFormats/JetMETObjects/interface/FactorizedJetCorrector.h" | ||
#include "CondFormats/JetMETObjects/interface/SimpleJetCorrector.h" | ||
#include "CondFormats/JetMETObjects/interface/JetCorrectorParameters.h" | ||
#include "CondFormats/JetMETObjects/src/Utilities.cc" | ||
#include "CondFormats/JetMETObjects/interface/Utilities.h" | ||
#include "Math/PtEtaPhiE4D.h" | ||
#include "Math/Vector3D.h" | ||
#include "Math/LorentzVector.h" | ||
#include <vector> | ||
#include <string> | ||
#include <sstream> | ||
|
||
//------------------------------------------------------------------------ | ||
//------------------------------------------------------------------------ | ||
//--- Default FactorizedJetCorrector constructor ------------------------- | ||
//------------------------------------------------------------------------ | ||
FactorizedJetCorrector::FactorizedJetCorrector() | ||
{ | ||
} | ||
//------------------------------------------------------------------------ | ||
//------------------------------------------------------------------------ | ||
//--- FactorizedJetCorrector constructor --------------------------------- | ||
//------------------------------------------------------------------------ | ||
FactorizedJetCorrector::FactorizedJetCorrector(const std::string& fLevels, const std::string& fFiles, const std::string& fOptions): | ||
|
@@ -35,21 +35,21 @@ FactorizedJetCorrector::FactorizedJetCorrector(const std::vector<JetCorrectorPar | |
{ | ||
} | ||
|
||
//------------------------------------------------------------------------ | ||
//------------------------------------------------------------------------ | ||
//--- Returns the correction --------------------------------------------- | ||
//------------------------------------------------------------------------ | ||
float FactorizedJetCorrector::getCorrection() | ||
{ | ||
return mCalc.getCorrection(mValues); | ||
} | ||
//------------------------------------------------------------------------ | ||
//------------------------------------------------------------------------ | ||
//--- Returns the vector of subcorrections, up to a given level ---------- | ||
//------------------------------------------------------------------------ | ||
std::vector<float> FactorizedJetCorrector::getSubCorrections() | ||
{ | ||
return mCalc.getSubCorrections(mValues); | ||
} | ||
//------------------------------------------------------------------------ | ||
//------------------------------------------------------------------------ | ||
//--- Setters ------------------------------------------------------------ | ||
//------------------------------------------------------------------------ | ||
void FactorizedJetCorrector::setNPV(int fNPV) | ||
|
Oops, something went wrong.