ATLAS Offline Software
IDCalibHypoAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef TRIGLONGLIVEDPARTICLESHYPO_IDCALIBHYPOALG_H
5 #define TRIGLONGLIVEDPARTICLESHYPO_IDCALIBHYPOALG_H
6 
7 #include <string>
8 
9 #include "Gaudi/Property.h"
11 #include "IDCalibHypoTool.h"
16 
23 class IDCalibHypoAlg : public ::HypoBase
24 {
25 public:
26 
27  IDCalibHypoAlg( const std::string& name, ISvcLocator* pSvcLocator );
28 
29  virtual StatusCode initialize() override;
30  virtual StatusCode execute(const EventContext& context) const override;
31 
32 private:
33 
34  SG::ReadHandleKey< xAOD::TrackParticleContainer > m_tracksKey {this,"tracksKey","","Key for precision tracks"};
35 
36  ToolHandleArray< IDCalibHypoTool > m_hypoTools {this, "HypoTools", {}, "Tools to perfrom selection"};
37  ToolHandle<GenericMonitoringTool> m_monTool {this, "MonTool", "", "Monitoring tool" };
38 };
39 
40 #endif //> !TRIGLONGLIVEDPARTICLESHYPO_IDCALIBHYPOALG_H
TrackParticlexAODHelpers.h
IDCalibHypoAlg::m_hypoTools
ToolHandleArray< IDCalibHypoTool > m_hypoTools
Definition: IDCalibHypoAlg.h:36
SG::ReadHandleKey< xAOD::TrackParticleContainer >
IDCalibHypoAlg
Implements Hypo selection on IDCalib stream trigger.
Definition: IDCalibHypoAlg.h:24
GenericMonitoringTool.h
IDCalibHypoAlg::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: IDCalibHypoAlg.h:37
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IDCalibHypoAlg::execute
virtual StatusCode execute(const EventContext &context) const override
Definition: IDCalibHypoAlg.cxx:53
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
HypoBase
Hypothesis algorithms take the output of reco algorithms and the decision from the preceeding InputMa...
Definition: HypoBase.h:13
IDCalibHypoAlg::IDCalibHypoAlg
IDCalibHypoAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: IDCalibHypoAlg.cxx:31
HypoBase.h
IDCalibHypoAlg::initialize
virtual StatusCode initialize() override
Definition: IDCalibHypoAlg.cxx:37
TrigRoiDescriptor.h
IDCalibHypoTool.h
TrackParticleContainer.h
IDCalibHypoAlg::m_tracksKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_tracksKey
Definition: IDCalibHypoAlg.h:34