#include <TriggerGenericObjectThinningTool.h>
|
StringProperty | m_streamName { this, "StreamName", "", "Name of the stream being thinned" } |
|
SG::ThinningHandleKey< xAOD::IParticleContainer > | m_SGKey { this, "ContainerName", "", "" } |
|
Gaudi::Property< std::vector< std::string > > | m_triggerListAND {this,"TriggerListAND", {}} |
|
Gaudi::Property< std::vector< std::string > > | m_triggerListOR {this,"TriggerListOR", {}} |
|
Gaudi::Property< std::vector< std::string > > | m_triggerListORHLTOnly {this,"TriggerListORHLTOnly", {}, "Decision is based on HLT only (unseeded triggers)"} |
|
PublicToolHandle< Trig::TrigDecisionTool > | m_trigDec {this, "TrigDecisionTool", "Trig::TrigDecisionTool/TrigDecisionTool"} |
|
◆ TriggerGenericObjectThinningTool()
DerivationFramework::TriggerGenericObjectThinningTool::TriggerGenericObjectThinningTool |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
◆ ~TriggerGenericObjectThinningTool()
DerivationFramework::TriggerGenericObjectThinningTool::~TriggerGenericObjectThinningTool |
( |
| ) |
|
◆ doThinning()
StatusCode DerivationFramework::TriggerGenericObjectThinningTool::doThinning |
( |
| ) |
const |
|
overridevirtual |
Definition at line 68 of file TriggerGenericObjectThinningTool.cxx.
70 const EventContext& ctx = Gaudi::Hive::currentContext();
76 unsigned int nObjects =
particles->size();
77 if (nObjects==0)
return StatusCode::SUCCESS;
83 std::vector<bool>
mask;
84 mask.assign(nObjects,keep_container);
90 return StatusCode::SUCCESS;
◆ eventPassedFilter()
bool DerivationFramework::TriggerGenericObjectThinningTool::eventPassedFilter |
( |
| ) |
const |
|
private |
Definition at line 6 of file TriggerGenericObjectThinningTool.cxx.
11 for (
const std::string& fired : fired_triggers) {
16 unsigned int cntrAND{0}, cntrOR{0}, cntrORHLTOnly{0};
26 ATH_MSG_DEBUG(
"ORHLTOnly - Trigger "<<trig_orhltonly<<
" passed "<<
m_trigDec->isPassed(trig_orhltonly, TrigDefs::requireDecision));
27 cntrORHLTOnly +=(
m_trigDec->isPassed(trig_orhltonly, TrigDefs::requireDecision));
31 bool passOR = (cntrOR > 0);
32 bool passORHLTOnly = (cntrORHLTOnly > 0);
34 bool pass = passAND ||
passOR || passORHLTOnly;
◆ finalize()
StatusCode DerivationFramework::TriggerGenericObjectThinningTool::finalize |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
StatusCode DerivationFramework::TriggerGenericObjectThinningTool::initialize |
( |
| ) |
|
|
overridevirtual |
◆ m_SGKey
◆ m_streamName
StringProperty DerivationFramework::TriggerGenericObjectThinningTool::m_streamName { this, "StreamName", "", "Name of the stream being thinned" } |
|
private |
◆ m_trigDec
◆ m_triggerListAND
Gaudi::Property<std::vector<std::string> > DerivationFramework::TriggerGenericObjectThinningTool::m_triggerListAND {this,"TriggerListAND", {}} |
|
private |
◆ m_triggerListOR
Gaudi::Property<std::vector<std::string> > DerivationFramework::TriggerGenericObjectThinningTool::m_triggerListOR {this,"TriggerListOR", {}} |
|
private |
◆ m_triggerListORHLTOnly
Gaudi::Property<std::vector<std::string> > DerivationFramework::TriggerGenericObjectThinningTool::m_triggerListORHLTOnly {this,"TriggerListORHLTOnly", {}, "Decision is based on HLT only (unseeded triggers)"} |
|
private |
The documentation for this class was generated from the following files: