-
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 #44807 from hqucms/xpog/lazy-eval-140x
[14_0_X] Using explicit lazy parsing & concrete data types in SimpleFlatTableProducer
- Loading branch information
Showing
35 changed files
with
240 additions
and
151 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
24 changes: 24 additions & 0 deletions
24
PhysicsTools/NanoAOD/plugins/SimpleL1TFlatTableProducerPlugins.cc
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,24 @@ | ||
#include "PhysicsTools/NanoAOD/interface/SimpleFlatTableProducer.h" | ||
|
||
#include "DataFormats/L1Trigger/interface/EGamma.h" | ||
typedef BXVectorSimpleFlatTableProducer<l1t::EGamma> SimpleTriggerL1EGFlatTableProducer; | ||
|
||
#include "DataFormats/L1Trigger/interface/Jet.h" | ||
typedef BXVectorSimpleFlatTableProducer<l1t::Jet> SimpleTriggerL1JetFlatTableProducer; | ||
|
||
#include "DataFormats/L1Trigger/interface/Tau.h" | ||
typedef BXVectorSimpleFlatTableProducer<l1t::Tau> SimpleTriggerL1TauFlatTableProducer; | ||
|
||
#include "DataFormats/L1Trigger/interface/Muon.h" | ||
typedef BXVectorSimpleFlatTableProducer<l1t::Muon> SimpleTriggerL1MuonFlatTableProducer; | ||
|
||
#include "DataFormats/L1Trigger/interface/EtSum.h" | ||
typedef BXVectorSimpleFlatTableProducer<l1t::EtSum> SimpleTriggerL1EtSumFlatTableProducer; | ||
|
||
#include "FWCore/Framework/interface/MakerMacros.h" | ||
|
||
DEFINE_FWK_MODULE(SimpleTriggerL1EGFlatTableProducer); | ||
DEFINE_FWK_MODULE(SimpleTriggerL1JetFlatTableProducer); | ||
DEFINE_FWK_MODULE(SimpleTriggerL1MuonFlatTableProducer); | ||
DEFINE_FWK_MODULE(SimpleTriggerL1TauFlatTableProducer); | ||
DEFINE_FWK_MODULE(SimpleTriggerL1EtSumFlatTableProducer); |
50 changes: 50 additions & 0 deletions
50
PhysicsTools/NanoAOD/plugins/SimplePATFlatTableProducerPlugins.cc
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,50 @@ | ||
#include "PhysicsTools/NanoAOD/interface/SimpleFlatTableProducer.h" | ||
|
||
#include "DataFormats/PatCandidates/interface/Electron.h" | ||
typedef SimpleFlatTableProducer<pat::Electron> SimplePATElectronFlatTableProducer; | ||
|
||
#include "DataFormats/PatCandidates/interface/Muon.h" | ||
typedef SimpleFlatTableProducer<pat::Muon> SimplePATMuonFlatTableProducer; | ||
|
||
#include "DataFormats/PatCandidates/interface/Tau.h" | ||
typedef SimpleFlatTableProducer<pat::Tau> SimplePATTauFlatTableProducer; | ||
|
||
#include "DataFormats/PatCandidates/interface/Photon.h" | ||
typedef SimpleFlatTableProducer<pat::Photon> SimplePATPhotonFlatTableProducer; | ||
|
||
#include "DataFormats/PatCandidates/interface/Jet.h" | ||
typedef SimpleFlatTableProducer<pat::Jet> SimplePATJetFlatTableProducer; | ||
|
||
#include "DataFormats/PatCandidates/interface/IsolatedTrack.h" | ||
typedef SimpleFlatTableProducer<pat::IsolatedTrack> SimplePATIsolatedTrackFlatTableProducer; | ||
|
||
#include "DataFormats/PatCandidates/interface/GenericParticle.h" | ||
typedef SimpleFlatTableProducer<pat::GenericParticle> SimplePATGenericParticleFlatTableProducer; | ||
|
||
#include "DataFormats/PatCandidates/interface/PackedCandidate.h" | ||
typedef SimpleFlatTableProducer<pat::PackedCandidate> SimplePATCandidateFlatTableProducer; | ||
|
||
#include "DataFormats/PatCandidates/interface/MET.h" | ||
typedef SimpleFlatTableProducer<pat::MET> SimplePATMETFlatTableProducer; | ||
|
||
#include "DataFormats/VertexReco/interface/TrackTimeLifeInfo.h" | ||
typedef SimpleTypedExternalFlatTableProducer<pat::Electron, TrackTimeLifeInfo> | ||
SimplePATElectron2TrackTimeLifeInfoFlatTableProducer; | ||
typedef SimpleTypedExternalFlatTableProducer<pat::Muon, TrackTimeLifeInfo> | ||
SimplePATMuon2TrackTimeLifeInfoFlatTableProducer; | ||
typedef SimpleTypedExternalFlatTableProducer<pat::Tau, TrackTimeLifeInfo> | ||
SimplePATTau2TrackTimeLifeInfoFlatTableProducer; | ||
|
||
#include "FWCore/Framework/interface/MakerMacros.h" | ||
DEFINE_FWK_MODULE(SimplePATElectronFlatTableProducer); | ||
DEFINE_FWK_MODULE(SimplePATMuonFlatTableProducer); | ||
DEFINE_FWK_MODULE(SimplePATTauFlatTableProducer); | ||
DEFINE_FWK_MODULE(SimplePATPhotonFlatTableProducer); | ||
DEFINE_FWK_MODULE(SimplePATJetFlatTableProducer); | ||
DEFINE_FWK_MODULE(SimplePATIsolatedTrackFlatTableProducer); | ||
DEFINE_FWK_MODULE(SimplePATGenericParticleFlatTableProducer); | ||
DEFINE_FWK_MODULE(SimplePATCandidateFlatTableProducer); | ||
DEFINE_FWK_MODULE(SimplePATMETFlatTableProducer); | ||
DEFINE_FWK_MODULE(SimplePATElectron2TrackTimeLifeInfoFlatTableProducer); | ||
DEFINE_FWK_MODULE(SimplePATMuon2TrackTimeLifeInfoFlatTableProducer); | ||
DEFINE_FWK_MODULE(SimplePATTau2TrackTimeLifeInfoFlatTableProducer); |
23 changes: 23 additions & 0 deletions
23
PhysicsTools/NanoAOD/plugins/SimpleScoutingFlatTableProducerPlugins.cc
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,23 @@ | ||
#include "PhysicsTools/NanoAOD/interface/SimpleFlatTableProducer.h" | ||
|
||
#include "DataFormats/Scouting/interface/Run3ScoutingVertex.h" | ||
typedef SimpleFlatTableProducer<Run3ScoutingVertex> SimpleRun3ScoutingVertexFlatTableProducer; | ||
|
||
#include "DataFormats/Scouting/interface/Run3ScoutingPhoton.h" | ||
typedef SimpleFlatTableProducer<Run3ScoutingPhoton> SimpleRun3ScoutingPhotonFlatTableProducer; | ||
|
||
#include "DataFormats/Scouting/interface/Run3ScoutingMuon.h" | ||
typedef SimpleFlatTableProducer<Run3ScoutingMuon> SimpleRun3ScoutingMuonFlatTableProducer; | ||
|
||
#include "DataFormats/Scouting/interface/Run3ScoutingElectron.h" | ||
typedef SimpleFlatTableProducer<Run3ScoutingElectron> SimpleRun3ScoutingElectronFlatTableProducer; | ||
|
||
#include "DataFormats/Scouting/interface/Run3ScoutingTrack.h" | ||
typedef SimpleFlatTableProducer<Run3ScoutingTrack> SimpleRun3ScoutingTrackFlatTableProducer; | ||
|
||
#include "FWCore/Framework/interface/MakerMacros.h" | ||
DEFINE_FWK_MODULE(SimpleRun3ScoutingVertexFlatTableProducer); | ||
DEFINE_FWK_MODULE(SimpleRun3ScoutingPhotonFlatTableProducer); | ||
DEFINE_FWK_MODULE(SimpleRun3ScoutingMuonFlatTableProducer); | ||
DEFINE_FWK_MODULE(SimpleRun3ScoutingElectronFlatTableProducer); | ||
DEFINE_FWK_MODULE(SimpleRun3ScoutingTrackFlatTableProducer); |
Oops, something went wrong.