|
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef TRIGLONGLIVEDPARTICLESHYPO_TRIGHITDVHYPOALG_H
5 #define TRIGLONGLIVEDPARTICLESHYPO_TRIGHITDVHYPOALG_H
9 #include "Gaudi/Property.h"
19 #include "TMVA/Reader.h"
72 ToolHandle<ITrigSpacePointConversionTool>
m_spacePointTool{
this,
"SpacePointProviderTool",
"TrigSpacePointConversionTool"};
73 ToolHandleArray< TrigHitDVHypoTool >
m_hypoTools {
this,
"HypoTools", {},
"Tools to perform selection"};
85 Gaudi::Property<bool>
m_isMC {
this,
"isMC",
false,
"Real data or MC"};
87 Gaudi::Property<float>
m_jetSeed_ptMin {
this,
"jetSeed_ptMin", 50.0,
"Minimum pT for jet seed"};
88 Gaudi::Property<float>
m_jetSeed_etaMax {
this,
"jetSeed_etaMin", 2.0,
"Maximum eta for jet seed"};
90 Gaudi::Property<std::string>
m_hitDVLinkName {
this,
"hitDVLinkName",
"HitDVSeedLink",
"Name of the link to HitDVContainer. Used by ViewCreatorROITool."};
96 ToolHandle<GenericMonitoringTool>
m_monTool{
this,
"MonTool",
"",
"Monitoring tool" };
100 float deltaR2(
float,
float,
float,
float)
const;
102 StatusCode findSPSeeds(
const EventContext&,
const std::vector<HitDVSpacePoint>&, std::vector<float>&, std::vector<float>&)
const;
105 std::vector<float>& jetSeeds_eta, std::vector<float>& jetSeeds_phi, std::vector<float>& jetSeeds_pt)
const;
106 StatusCode calculateBDT(
const EventContext&,
const std::vector<HitDVSpacePoint>&,
const std::vector<HitDVTrk>&,
107 const std::vector<float>&,
const std::vector<float>&,
const std::vector<float>&,
141 const std::vector<float>& v_sp_eta,
const std::vector<float>& v_sp_phi,
142 const std::vector<int>& v_sp_layer,
const std::vector<int>& v_sp_usedTrkId,
143 std::vector<float>& seeds_eta, std::vector<float>& seeds_phi )
const;
144 StatusCode findHitDV(
const EventContext& ctx,
const std::vector<TrigSiSpacePointBase>& convertedSpacePoints,
146 std::vector<HitDVTrk>& hitDVTrksContainer,
147 std::vector<HitDVSpacePoint>& hitDVSPContainer)
const;
150 #endif //> !TRIGLONGLIVEDPARTICLESHYPO_TRIGHITDVHYPOALG_H
StatusCode calculateBDT(const EventContext &, 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
TrigHitDVHypoAlg(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandle< ITrigSpacePointConversionTool > m_spacePointTool
SG::SlotSpecificObj< TMVAReader > m_tmva_reader ATLAS_THREAD_SAFE
Implements Hypo selection on triggering displaced vertex.
SG::ReadHandleKey< xAOD::jFexSRJetRoIContainer > m_jetRoiCollectionKey
std::unique_ptr< TMVA::Reader > tmva_0eta1
ToolHandle< GenericMonitoringTool > m_monTool
Property holding a SG store/key/clid from which a ReadHandle is made.
setScaleOne setStatusOne setSaturated int16_t
Gaudi::Property< float > m_jetSeed_etaMax
std::unique_ptr< TMVA::Reader > tmva_1eta2
float deltaR2(float, float, float, float) const
Maintain a set of objects, one per slot.
StatusCode selectSeedsNearby(const std::vector< HitDVSeed > &hitDVSeedsContainer, std::vector< float > &jetSeeds_eta, std::vector< float > &jetSeeds_phi, std::vector< float > &jetSeeds_pt) const
Property holding a SG store/key/clid from which a WriteHandle is made.
::StatusCode StatusCode
StatusCode definition for legacy code.
ToolHandle< ILumiBlockMuTool > m_lumiBlockMuTool
StatusCode doMonitor(const xAOD::TrigCompositeContainer *) const
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
Hold luminosity data produced by LuminosityCondAlg.
StatusCode findJetSeeds(const xAOD::JetContainer *, const float, const float, std::vector< float > &, std::vector< float > &, std::vector< float > &) const
SG::ReadHandleKey< TrackCollection > m_tracksKey
Hypothesis algorithms take the output of reco algorithms and the decision from the preceeding InputMa...
virtual StatusCode execute(const EventContext &context) const override
SG::ReadHandleKey< xAOD::JetContainer > m_jetsKey
SG::WriteHandleKey< xAOD::TrigCompositeContainer > m_hitDVKey
virtual StatusCode initialize() override
SG::ReadCondHandleKey< LuminosityCondData > m_lumiDataKey
Gaudi::Property< bool > m_isMC
Gaudi::Property< std::string > m_hitDVLinkName
Gaudi::Property< float > m_jetSeed_ptMin
StatusCode findSPSeeds(const EventContext &, const std::vector< HitDVSpacePoint > &, std::vector< float > &, std::vector< float > &) const
Maintain a set of objects, one per slot.
ToolHandleArray< TrigHitDVHypoTool > m_hypoTools
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
Define macros for attributes used to control the static checker.
int getSPLayer(int, float) const