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 #1564 from yetkinyilmaz/reco_12_03
Heavy Ion re-reco software
- Loading branch information
Showing
91 changed files
with
14,535 additions
and
2,866 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#ifndef DataFormats_VoronoiBackground_h | ||
#define DataFormats_VoronoiBackground_h | ||
|
||
#include "DataFormats/Candidate/interface/Candidate.h" | ||
#include "DataFormats/ParticleFlowCandidate/interface/PFCandidate.h" | ||
#include "DataFormats/Common/interface/ValueMap.h" | ||
|
||
#include <string> | ||
#include <vector> | ||
|
||
namespace reco { class VoronoiBackground { | ||
public: | ||
VoronoiBackground(); | ||
VoronoiBackground(double pt0, double pt1, double mt0, double mt1, double v); | ||
virtual ~VoronoiBackground(); | ||
|
||
double pt() const{ return pt_posteq; } | ||
double pt_equalized() const{ return pt_posteq; } | ||
double pt_subtracted() const{ return pt_preeq; } | ||
|
||
double mt() const{ return mt_posteq; } | ||
double mt_equalized() const{ return mt_posteq; } | ||
double mt_initial() const{ return mt_preeq; } | ||
|
||
protected: | ||
|
||
double pt_preeq; | ||
double pt_posteq; | ||
|
||
double mt_preeq; | ||
double mt_posteq; | ||
|
||
double voronoi_area; | ||
|
||
}; | ||
|
||
typedef edm::ValueMap<reco::VoronoiBackground> VoronoiMap; | ||
typedef edm::Ref<reco::CandidateView> CandidateViewRef; | ||
|
||
|
||
} | ||
|
||
#endif | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#include "DataFormats/HeavyIonEvent/interface/VoronoiBackground.h" | ||
using namespace reco; | ||
|
||
VoronoiBackground::VoronoiBackground() | ||
: | ||
pt_preeq(0), | ||
pt_posteq(0), | ||
mt_preeq(0), | ||
mt_posteq(0), | ||
voronoi_area(0) | ||
{ | ||
} | ||
|
||
VoronoiBackground::VoronoiBackground(double pt0, double pt1, double mt0, double mt1, double v) | ||
: | ||
pt_preeq(pt0), | ||
pt_posteq(pt1), | ||
mt_preeq(mt0), | ||
mt_posteq(mt1), | ||
voronoi_area(v) | ||
{ | ||
} | ||
|
||
VoronoiBackground::~VoronoiBackground() | ||
{ | ||
} | ||
|
||
|
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.