ATLAS Offline Software
TriggerSkimmingTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // TriggerSkimmingTool.h, (c) ATLAS Detector software
8 
9 #ifndef DERIVATIONFRAMEWORK_TRIGGERSKIMMINGTOOL_H
10 #define DERIVATIONFRAMEWORK_TRIGGERSKIMMINGTOOL_H
11 
12 #include <string>
13 
17 
18 namespace DerivationFramework {
19 
20  class TriggerSkimmingTool : public AthAlgTool, public ISkimmingTool {
21  public:
22  TriggerSkimmingTool(const std::string& t, const std::string& n, const IInterface* p);
23 
24  bool eventPassesFilter() const override;
25  StatusCode initialize() override;
26 
27  private:
28  Gaudi::Property<std::vector<std::string>> m_triggerListAND{this,"TriggerListAND", {}};
29  Gaudi::Property<std::vector<std::string>> m_triggerListOR{this,"TriggerListOR", {}};
30  Gaudi::Property<std::vector<std::string>> m_triggerListORHLTOnly{this,"TriggerListORHLTOnly", {}, "Decision is based on HLT only (unseeded triggers)"};
31  PublicToolHandle<Trig::TrigDecisionTool> m_trigDec{this, "TrigDecisionTool", "Trig::TrigDecisionTool/TrigDecisionTool"};
32 
33  };
34 }
35 
36 #endif // DERIVATIONFRAMEWORK_TRIGGERSKIMMINGTOOL_H
DerivationFramework::TriggerSkimmingTool::m_triggerListAND
Gaudi::Property< std::vector< std::string > > m_triggerListAND
Definition: TriggerSkimmingTool.h:28
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
DerivationFramework::TriggerSkimmingTool::eventPassesFilter
bool eventPassesFilter() const override
Check that the current event passes this filter.
Definition: TriggerSkimmingTool.cxx:39
DerivationFramework::TriggerSkimmingTool::TriggerSkimmingTool
TriggerSkimmingTool(const std::string &t, const std::string &n, const IInterface *p)
Definition: TriggerSkimmingTool.cxx:23
DerivationFramework::TriggerSkimmingTool::m_triggerListORHLTOnly
Gaudi::Property< std::vector< std::string > > m_triggerListORHLTOnly
Definition: TriggerSkimmingTool.h:30
TrigDecisionTool.h
DerivationFramework::ISkimmingTool
Definition: ISkimmingTool.h:25
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::TriggerSkimmingTool
Definition: TriggerSkimmingTool.h:20
DerivationFramework::TriggerSkimmingTool::m_trigDec
PublicToolHandle< Trig::TrigDecisionTool > m_trigDec
Definition: TriggerSkimmingTool.h:31
DerivationFramework::TriggerSkimmingTool::initialize
StatusCode initialize() override
Definition: TriggerSkimmingTool.cxx:31
DerivationFramework::TriggerSkimmingTool::m_triggerListOR
Gaudi::Property< std::vector< std::string > > m_triggerListOR
Definition: TriggerSkimmingTool.h:29
AthAlgTool
Definition: AthAlgTool.h:26
ISkimmingTool.h