#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.
69 {
70 const EventContext& ctx = Gaudi::Hive::currentContext();
71
72
74
75
76 unsigned int nObjects =
particles->size();
77 if (nObjects==0) return StatusCode::SUCCESS;
78
79
81
82
83 std::vector<bool>
mask;
84 mask.assign(nObjects,keep_container);
85
86
87
89
90 return StatusCode::SUCCESS;
91 }
◆ eventPassedFilter()
| bool DerivationFramework::TriggerGenericObjectThinningTool::eventPassedFilter |
( |
| ) |
const |
|
private |
Definition at line 6 of file TriggerGenericObjectThinningTool.cxx.
7 {
8 if (msgLvl(MSG::VERBOSE)){
9 const Trig::ChainGroup* Chain =
m_trigDec->getChainGroup(
".*");
11 for (const std::string& fired : fired_triggers) {
13 }
14 }
15
16 unsigned int cntrAND{0}, cntrOR{0}, cntrORHLTOnly{0};
20 }
24 }
28 }
29
31 bool passOR = (cntrOR > 0);
32 bool passORHLTOnly = (cntrORHLTOnly > 0);
33
34 bool pass = passAND ||
passOR || passORHLTOnly;
35 return pass;
36 }
#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: