#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 EventContext & | ctx | ) |
const |
|
overridevirtual |
Definition at line 67 of file TriggerGenericObjectThinningTool.cxx.
68 {
69
70
72
73
74 unsigned int nObjects =
particles->size();
75 if (nObjects==0) return StatusCode::SUCCESS;
76
77
79
80
81 std::vector<bool>
mask;
82 mask.assign(nObjects,keep_container);
83
84
85
87
88 return StatusCode::SUCCESS;
89 }
◆ eventPassedFilter()
| bool DerivationFramework::TriggerGenericObjectThinningTool::eventPassedFilter |
( |
| ) |
const |
|
private |
Definition at line 5 of file TriggerGenericObjectThinningTool.cxx.
6 {
7 if (msgLvl(MSG::VERBOSE)){
8 const Trig::ChainGroup* Chain =
m_trigDec->getChainGroup(
".*");
10 for (const std::string& fired : fired_triggers) {
12 }
13 }
14
15 unsigned int cntrAND{0}, cntrOR{0}, cntrORHLTOnly{0};
19 }
23 }
27 }
28
30 bool passOR = (cntrOR > 0);
31 bool passORHLTOnly = (cntrORHLTOnly > 0);
32
33 bool pass = passAND ||
passOR || passORHLTOnly;
34 return pass;
35 }
#define ATH_MSG_VERBOSE(x)
std::vector< std::string > getListOfTriggers() const
static const unsigned int requireDecision
◆ 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
| PublicToolHandle<Trig::TrigDecisionTool> DerivationFramework::TriggerGenericObjectThinningTool::m_trigDec {this, "TrigDecisionTool", "Trig::TrigDecisionTool/TrigDecisionTool"} |
|
private |
◆ 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: