ATLAS Offline Software
TrigBmumuxComboHypoTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIG_TrigBmumuxComboHypoTool_H
6 #define TRIG_TrigBmumuxComboHypoTool_H
7 
8 #include <string>
9 #include <vector>
10 
12 
15 
18 
21 
22 
28  public:
29  TrigBmumuxComboHypoTool(const std::string& type, const std::string& name, const IInterface* parent);
30  virtual StatusCode initialize() override;
31  virtual StatusCode decideOnSingleObject(TrigCompositeUtils::Decision*, const std::vector<const TrigCompositeUtils::DecisionIDContainer*>&) const override;
32 
33  private:
34  bool passed(const xAOD::TrigBphys*) const;
35  virtual bool executeAlg(const std::vector<Combo::LegDecision>&) const override;
36 
37  Gaudi::Property<int> m_decay {this, "Decay", 9999, "decay as enumerated in xAOD::TrigBphys::pType"};
38  Gaudi::Property<bool> m_isBmux {this, "isBmux", false, "B+ -> mu+ nu_mu X decay (bBmux)"};
39 
40  ToolHandle<GenericMonitoringTool> m_monTool {this, "MonTool", "", "Monitoring tool"};
41 };
42 
43 #endif // TRIG_TrigBmumuxComboHypoTool_H
TrigBmumuxComboHypoTool::m_decay
Gaudi::Property< int > m_decay
Definition: TrigBmumuxComboHypoTool.h:37
TrigBmumuxComboHypoTool::passed
bool passed(const xAOD::TrigBphys *) const
Definition: TrigBmumuxComboHypoTool.cxx:32
TrigBmumuxComboHypoTool
ComboHypoTool for B -> mu+ mu- X (bBmumux) and B+ -> mu+ nu_mu X (bBmux) decays.
Definition: TrigBmumuxComboHypoTool.h:27
ComboHypoToolBase
Base class for tools which cut on properties of multi-object or multi-leg chains. User should derive ...
Definition: ComboHypoToolBase.h:26
TrigBmumuxComboHypoTool::decideOnSingleObject
virtual StatusCode decideOnSingleObject(TrigCompositeUtils::Decision *, const std::vector< const TrigCompositeUtils::DecisionIDContainer * > &) const override
Alternate method called by BPhysics ComboHypoAlgs instead of the base method decide(....
Definition: TrigBmumuxComboHypoTool.cxx:64
TrigCompositeUtils.h
GenericMonitoringTool.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigBphys.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TrigBmumuxComboHypoTool::executeAlg
virtual bool executeAlg(const std::vector< Combo::LegDecision > &) const override
Only a dummy implementation exists in ComboHypoToolBase.
Definition: TrigBmumuxComboHypoTool.cxx:124
xAOD::TrigComposite_v1
Class used to describe composite objects in the HLT.
Definition: TrigComposite_v1.h:52
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
TrigBmumuxComboHypoTool::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: TrigBmumuxComboHypoTool.h:40
ComboHypoToolBase.h
TrigBmumuxComboHypoTool::TrigBmumuxComboHypoTool
TrigBmumuxComboHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TrigBmumuxComboHypoTool.cxx:12
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
HLTIdentifier.h
TrigBmumuxComboHypoTool::m_isBmux
Gaudi::Property< bool > m_isBmux
Definition: TrigBmumuxComboHypoTool.h:38
TrigBphysContainer.h
xAOD::TrigBphys_v1
Class describing a Bphysics online composite object.
Definition: TrigBphys_v1.h:44
TrigBmumuxComboHypoTool::initialize
virtual StatusCode initialize() override
Definition: TrigBmumuxComboHypoTool.cxx:16