#include <SkimmingToolEXOT5.h>
Definition at line 22 of file SkimmingToolEXOT5.h.
◆ SkimmingToolEXOT5()
DerivationFramework::SkimmingToolEXOT5::SkimmingToolEXOT5 |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
◆ ~SkimmingToolEXOT5()
DerivationFramework::SkimmingToolEXOT5::~SkimmingToolEXOT5 |
( |
| ) |
|
◆ eventPassesFilter()
bool DerivationFramework::SkimmingToolEXOT5::eventPassesFilter |
( |
| ) |
const |
|
overridevirtual |
Definition at line 68 of file SkimmingToolEXOT5.cxx.
79 bool passUncalibMonojetCut =
false;
80 bool passRecoJetCuts =
false;
81 bool passTruthJetCuts =
false;
83 std::unique_ptr<xAOD::JetContainer> recoJets = make_unique<xAOD::JetContainer>();
84 std::unique_ptr<xAOD::JetAuxContainer> recoJetsAux = make_unique<xAOD::JetAuxContainer>();
85 recoJets->setStore(recoJetsAux.get());
88 for (
const auto jet : *jets_shallowCopy.first) {
89 if (
jet->pt() > 100000.) passUncalibMonojetCut =
true;
95 for (
const auto jet : *jets_shallowCopy.first) {
100 delete jets_shallowCopy.first;
101 delete jets_shallowCopy.second;
105 if (recoJets->
size() > 1) {
106 TLorentzVector jet1 = recoJets->
at(0)->p4();
107 TLorentzVector jet2 = recoJets->
at(1)->p4();
108 auto dijet = jet1 + jet2;
117 std::unique_ptr<xAOD::JetContainer> truthJets = make_unique<xAOD::JetContainer>();
118 std::unique_ptr<xAOD::JetAuxContainer> truthJetsAux = make_unique<xAOD::JetAuxContainer>();
119 truthJets->setStore(truthJetsAux.get());
121 for (
const auto truthJet : *truthJetContainer) {
129 if (truthJets->
size() > 1) {
130 TLorentzVector truthJet1 = truthJets->
at(0)->p4();
131 TLorentzVector truthJet2 = truthJets->
at(1)->p4();
132 auto truthDijet = truthJet1 + truthJet2;
133 truthMjj = truthDijet.M();
138 bool acceptEvent = passUncalibMonojetCut || passRecoJetCuts || passTruthJetCuts;
◆ finalize()
StatusCode DerivationFramework::SkimmingToolEXOT5::finalize |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
StatusCode DerivationFramework::SkimmingToolEXOT5::initialize |
( |
| ) |
|
|
overridevirtual |
◆ m_jetCalibrationTool
◆ m_jetSGKey
std::string DerivationFramework::SkimmingToolEXOT5::m_jetSGKey |
|
private |
◆ m_leadingJetPt
double DerivationFramework::SkimmingToolEXOT5::m_leadingJetPt |
|
private |
◆ m_Mjj
double DerivationFramework::SkimmingToolEXOT5::m_Mjj |
|
private |
◆ m_monoJetPt
double DerivationFramework::SkimmingToolEXOT5::m_monoJetPt |
|
private |
◆ m_npass
std::atomic<unsigned int> DerivationFramework::SkimmingToolEXOT5::m_npass |
|
mutableprivate |
◆ m_ntot
std::atomic<unsigned int> DerivationFramework::SkimmingToolEXOT5::m_ntot |
|
mutableprivate |
◆ m_subleadingJetPt
double DerivationFramework::SkimmingToolEXOT5::m_subleadingJetPt |
|
private |
◆ m_uncalibMonoJetPt
double DerivationFramework::SkimmingToolEXOT5::m_uncalibMonoJetPt |
|
private |
The documentation for this class was generated from the following files:
std::pair< std::unique_ptr< T >, std::unique_ptr< ShallowAuxContainer > > shallowCopyContainer(const T &cont, [[maybe_unused]] const EventContext &ctx)
Function making a shallow copy of a constant container.
void partial_sort(std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, std::reverse_iterator< DataModel_detail::iterator< DVL > > mid, std::reverse_iterator< DataModel_detail::iterator< DVL > > end, Compare comp)
Specialization of partial_sort for DataVector/List.