forked from CMS-HIN-dilepton/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 2
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 cms-sw#44660 from AlexDeMoor/from-CMSSW_14_0_X_202…
…4-04-07-2300 [14_0_X] Introduce Unified Particle Transformer AK4 jet tagger (Backport)
- Loading branch information
Showing
28 changed files
with
2,260 additions
and
40 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#ifndef DataFormats_BTauReco_LostTracksFeatures_h | ||
#define DataFormats_BTauReco_LostTracksFeatures_h | ||
|
||
namespace btagbtvdeep { | ||
|
||
class LostTracksFeatures { | ||
public: | ||
float btagPf_trackEtaRel; | ||
float btagPf_trackPtRel; | ||
float btagPf_trackPPar; | ||
float btagPf_trackDeltaR; | ||
float btagPf_trackPParRatio; | ||
float btagPf_trackSip2dVal; | ||
float btagPf_trackSip2dSig; | ||
float btagPf_trackSip3dVal; | ||
float btagPf_trackSip3dSig; | ||
float btagPf_trackJetDistVal; | ||
float drminsv; | ||
float charge; | ||
float puppiw; | ||
float chi2; | ||
float quality; | ||
float lostInnerHits; | ||
float numberOfPixelHits; | ||
float numberOfStripHits; | ||
float pt; | ||
float eta; | ||
float phi; | ||
float e; | ||
}; | ||
|
||
} // namespace btagbtvdeep | ||
|
||
#endif //DataFormats_BTauReco_LostTracksFeatures_h |
25 changes: 25 additions & 0 deletions
25
DataFormats/BTauReco/interface/UnifiedParticleTransformerAK4Features.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,25 @@ | ||
#ifndef DataFormats_BTauReco_UnifiedParticleTransformerAK4Features_h | ||
#define DataFormats_BTauReco_UnifiedParticleTransformerAK4Features_h | ||
|
||
#include "DataFormats/BTauReco/interface/SecondaryVertexFeatures.h" | ||
#include "DataFormats/BTauReco/interface/NeutralCandidateFeatures.h" | ||
#include "DataFormats/BTauReco/interface/ChargedCandidateFeatures.h" | ||
#include "DataFormats/BTauReco/interface/LostTracksFeatures.h" | ||
|
||
#include <vector> | ||
|
||
namespace btagbtvdeep { | ||
|
||
class UnifiedParticleTransformerAK4Features { | ||
public: | ||
bool is_filled = true; | ||
std::vector<SecondaryVertexFeatures> sv_features; | ||
|
||
std::vector<NeutralCandidateFeatures> n_pf_features; | ||
std::vector<ChargedCandidateFeatures> c_pf_features; | ||
std::vector<LostTracksFeatures> lt_features; | ||
}; | ||
|
||
} // namespace btagbtvdeep | ||
|
||
#endif //DataFormats_BTauReco_UnifiedParticleTransformerAK4Features_h |
15 changes: 15 additions & 0 deletions
15
DataFormats/BTauReco/interface/UnifiedParticleTransformerAK4TagInfo.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,15 @@ | ||
#ifndef DataFormats_BTauReco_UnifiedParticleTransformerAK4TagInfo_h | ||
#define DataFormats_BTauReco_UnifiedParticleTransformerAK4TagInfo_h | ||
|
||
#include "DataFormats/BTauReco/interface/UnifiedParticleTransformerAK4Features.h" | ||
#include "DataFormats/BTauReco/interface/FeaturesTagInfo.h" | ||
|
||
namespace reco { | ||
|
||
typedef FeaturesTagInfo<btagbtvdeep::UnifiedParticleTransformerAK4Features> UnifiedParticleTransformerAK4TagInfo; | ||
|
||
DECLARE_EDM_REFS(UnifiedParticleTransformerAK4TagInfo) | ||
|
||
} // namespace reco | ||
|
||
#endif // DataFormats_BTauReco_UnifiedParticleTransformerAK4TagInfo_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.