ATLAS Offline Software
TrigdEdxTrackHypoAlg.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_TRIGDEDXTRACKHYPOALG_H
5 #define TRIGLONGLIVEDPARTICLESHYPO_TRIGDEDXTRACKHYPOALG_H
6 
7 #include <string>
8 
9 #include "Gaudi/Property.h"
11 #include "TrigdEdxTrackHypoTool.h"
13 
21 {
22 public:
23 
24  TrigdEdxTrackHypoAlg( const std::string& name, ISvcLocator* pSvcLocator );
25 
26  virtual StatusCode initialize() override;
27  virtual StatusCode execute(const EventContext& context) const override;
28 
29 private:
30 
31  ToolHandleArray< TrigdEdxTrackHypoTool > m_hypoTools {this, "HypoTools", {}, "Tools to perfrom selection"};
32 
34  SG::ReadHandleKey< xAOD::TrigCompositeContainer> m_dEdxHitKey {this, "dEdxHit", "HLT_dEdxHit", ""};
35  SG::WriteHandleKey<xAOD::TrigCompositeContainer> m_HPtdEdxTrkKey {this, "HPtdEdxTrk", "HLT_HPtdEdxTrk", ""};
36 
38 
39  ToolHandle<GenericMonitoringTool> m_monTool{ this, "MonTool", "", "Monitoring tool" };
41 
42  std::vector<float> m_highdEdxHitDefThres;
43  std::vector<std::string> m_highdEdxHitDefNames;
44 };
45 
46 #endif //> !TRIGLONGLIVEDPARTICLESHYPO_TRIGDEDXTRACKHYPOALG_H
TrigdEdxTrackHypoTool.h
TrigdEdxTrackHypoAlg::m_dEdxTrkKey
SG::ReadHandleKey< xAOD::TrigCompositeContainer > m_dEdxTrkKey
Definition: TrigdEdxTrackHypoAlg.h:33
TrigdEdxTrackHypoAlg::m_HPtdEdxTrkKey
SG::WriteHandleKey< xAOD::TrigCompositeContainer > m_HPtdEdxTrkKey
Definition: TrigdEdxTrackHypoAlg.h:35
TrigdEdxTrackHypoAlg::m_dEdxHitKey
SG::ReadHandleKey< xAOD::TrigCompositeContainer > m_dEdxHitKey
Definition: TrigdEdxTrackHypoAlg.h:34
TrigdEdxTrackHypoAlg::createCandidates
StatusCode createCandidates(const xAOD::TrigCompositeContainer *, const xAOD::TrigCompositeContainer *, xAOD::TrigCompositeContainer *, int &) const
Definition: TrigdEdxTrackHypoAlg.cxx:201
TrigdEdxTrackHypoAlg::execute
virtual StatusCode execute(const EventContext &context) const override
Definition: TrigdEdxTrackHypoAlg.cxx:63
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
TrigdEdxTrackHypoAlg::initialize
virtual StatusCode initialize() override
Definition: TrigdEdxTrackHypoAlg.cxx:38
TrigdEdxTrackHypoAlg::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: TrigdEdxTrackHypoAlg.h:39
TrigdEdxTrackHypoAlg::TrigdEdxTrackHypoAlg
TrigdEdxTrackHypoAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TrigdEdxTrackHypoAlg.cxx:31
GenericMonitoringTool.h
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
TrigdEdxTrackHypoAlg::m_hypoTools
ToolHandleArray< TrigdEdxTrackHypoTool > m_hypoTools
Definition: TrigdEdxTrackHypoAlg.h:31
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
TrigdEdxTrackHypoAlg::m_highdEdxHitDefNames
std::vector< std::string > m_highdEdxHitDefNames
Definition: TrigdEdxTrackHypoAlg.h:43
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
HypoBase
Hypothesis algorithms take the output of reco algorithms and the decision from the preceeding InputMa...
Definition: HypoBase.h:13
TrigdEdxTrackHypoAlg
Implements Hypo selection on triggering large dEdx tracks.
Definition: TrigdEdxTrackHypoAlg.h:21
TrigdEdxTrackHypoAlg::m_highdEdxHitDefThres
std::vector< float > m_highdEdxHitDefThres
Definition: TrigdEdxTrackHypoAlg.h:42
HypoBase.h
TrigdEdxTrackHypoAlg::doMonitor
StatusCode doMonitor(const xAOD::TrigCompositeContainer *) const
Definition: TrigdEdxTrackHypoAlg.cxx:173