4#ifndef TRIGLONGLIVEDPARTICLESHYPO_TRIGHITDVHYPOALG_H
5#define TRIGLONGLIVEDPARTICLESHYPO_TRIGHITDVHYPOALG_H
10#include "Gaudi/Property.h"
69 virtual StatusCode
execute(
const EventContext& context)
const override;
73 ToolHandle<ITrigSpacePointConversionTool>
m_spacePointTool{
this,
"SpacePointProviderTool",
"TrigSpacePointConversionTool"};
74 ToolHandleArray< TrigHitDVHypoTool >
m_hypoTools {
this,
"HypoTools", {},
"Tools to perform selection"};
86 Gaudi::Property<bool>
m_isMC {
this,
"isMC",
false,
"Real data or MC"};
88 Gaudi::Property<float>
m_jetSeed_ptMin {
this,
"jetSeed_ptMin", 50.0,
"Minimum pT for jet seed"};
89 Gaudi::Property<float>
m_jetSeed_etaMax {
this,
"jetSeed_etaMin", 2.0,
"Maximum eta for jet seed"};
91 Gaudi::Property<std::string>
m_hitDVLinkName {
this,
"hitDVLinkName",
"HitDVSeedLink",
"Name of the link to HitDVContainer. Used by ViewCreatorROITool."};
97 ToolHandle<GenericMonitoringTool>
m_monTool{
this,
"MonTool",
"",
"Monitoring tool" };
101 float deltaR2(
float,
float,
float,
float)
const;
103 StatusCode
findSPSeeds(
const EventContext&,
const std::vector<HitDVSpacePoint>&, std::vector<float>&, std::vector<float>&)
const;
104 StatusCode
findJetSeeds(
const xAOD::JetContainer*,
const float,
const float, std::vector<float>&, std::vector<float>&, std::vector<float>&)
const;
106 std::vector<float>& jetSeeds_eta, std::vector<float>& jetSeeds_phi, std::vector<float>& jetSeeds_pt)
const;
107 StatusCode
calculateBDT(
const std::vector<HitDVSpacePoint>&,
const std::vector<HitDVTrk>&,
108 const std::vector<float>&,
const std::vector<float>&,
const std::vector<float>&,
128 const std::vector<float>& v_sp_eta,
const std::vector<float>& v_sp_phi,
129 const std::vector<int>& v_sp_layer,
const std::vector<int>& v_sp_usedTrkId,
130 std::vector<float>& seeds_eta, std::vector<float>& seeds_phi )
const;
131 StatusCode
findHitDV(
const EventContext& ctx,
const std::vector<TrigSiSpacePointBase>& convertedSpacePoints,
133 std::vector<HitDVTrk>& hitDVTrksContainer,
134 std::vector<HitDVSpacePoint>& hitDVSPContainer)
const;
Hold luminosity data produced by LuminosityCondAlg.
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
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.
float deltaR2(float, float, float, float) const
ToolHandleArray< TrigHitDVHypoTool > m_hypoTools
ToolHandle< GenericMonitoringTool > m_monTool
TrigHitDVHypoAlg(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< std::string > m_hitDVLinkName
TrigHitDVHypoTool::SeedType SeedType
StatusCode findHitDV(const EventContext &ctx, const std::vector< TrigSiSpacePointBase > &convertedSpacePoints, const DataVector< Trk::Track > &tracks, std::vector< HitDVSeed > &hitDVSeedsContainer, std::vector< HitDVTrk > &hitDVTrksContainer, std::vector< HitDVSpacePoint > &hitDVSPContainer) const
SG::ReadCondHandleKey< LuminosityCondData > m_lumiDataKey
Gaudi::Property< float > m_jetSeed_ptMin
virtual StatusCode execute(const EventContext &context) const override
StatusCode calculateBDT(const std::vector< HitDVSpacePoint > &, const std::vector< HitDVTrk > &, const std::vector< float > &, const std::vector< float > &, const std::vector< float > &, const float &, const int, xAOD::TrigCompositeContainer *, int &) const
int getSPLayer(int, float) const
SG::ReadHandleKey< xAOD::jFexSRJetRoIContainer > m_jetRoiCollectionKey
SG::ReadHandleKey< TrackCollection > m_tracksKey
Gaudi::Property< float > m_jetSeed_etaMax
ToolHandle< ITrigSpacePointConversionTool > m_spacePointTool
StatusCode selectSeedsNearby(const std::vector< HitDVSeed > &hitDVSeedsContainer, std::vector< float > &jetSeeds_eta, std::vector< float > &jetSeeds_phi, std::vector< float > &jetSeeds_pt) const
Gaudi::Property< bool > m_isMC
StatusCode findJetSeeds(const xAOD::JetContainer *, const float, const float, std::vector< float > &, std::vector< float > &, std::vector< float > &) const
ToolHandle< ILumiBlockMuTool > m_lumiBlockMuTool
StatusCode findSPSeeds(const EventContext &, const std::vector< HitDVSpacePoint > &, std::vector< float > &, std::vector< float > &) const
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
virtual StatusCode initialize() override
SG::WriteHandleKey< xAOD::TrigCompositeContainer > m_hitDVKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetsKey
StatusCode doMonitor(const xAOD::TrigCompositeContainer *) const
std::unique_ptr< MVAUtils::BDT > m_bdt_eta[2]
TrigCompositeContainer_v1 TrigCompositeContainer
Declare the latest version of the container.
JetContainer_v1 JetContainer
Definition of the current "jet container version".