ATLAS Offline Software
TrigEgammaPrecisionCaloHypoTool.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 TRIGEGAMMAHYPO_PRECISIONCALOHYPOTOOLINC_H
5 #define TRIGEGAMMAHYPO_PRECISIONCALOHYPOTOOLINC_H 1
6 
12 
18 class TrigEgammaPrecisionCaloHypoTool : public extends<AthAlgTool, ITrigEgammaPrecisionCaloHypoTool> {
19  public:
20  TrigEgammaPrecisionCaloHypoTool( const std::string& type,
21  const std::string& name,
22  const IInterface* parent );
23 
24  virtual StatusCode initialize() override;
25 
26  virtual StatusCode decide( std::vector<ITrigEgammaPrecisionCaloHypoTool::ClusterInfo>& input ) const override;
27 
28  virtual bool decide( const ITrigEgammaPrecisionCaloHypoTool::ClusterInfo& i ) const override;
29 
30  private:
32 
33  //Calorimeter electron ID cuts
34  Gaudi::Property< std::vector<float> > m_etabin { this, "EtaBins", {} , "Bins of eta" };
35  Gaudi::Property< std::vector<float> > m_eTthr { this, "ETthr", {}, "ET Threshold" };
36  Gaudi::Property< std::vector<float> > m_eT2thr { this, "ET2thr", {}, "Second layer ET threshold" };
37  Gaudi::Property< float > m_detacluster { this, "dETACLUSTERthr", 0. , "" };
38  Gaudi::Property< float > m_dphicluster { this, "dPHICLUSTERthr", 0. , "" };
39 
40  ToolHandle< GenericMonitoringTool > m_monTool { this, "MonTool", "", "Monitoring tool" };
41  int findCutIndex( float eta ) const;
42 };
43 
44 #endif //> !TRIGEGAMMAHYPO_PRECISIONCALOHYPOTOOL_H
TrigEgammaPrecisionCaloHypoTool::m_decisionId
HLT::Identifier m_decisionId
Definition: TrigEgammaPrecisionCaloHypoTool.h:31
TrigCompositeUtils.h
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
ITrigEgammaPrecisionCaloHypoTool.h
TrigEgammaPrecisionCaloHypoTool::m_eTthr
Gaudi::Property< std::vector< float > > m_eTthr
Definition: TrigEgammaPrecisionCaloHypoTool.h:35
TrigEgammaPrecisionCaloHypoTool::TrigEgammaPrecisionCaloHypoTool
TrigEgammaPrecisionCaloHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TrigEgammaPrecisionCaloHypoTool.cxx:17
TrigEgammaPrecisionCaloHypoTool::findCutIndex
int findCutIndex(float eta) const
Definition: TrigEgammaPrecisionCaloHypoTool.cxx:157
TrigEgammaPrecisionCaloHypoTool::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: TrigEgammaPrecisionCaloHypoTool.h:40
TrigEgammaPrecisionCaloHypoTool::m_etabin
Gaudi::Property< std::vector< float > > m_etabin
selection variable for PRECISION calo selection:eta bins
Definition: TrigEgammaPrecisionCaloHypoTool.h:34
GenericMonitoringTool.h
TrigEgammaPrecisionCaloHypoTool::m_dphicluster
Gaudi::Property< float > m_dphicluster
Definition: TrigEgammaPrecisionCaloHypoTool.h:38
TrigEgammaPrecisionCaloHypoTool::initialize
virtual StatusCode initialize() override
Definition: TrigEgammaPrecisionCaloHypoTool.cxx:23
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
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
AthAlgTool.h
ITrigEgammaPrecisionCaloHypoTool::ClusterInfo
Definition: ITrigEgammaPrecisionCaloHypoTool.h:25
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TrigEgammaPrecisionCaloHypoTool::decide
virtual StatusCode decide(std::vector< ITrigEgammaPrecisionCaloHypoTool::ClusterInfo > &input) const override
HLT::Identifier
Definition: TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:20
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TrigEgammaPrecisionCaloHypoTool::m_detacluster
Gaudi::Property< float > m_detacluster
Definition: TrigEgammaPrecisionCaloHypoTool.h:37
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
HLTIdentifier.h
TrigEgammaPrecisionCaloHypoTool::m_eT2thr
Gaudi::Property< std::vector< float > > m_eT2thr
Definition: TrigEgammaPrecisionCaloHypoTool.h:36
TrigEgammaPrecisionCaloHypoTool
Definition: TrigEgammaPrecisionCaloHypoTool.h:18