#include <SUSYSignalTagger.h>
|
| SG::ReadHandleKey< xAOD::TruthParticleContainer > | m_mcName { this,"MCCollectionName", "TruthParticles", "MC Collection Key"} |
| |
| SG::ReadHandleKey< xAOD::EventInfo > | m_eventInfoName { this, "EventInfoName", "EventInfo", "Event Info Key"} |
| |
| SG::WriteDecorHandleKey< xAOD::EventInfo > | m_dec_procIDKey {this, "SUSY_procIDKey", m_eventInfoName, "SUSY_procID"} |
| |
| SG::WriteDecorHandleKey< xAOD::EventInfo > | m_dec_pdgId1Key {this, "SUSY_pid1Key", m_eventInfoName, "SUSY_pid1"} |
| |
| SG::WriteDecorHandleKey< xAOD::EventInfo > | m_dec_pdgId2Key {this, "SUSY_pid2Key", m_eventInfoName, "SUSY_pid2"} |
| |
Definition at line 28 of file SUSYSignalTagger.h.
◆ SUSYSignalTagger()
| DerivationFramework::SUSYSignalTagger::SUSYSignalTagger |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
◆ ~SUSYSignalTagger()
| DerivationFramework::SUSYSignalTagger::~SUSYSignalTagger |
( |
| ) |
|
|
default |
◆ addBranches()
| StatusCode DerivationFramework::SUSYSignalTagger::addBranches |
( |
const EventContext & |
ctx | ) |
const |
|
overridevirtual |
Definition at line 31 of file SUSYSignalTagger.cxx.
33 if (!eventInfo.isValid()) {
35 return StatusCode::FAILURE;
39 if (!truthPC.isValid()) {
41 return StatusCode::FAILURE;
54 dec_procID(*eventInfo) = 0;
55 dec_pdgId1(*eventInfo) = -99;
56 dec_pdgId2(*eventInfo) = -99;
57 return StatusCode::SUCCESS;
62 dec_procID(*eventInfo) = procID;
63 dec_pdgId1(*eventInfo) = pdgId1;
64 dec_pdgId2(*eventInfo) = pdgId2;
65 return StatusCode::SUCCESS;
◆ FindSusyHardProc()
Definition at line 70 of file SUSYSignalTagger.cxx.
79 for (
const auto tp : truthP) {
81 if (
tp->nParents() != 0) {
85 }
else if (!secondsp) {
108 if (!firstsp && !secondsp)
return false;
110 if (firstsp && firstsp->nChildren() == 1) {
111 for (
const auto tp : truthP) {
118 if (secondsp && secondsp->nChildren() == 1) {
119 for (
const auto tp : truthP) {
126 if (firstsp && abs(firstsp->pdgId()) > 1000000) pdgid1 = firstsp->pdgId();
127 if (secondsp && abs(secondsp->pdgId()) > 1000000) pdgid2 = secondsp->pdgId();
◆ initialize()
| StatusCode DerivationFramework::SUSYSignalTagger::initialize |
( |
| ) |
|
|
finaloverridevirtual |
◆ m_dec_pdgId1Key
◆ m_dec_pdgId2Key
◆ m_dec_procIDKey
◆ m_eventInfoName
◆ m_mcName
The documentation for this class was generated from the following files:
Class describing a truth particle in the MC record.