ATLAS Offline Software
IDCalibHypoTool.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_IDCALIBHYPOTOOL_H
5 #define TRIGLONGLIVEDPARTICLESHYPO_IDCALIBHYPOTOOL_H
6 
7 #include "Gaudi/Property.h"
12 #include <string>
13 
20 class IDCalibHypoTool : virtual public ::AthAlgTool
21 {
22 public:
23  IDCalibHypoTool( const std::string& type, const std::string& name, const IInterface* parent );
24 
25  virtual ~IDCalibHypoTool() = default;
26  virtual StatusCode initialize() override;
27 
28  struct IDCalibHypoInfo {
33  };
34 
38  StatusCode decide( std::vector<IDCalibHypoInfo>& ) const;
39 
40 private:
41 
43  Gaudi::Property< std::vector<float> > m_cutTrackPtGeV { this, "cutTrackPtGeV", { float(10.0) }, "Track pT requirement in GeV" };
44 
45  //
46  StatusCode inclusiveSelection( std::vector<IDCalibHypoInfo>& ) const;
47  StatusCode multiplicitySelection( std::vector<IDCalibHypoInfo>& ) const;
48  bool decideOnSingleObject( IDCalibHypoInfo&, size_t ) const;
49 };
50 
51 #endif //> !TRIGLONGLIVEDPARTICLESHYPO_TRIGDISTRACKHYPOTOOL_H
IDCalibHypoTool::decide
StatusCode decide(std::vector< IDCalibHypoInfo > &) const
decides upon a collection of tracks
Definition: IDCalibHypoTool.cxx:39
TrackParticlexAODHelpers.h
IDCalibHypoTool::decideOnSingleObject
bool decideOnSingleObject(IDCalibHypoInfo &, size_t) const
Definition: IDCalibHypoTool.cxx:130
IDCalibHypoTool::m_decisionId
HLT::Identifier m_decisionId
Definition: IDCalibHypoTool.h:42
IDCalibHypoTool
Generate the decision for IDCalib stream trigger.
Definition: IDCalibHypoTool.h:21
IDCalibHypoTool::initialize
virtual StatusCode initialize() override
Definition: IDCalibHypoTool.cxx:27
IDCalibHypoTool::IDCalibHypoInfo::previousDecisionsIDs
const TrigCompositeUtils::DecisionIDContainer previousDecisionsIDs
Definition: IDCalibHypoTool.h:32
IDCalibHypoTool::IDCalibHypoTool
IDCalibHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: IDCalibHypoTool.cxx:20
TrigCompositeUtils.h
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
IDCalibHypoTool::m_cutTrackPtGeV
Gaudi::Property< std::vector< float > > m_cutTrackPtGeV
Definition: IDCalibHypoTool.h:43
xAOD::TrigComposite_v1
Class used to describe composite objects in the HLT.
Definition: TrigComposite_v1.h:52
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
HLT::Identifier
Definition: TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:20
IDCalibHypoTool::IDCalibHypoInfo
Definition: IDCalibHypoTool.h:28
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
IDCalibHypoTool::IDCalibHypoInfo::trackContainer
const xAOD::TrackParticleContainer * trackContainer
Definition: IDCalibHypoTool.h:31
IDCalibHypoTool::inclusiveSelection
StatusCode inclusiveSelection(std::vector< IDCalibHypoInfo > &) const
Definition: IDCalibHypoTool.cxx:61
TrigCompositeUtils::DecisionIDContainer
std::set< DecisionID > DecisionIDContainer
Definition: TrigComposite_v1.h:28
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
IDCalibHypoTool::~IDCalibHypoTool
virtual ~IDCalibHypoTool()=default
IDCalibHypoTool::IDCalibHypoInfo::track
const xAOD::TrackParticle * track
Definition: IDCalibHypoTool.h:30
IDCalibHypoTool::multiplicitySelection
StatusCode multiplicitySelection(std::vector< IDCalibHypoInfo > &) const
Definition: IDCalibHypoTool.cxx:86
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
AthAlgTool
Definition: AthAlgTool.h:26
IDCalibHypoTool::IDCalibHypoInfo::decision
TrigCompositeUtils::Decision * decision
Definition: IDCalibHypoTool.h:29
readCCLHist.float
float
Definition: readCCLHist.py:83
TrackParticleContainer.h