ATLAS Offline Software
TrigBjetBtagHypoTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // ************************************************
6 //
7 // NAME: TrigBjetBtagHypoTool.h
8 // PACKAGE: Trigger/TrigHypothesis/TrigBjetHypo
9 //
10 // AUTHOR: Carlo Varni
11 // EMAIL: carlo.varni@cern.ch
12 //
13 // ************************************************
14 
15 #ifndef TRIGBJETHYPO_TRIGBJETHYPOTOOL_H
16 #define TRIGBJETHYPO_TRIGBJETHYPOTOOL_H 1
17 
19 
22 
25 
29 
32 
34 
35 class TrigBjetBtagHypoTool : virtual public ::AthAlgTool {
36 
37  public:
44  };
45 
46 
47  public:
48 
51  const std::string& type,
52  const std::string& name,
53  const IInterface* parent
54  );
55 
56  virtual StatusCode initialize() override;
57 
59  const HLT::Identifier getId() const;
60 
61  StatusCode decide( std::vector< TrigBjetBtagHypoToolInfo >& ) const;
62 
63  private:
65 
66  ToolHandleArray<IBJetHypoDiscriminantCheck> m_checks {this, "checks", {},
67  "List of checks to run for one chain"};
68 
70  ToolHandle< GenericMonitoringTool > m_monTool { this, "MonTool", "",
71  "Monitoring tool" };
72 
73  Gaudi::Property<std::map<std::string, std::string>> m_monMap {this,
74  "monitoredFloats", {}, "(EDM name, monitoring name) pairs"};
75  std::vector<std::pair<SG::AuxElement::ConstAccessor<float>, std::string>> m_monPairs;
76 
77  Gaudi::Property<bool> m_vetoBadBeamspot {this, "vetoBadBeamspot", true,
78  "Veto btagging if the beamspot is bad"};
79 
80 };
81 
82 #endif // !TRIGBJETHYPO_TRIGBJETHYPOTOOL_H
TrigCompositeUtils::DecisionID
unsigned int DecisionID
Definition: TrigComposite_v1.h:27
TrigCompositeUtils.h
TrigBjetBtagHypoTool::TrigBjetBtagHypoTool
TrigBjetBtagHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Definition: TrigBjetBtagHypoTool.cxx:21
TrigBjetBtagHypoTool::TrigBjetBtagHypoToolInfo::beamSpot
const InDet::BeamSpotData * beamSpot
Definition: TrigBjetBtagHypoTool.h:43
TrigBjetBtagHypoTool::m_vetoBadBeamspot
Gaudi::Property< bool > m_vetoBadBeamspot
Definition: TrigBjetBtagHypoTool.h:77
TrigBjetBtagHypoTool::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
DeclareProperty: to monitor method used to perform the cut.
Definition: TrigBjetBtagHypoTool.h:70
TrigBjetBtagHypoTool::TrigBjetBtagHypoToolInfo::btaggingEL
ElementLink< xAOD::BTaggingContainer > btaggingEL
Definition: TrigBjetBtagHypoTool.h:40
TrigBjetBtagHypoTool::TrigBjetBtagHypoToolInfo::vertexEL
ElementLink< xAOD::VertexContainer > vertexEL
Definition: TrigBjetBtagHypoTool.h:41
TrigBjetBtagHypoTool::getId
const HLT::Identifier getId() const
Definition: TrigBjetBtagHypoTool.cxx:160
GenericMonitoringTool.h
TrigBjetBtagHypoTool::m_checks
ToolHandleArray< IBJetHypoDiscriminantCheck > m_checks
Definition: TrigBjetBtagHypoTool.h:66
BTaggingAuxContainer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigBjetBtagHypoTool::initialize
virtual StatusCode initialize() override
Definition: TrigBjetBtagHypoTool.cxx:29
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
xAOD::TrigComposite_v1
Class used to describe composite objects in the HLT.
Definition: TrigComposite_v1.h:52
HLT::Identifier
Definition: TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:20
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
BTaggingContainer.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
InDet::BeamSpotData
Definition: BeamSpotData.h:21
VertexContainer.h
TrigCompositeUtils::DecisionIDContainer
std::set< DecisionID > DecisionIDContainer
Definition: TrigComposite_v1.h:28
TrigBjetBtagHypoTool::decide
StatusCode decide(std::vector< TrigBjetBtagHypoToolInfo > &) const
Definition: TrigBjetBtagHypoTool.cxx:49
TrigBjetBtagHypoTool
Definition: TrigBjetBtagHypoTool.py:1
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
HLTIdentifier.h
TrigBjetBtagHypoTool::TrigBjetBtagHypoToolInfo
Definition: TrigBjetBtagHypoTool.h:38
TrigBjetBtagHypoTool::TrigBjetBtagHypoToolInfo::previousDecisionIDs
TrigCompositeUtils::DecisionIDContainer previousDecisionIDs
Definition: TrigBjetBtagHypoTool.h:39
TrigBjetBtagHypoTool::m_decisionId
HLT::Identifier m_decisionId
Definition: TrigBjetBtagHypoTool.h:64
BeamSpotData.h
AthAlgTool
Definition: AthAlgTool.h:26
TrigBjetBtagHypoTool::m_monPairs
std::vector< std::pair< SG::AuxElement::ConstAccessor< float >, std::string > > m_monPairs
Definition: TrigBjetBtagHypoTool.h:75
TrigBjetBtagHypoTool::m_monMap
Gaudi::Property< std::map< std::string, std::string > > m_monMap
Definition: TrigBjetBtagHypoTool.h:73
IBJetHypoDiscriminantCheck.h
TrigBjetBtagHypoTool::decisionId
TrigCompositeUtils::DecisionID decisionId() const
Definition: TrigBjetBtagHypoTool.cxx:159
VertexAuxContainer.h
TrigBjetBtagHypoTool::TrigBjetBtagHypoToolInfo::decision
TrigCompositeUtils::Decision * decision
Definition: TrigBjetBtagHypoTool.h:42