ATLAS Offline Software
TrigBSExtraction.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGBSEXTRACTION_TRIGBSEXTRACTION_H
6 #define TRIGBSEXTRACTION_TRIGBSEXTRACTION_H
7 
8 #include "GaudiKernel/ToolHandle.h"
14 
18 
19 
28 public:
29  TrigBSExtraction(const std::string& name, ISvcLocator* pSvcLocator);
30  virtual StatusCode initialize() override;
31  virtual StatusCode execute() override;
32 
33 private:
44  bool equalize, bool xAODConv);
45 
46  ToolHandle<HLT::Navigation> m_navToolL2{this, "NavigationForL2", "HLT::Navigation/NavigationForL2",
47  "Navigation tool for Run-1 L2 result"};
48  ToolHandle<HLT::Navigation> m_navTool{this, "Navigation", "HLT::Navigation/Navigation",
49  "Navigation tool for EF/HLT result"};
50 
51  ToolHandle<ITrigBStoxAODTool> m_xAODTool{this, "BStoxAOD", "",
52  "Optional xAOD converter tool for Run-1 EF AOD containers"};
53 
55  this, "L2ResultKeyIn", "", "Input key for L2 result (Run-1)"};
57  this, "L2ResultKeyOut", "", "Output key for L2 result (Run-1)"};
58 
60  this, "HLTResultKeyIn", "HLTResult_HLT_BS", "Input key for EF/HLT result"};
62  this, "HLTResultKeyOut", "HLTResult_HLT", "Output key for EF/HLT result"};
63 
65  this, "DSResultKeysIn", {}, "Input keys for DataScouting HLT results"};
67  this, "DSResultKeysOut", {}, "Output keys for DataScouting HLT results"};
68 };
69 
70 
71 #endif // TRIGBSEXTRACTION_TRIGBSEXTRACTION_H
ReadHandleKeyArray.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TrigBSExtraction::m_dataScoutingKeysOut
SG::WriteHandleKeyArray< HLT::HLTResult > m_dataScoutingKeysOut
Definition: TrigBSExtraction.h:66
TrigBSExtraction::m_xAODTool
ToolHandle< ITrigBStoxAODTool > m_xAODTool
Definition: TrigBSExtraction.h:51
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
SG::ReadHandleKey< HLT::HLTResult >
TrigBSExtraction::m_navToolL2
ToolHandle< HLT::Navigation > m_navToolL2
Definition: TrigBSExtraction.h:46
HLTResult.h
TrigBSExtraction::m_hltResultKeyOut
SG::WriteHandleKey< HLT::HLTResult > m_hltResultKeyOut
Definition: TrigBSExtraction.h:61
AthAlgorithm.h
TrigBSExtraction::m_dataScoutingKeysIn
SG::ReadHandleKeyArray< HLT::HLTResult > m_dataScoutingKeysIn
Definition: TrigBSExtraction.h:64
TrigBSExtraction::initialize
virtual StatusCode initialize() override
Definition: TrigBSExtraction.cxx:18
TrigBSExtraction
Top algorithms which unpacks objects from BS and places them in SG.
Definition: TrigBSExtraction.h:27
SG::WriteHandleKey< HLT::HLTResult >
TrigBSExtraction::m_hltResultKeyIn
SG::ReadHandleKey< HLT::HLTResult > m_hltResultKeyIn
Definition: TrigBSExtraction.h:59
TrigBSExtraction::TrigBSExtraction
TrigBSExtraction(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TrigBSExtraction.cxx:12
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigBSExtraction::repackFeaturesToSG
StatusCode repackFeaturesToSG(HLT::Navigation &navTool, const SG::ReadHandleKey< HLT::HLTResult > &key, SG::WriteHandleKey< HLT::HLTResult > &keyOut, bool equalize, bool xAODConv)
method which does loop over objects
Definition: TrigBSExtraction.cxx:83
Navigation.h
HLT::Navigation
The Navigation class, organizes TriggerElements into the tree structure.
Definition: Navigation.h:100
AthAlgorithm
Definition: AthAlgorithm.h:47
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
WriteHandleKeyArray.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TrigBSExtraction::m_navTool
ToolHandle< HLT::Navigation > m_navTool
Definition: TrigBSExtraction.h:48
TrigBSExtraction::m_l2ResultKeyIn
SG::ReadHandleKey< HLT::HLTResult > m_l2ResultKeyIn
Definition: TrigBSExtraction.h:54
ITrigBStoxAODTool.h
TrigBSExtraction::m_l2ResultKeyOut
SG::WriteHandleKey< HLT::HLTResult > m_l2ResultKeyOut
Definition: TrigBSExtraction.h:56
TrigBSExtraction::execute
virtual StatusCode execute() override
Definition: TrigBSExtraction.cxx:56
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37