-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 #31080 from CMSBParking/updateLowPtId
LowPtElectrons: updated BDT model and code base for ID
- Loading branch information
Showing
7 changed files
with
622 additions
and
259 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<use name="CommonTools/BaseParticlePropagator"/> | ||
<use name="DataFormats/BeamSpot"/> | ||
<use name="DataFormats/Common"/> | ||
<use name="DataFormats/EgammaCandidates"/> | ||
<use name="DataFormats/GsfTrackReco"/> | ||
<use name="DataFormats/ParticleFlowReco"/> | ||
<use name="DataFormats/TrackReco"/> | ||
<use name="RecoEcal/EgammaCoreTools"/> | ||
<export> | ||
<lib name="RecoEgammaEgammaElectronProducers"/> | ||
</export> |
34 changes: 34 additions & 0 deletions
34
RecoEgamma/EgammaElectronProducers/interface/LowPtGsfElectronFeatures.h
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,34 @@ | ||
#ifndef RecoEgamma_EgammaElectronProducers_LowPtGsfElectronFeatures_h | ||
#define RecoEgamma_EgammaElectronProducers_LowPtGsfElectronFeatures_h | ||
|
||
#include "DataFormats/BeamSpot/interface/BeamSpot.h" | ||
#include "DataFormats/Common/interface/Ptr.h" | ||
#include "DataFormats/Common/interface/Ref.h" | ||
#include "DataFormats/Common/interface/RefToPtr.h" | ||
#include "DataFormats/Common/interface/View.h" | ||
#include "DataFormats/EgammaCandidates/interface/GsfElectron.h" | ||
#include "DataFormats/ParticleFlowReco/interface/PreId.h" | ||
#include "RecoEcal/EgammaCoreTools/interface/EcalClusterLazyTools.h" | ||
#include <vector> | ||
|
||
namespace lowptgsfeleseed { | ||
|
||
std::vector<float> features(const reco::PreId& ecal, | ||
const reco::PreId& hcal, | ||
double rho, | ||
const reco::BeamSpot& spot, | ||
noZS::EcalClusterLazyTools& ecalTools); | ||
|
||
} | ||
|
||
namespace lowptgsfeleid { | ||
|
||
std::vector<float> features(edm::Ptr<reco::GsfElectron> const& ele, float rho, float unbiased); | ||
|
||
std::vector<float> features(edm::Ref<std::vector<reco::GsfElectron> > const& ele, float rho, float unbiased); | ||
|
||
std::vector<float> features(edm::Ref<edm::View<reco::GsfElectron> > const& ele, float rho, float unbiased); | ||
|
||
} // namespace lowptgsfeleid | ||
|
||
#endif // RecoEgamma_EgammaElectronProducers_LowPtGsfElectronFeatures_h |
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
Oops, something went wrong.