ATLAS Offline Software
TrigDisappearingTrackHypoTool.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_TRIGDISTRACKHYPOTOOL_H
5 #define TRIGLONGLIVEDPARTICLESHYPO_TRIGDISTRACKHYPOTOOL_H
6 
7 #include "Gaudi/Property.h"
12 #include <string>
13 
21 {
22 public:
23  TrigDisappearingTrackHypoTool( const std::string& type,
24  const std::string& name,
25  const IInterface* parent );
26 
28  virtual StatusCode initialize() override;
29 
30  struct DisTrkHypoInfo {
34  };
35 
39  StatusCode decide( std::vector<DisTrkHypoInfo>& ) const;
40 
41 private:
42 
44  Gaudi::Property< std::vector<float> > m_cutTrackPtGeV { this, "cutTrackPtGeV", { float(10.0) }, "Track pT requirement in GeV" };
45  Gaudi::Property< std::vector<float> > m_cutBDTPix4Sct0 { this, "cutBDTPix4Sct0", { float(0.05) }, "BDT score thershold for Pix4l_Sct0 category" };
46  Gaudi::Property< std::vector<float> > m_cutBDTPix4Sct1p { this, "cutBDTPix4Sct1p",{ float(0.04) }, "BDT score thershold for Pix4l_Sct1p category" };
47  Gaudi::Property< std::vector<float> > m_cutBDTPix3Sct0 { this, "cutBDTPix3Sct0", { float(0.05) }, "BDT score thershold for Pix3l_Sct0 category" };
48  Gaudi::Property< std::vector<float> > m_cutBDTPix3Sct1p { this, "cutBDTPix3Sct1p",{ float(0.04) }, "BDT score thershold for Pix3l_Sct1p category" };
49 
50  //
51  StatusCode inclusiveSelection( std::vector<DisTrkHypoInfo>& ) const;
52  StatusCode multiplicitySelection( std::vector<DisTrkHypoInfo>& ) const;
53  bool decideOnSingleObject( DisTrkHypoInfo&, size_t ) const;
54 };
55 
56 #endif //> !TRIGLONGLIVEDPARTICLESHYPO_TRIGDISTRACKHYPOTOOL_H
TrigDisappearingTrackHypoTool::decideOnSingleObject
bool decideOnSingleObject(DisTrkHypoInfo &, size_t) const
Definition: TrigDisappearingTrackHypoTool.cxx:134
TrigDisappearingTrackHypoTool::m_decisionId
HLT::Identifier m_decisionId
Definition: TrigDisappearingTrackHypoTool.h:43
TrigDisappearingTrackHypoTool::decide
StatusCode decide(std::vector< DisTrkHypoInfo > &) const
decides upon a collection of tracks
Definition: TrigDisappearingTrackHypoTool.cxx:43
TrackParticlexAODHelpers.h
TrigDisappearingTrackHypoTool::multiplicitySelection
StatusCode multiplicitySelection(std::vector< DisTrkHypoInfo > &) const
Definition: TrigDisappearingTrackHypoTool.cxx:90
TrigDisappearingTrackHypoTool::DisTrkHypoInfo::disTrk
const xAOD::TrigComposite * disTrk
Definition: TrigDisappearingTrackHypoTool.h:32
TrigDisappearingTrackHypoTool::m_cutBDTPix4Sct0
Gaudi::Property< std::vector< float > > m_cutBDTPix4Sct0
Definition: TrigDisappearingTrackHypoTool.h:45
TrigDisappearingTrackHypoTool::TrigDisappearingTrackHypoTool
TrigDisappearingTrackHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TrigDisappearingTrackHypoTool.cxx:20
TrigDisappearingTrackHypoTool::~TrigDisappearingTrackHypoTool
virtual ~TrigDisappearingTrackHypoTool()
Definition: TrigDisappearingTrackHypoTool.cxx:26
TrigDisappearingTrackHypoTool::m_cutBDTPix3Sct0
Gaudi::Property< std::vector< float > > m_cutBDTPix3Sct0
Definition: TrigDisappearingTrackHypoTool.h:47
TrigDisappearingTrackHypoTool::DisTrkHypoInfo
Definition: TrigDisappearingTrackHypoTool.h:30
TrigCompositeUtils.h
TrigDisappearingTrackHypoTool::DisTrkHypoInfo::previousDecisionsIDs
const TrigCompositeUtils::DecisionIDContainer previousDecisionsIDs
Definition: TrigDisappearingTrackHypoTool.h:33
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
xAOD::TrigComposite_v1
Class used to describe composite objects in the HLT.
Definition: TrigComposite_v1.h:52
HLT::Identifier
Definition: TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:20
TrigDisappearingTrackHypoTool::m_cutTrackPtGeV
Gaudi::Property< std::vector< float > > m_cutTrackPtGeV
Definition: TrigDisappearingTrackHypoTool.h:44
TrigDisappearingTrackHypoTool::DisTrkHypoInfo::decision
TrigCompositeUtils::Decision * decision
Definition: TrigDisappearingTrackHypoTool.h:31
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TrigDisappearingTrackHypoTool::m_cutBDTPix3Sct1p
Gaudi::Property< std::vector< float > > m_cutBDTPix3Sct1p
Definition: TrigDisappearingTrackHypoTool.h:48
TrigCompositeUtils::DecisionIDContainer
std::set< DecisionID > DecisionIDContainer
Definition: TrigComposite_v1.h:28
TrigDisappearingTrackHypoTool
Generated the decision for hypo thats triggers disappearing track.
Definition: TrigDisappearingTrackHypoTool.h:21
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AthAlgTool
Definition: AthAlgTool.h:26
TrigDisappearingTrackHypoTool::initialize
virtual StatusCode initialize() override
Definition: TrigDisappearingTrackHypoTool.cxx:31
TrigDisappearingTrackHypoTool::inclusiveSelection
StatusCode inclusiveSelection(std::vector< DisTrkHypoInfo > &) const
Definition: TrigDisappearingTrackHypoTool.cxx:65
readCCLHist.float
float
Definition: readCCLHist.py:83
TrackParticleContainer.h
TrigDisappearingTrackHypoTool::m_cutBDTPix4Sct1p
Gaudi::Property< std::vector< float > > m_cutBDTPix4Sct1p
Definition: TrigDisappearingTrackHypoTool.h:46