ATLAS Offline Software
Loading...
Searching...
No Matches
TrigDisappearingTrackHypoAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef TRIGLONGLIVEDPARTICLESHYPO_TRIGDISTRACKHYPOALG_H
5#define TRIGLONGLIVEDPARTICLESHYPO_TRIGDISTRACKHYPOALG_H
6
7#include <string>
8#include <memory>
9
10#include "Gaudi/Property.h"
15#include "MVAUtils/BDT.h"
16
22
24{
25public:
26
27 TrigDisappearingTrackHypoAlg( const std::string& name, ISvcLocator* pSvcLocator );
28
29 virtual StatusCode initialize() override;
30 virtual StatusCode execute(const EventContext& context) const override;
31
32private:
33
34 ToolHandleArray< TrigDisappearingTrackHypoTool > m_hypoTools {this, "HypoTools", {}, "Tools to perfrom selection"};
35 SG::ReadHandleKey< xAOD::TrigCompositeContainer > m_DisTrkCandKey {this, "DisTrkCand", "HLT_DisTrkCand", ""};
36 SG::WriteHandleKey<xAOD::TrigCompositeContainer> m_DisTrkBDTSelKey {this, "DisTrkBDTSel","HLT_DisTrkBDTSel", ""};
37
39
40 ToolHandle<GenericMonitoringTool> m_monTool{ this, "MonTool", "", "Monitoring tool" };
41
42 // BDT selection methods
43 float bdt_eval_pix4l_sct0 (float, float, float, float, float, float, float, float, int, float, float, int) const;
44 float bdt_eval_pix4l_sct1p(float, float, float, float, int, float, float, float, float, int, float, int) const;
45 float bdt_eval_pix3l_sct0 (float, float, float, float, float, float, float, float, float, float, int, int) const;
46 float bdt_eval_pix3l_sct1p(float, float, float, float, float, float, int, int, float, int, int, float, float, float, float) const;
47 inline float BDTinput(float) const;
48
49 // MVAUtils BDT
50 std::unique_ptr<MVAUtils::BDT> m_bdt[4];
51
52};
53
54#endif //> !TRIGLONGLIVEDPARTICLESHYPO_TRIGDISTRACKHYPOALG_H
Define macros for attributes used to control the static checker.
HypoBase(const std::string &name, ISvcLocator *pSvcLocator)
constructor, to be called by sub-class constructors
Definition HypoBase.cxx:12
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
virtual StatusCode initialize() override
virtual StatusCode execute(const EventContext &context) const override
StatusCode createCandidates(const xAOD::TrigCompositeContainer *, xAOD::TrigCompositeContainer *) const
SG::ReadHandleKey< xAOD::TrigCompositeContainer > m_DisTrkCandKey
float bdt_eval_pix4l_sct0(float, float, float, float, float, float, float, float, int, float, float, int) const
float bdt_eval_pix3l_sct1p(float, float, float, float, float, float, int, int, float, int, int, float, float, float, float) const
std::unique_ptr< MVAUtils::BDT > m_bdt[4]
SG::WriteHandleKey< xAOD::TrigCompositeContainer > m_DisTrkBDTSelKey
float bdt_eval_pix3l_sct0(float, float, float, float, float, float, float, float, float, float, int, int) const
float bdt_eval_pix4l_sct1p(float, float, float, float, int, float, float, float, float, int, float, int) const
TrigDisappearingTrackHypoAlg(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandleArray< TrigDisappearingTrackHypoTool > m_hypoTools
ToolHandle< GenericMonitoringTool > m_monTool
TrigCompositeContainer_v1 TrigCompositeContainer
Declare the latest version of the container.