ATLAS Offline Software
TrigEgammaForwardPrecisionElectronHypoTool.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 TrigEgammaForwardPrecisionElectronHypoTool_h
5 #define TrigEgammaForwardPrecisionElectronHypoTool_h
6 
13 
19 class TrigEgammaForwardPrecisionElectronHypoTool : public extends<AthAlgTool, ITrigEgammaForwardPrecisionElectronHypoTool> {
20  public:
22  const std::string& name,
23  const IInterface* parent );
24 
25  virtual StatusCode initialize() override;
26 
27  virtual StatusCode decide( std::vector<ITrigEgammaForwardPrecisionElectronHypoTool::ElectronInfo>& input) const override;
28  virtual bool decide( const ITrigEgammaForwardPrecisionElectronHypoTool::ElectronInfo& i) const override;
29 
30  private:
32 
33  Gaudi::Property< std::vector<float> > m_etabin { this, "EtaBins", {} , "Bins of eta" };
34  Gaudi::Property<std::string> m_pidName{this,"PidName", "", "Pid name"};
35  ToolHandle< GenericMonitoringTool > m_monTool { this, "MonTool", "", "Monitoring tool" };
36 
37 
38  int findCutIndex( float eta ) const;
39 
40 };
41 
42 #endif
TrigEgammaForwardPrecisionElectronHypoTool::m_pidName
Gaudi::Property< std::string > m_pidName
Definition: TrigEgammaForwardPrecisionElectronHypoTool.h:34
TrigEgammaForwardPrecisionElectronHypoTool::initialize
virtual StatusCode initialize() override
Definition: TrigEgammaForwardPrecisionElectronHypoTool.cxx:24
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
ITrigEgammaForwardPrecisionElectronHypoTool::ElectronInfo
Definition: ITrigEgammaForwardPrecisionElectronHypoTool.h:25
GenericMonitoringTool.h
TrigEgammaForwardPrecisionElectronHypoTool
Definition: TrigEgammaForwardPrecisionElectronHypoTool.h:19
TrigEgammaForwardPrecisionElectronHypoTool::decide
virtual StatusCode decide(std::vector< ITrigEgammaForwardPrecisionElectronHypoTool::ElectronInfo > &input) const override
lumiFormat.i
int i
Definition: lumiFormat.py:85
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigEgammaForwardPrecisionElectronHypoTool::m_decisionId
HLT::Identifier m_decisionId
Definition: TrigEgammaForwardPrecisionElectronHypoTool.h:31
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
AthAlgTool.h
TrigEgammaForwardPrecisionElectronHypoTool::TrigEgammaForwardPrecisionElectronHypoTool
TrigEgammaForwardPrecisionElectronHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TrigEgammaForwardPrecisionElectronHypoTool.cxx:16
test_pyathena.parent
parent
Definition: test_pyathena.py:15
HLT::Identifier
Definition: TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:20
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TrigEgammaForwardPrecisionElectronHypoTool::findCutIndex
int findCutIndex(float eta) const
Definition: TrigEgammaForwardPrecisionElectronHypoTool.cxx:49
EventInfo.h
TrigEgammaForwardPrecisionElectronHypoTool::m_etabin
Gaudi::Property< std::vector< float > > m_etabin
selection variable for PRECISION electron selection:eta bins
Definition: TrigEgammaForwardPrecisionElectronHypoTool.h:33
ITrigEgammaForwardPrecisionElectronHypoTool.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
HLTIdentifier.h
ReadDecorHandle.h
Handle class for reading a decoration on an object.
TrigEgammaForwardPrecisionElectronHypoTool::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: TrigEgammaForwardPrecisionElectronHypoTool.h:35