ATLAS Offline Software
TrigEgammaFastCaloHypoTool.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_TRIGEGAMMAFASTCALOHYPOTOOLINC_H
5 #define TRIGEGAMMAHYPO_TRIGEGAMMAFASTCALOHYPOTOOLINC_H 1
6 
16 
22 class TrigEgammaFastCaloHypoTool : public extends<AthAlgTool, ITrigEgammaFastCaloHypoTool> {
23 
24  public:
25 
26  TrigEgammaFastCaloHypoTool( const std::string& type, const std::string& name, const IInterface* parent );
27 
29 
30  virtual StatusCode initialize() override;
31 
32  virtual StatusCode decide( std::vector<ITrigEgammaFastCaloHypoTool::FastClusterInfo>& input ) const override;
33 
34  virtual bool decide( const ITrigEgammaFastCaloHypoTool::FastClusterInfo& i ) const override;
35 
36 
37  private:
38 
41  int findCutIndex( float eta ) const;
42 
44 
45  Gaudi::Property<std::string> m_pidName{this,"PidName", "", "Pid name"};
46  Gaudi::Property< bool > m_useRinger { this, "UseRinger", false , "Use Ringer Selection" };
47 
48  //Calorimeter electron ID cuts
49  Gaudi::Property< std::vector<float> > m_etabin { this, "EtaBins", {} , "Bins of eta" };
50  Gaudi::Property< std::vector<float> > m_eTthr { this, "ETthr", {}, "ET Threshold" };
51  Gaudi::Property< std::vector<float> > m_eT2thr { this, "ET2thr", {}, "Second layer ET threshold" };
52  Gaudi::Property< std::vector<float> > m_hadeTthr { this, "HADETthr", {}, "" };
53  Gaudi::Property< std::vector<float> > m_hadeT2thr { this, "HADET2thr", {}, "" };
54  Gaudi::Property< std::vector<float> > m_carcorethr { this, "CARCOREthr", {}, "" };
55  Gaudi::Property< std::vector<float> > m_caeratiothr { this, "CAERATIOthr", {}, "" };
56  Gaudi::Property< std::vector<float> > m_F1thr { this, "F1thr", {}, "" };
57  Gaudi::Property< std::vector<float> > m_WETA2thr { this, "WETA2thr", {}, "" };
58  Gaudi::Property< std::vector<float> > m_WSTOTthr { this, "WSTOTthr", {}, "" };
59  Gaudi::Property< std::vector<float> > m_F3thr { this, "F3thr", {}, "" };
60  Gaudi::Property< float > m_detacluster { this, "dETACLUSTERthr", 0. , "" };
61  Gaudi::Property< float > m_dphicluster { this, "dPHICLUSTERthr", 0. , "" };
62  Gaudi::Property< bool > m_acceptAll { this, "AcceptAll", false , "Ignore selection" };
63  Gaudi::Property<float> m_emEtCut{this,"EtCut", 0.0, "Et threshold"};
64 
65 
66  ToolHandle< GenericMonitoringTool > m_monTool{ this, "MonTool", "", "Monitoring tool" };
67 
68 
69 };
70 
71 #endif //> !TRIGEGAMMAHYPO_TRIGEGAMMAFASTCALOHYPOTOOLINC_H
ITrigEgammaFastCaloHypoTool::FastClusterInfo
Definition: ITrigEgammaFastCaloHypoTool.h:28
TrigEgammaFastCaloHypoTool::m_pidName
Gaudi::Property< std::string > m_pidName
Definition: TrigEgammaFastCaloHypoTool.h:45
TrigEgammaFastCaloHypoTool::TrigEgammaFastCaloHypoTool
TrigEgammaFastCaloHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TrigEgammaFastCaloHypoTool.cxx:16
TrigEgammaFastCaloHypoTool::m_carcorethr
Gaudi::Property< std::vector< float > > m_carcorethr
Definition: TrigEgammaFastCaloHypoTool.h:54
TrigEgammaFastCaloHypoTool::m_WSTOTthr
Gaudi::Property< std::vector< float > > m_WSTOTthr
Definition: TrigEgammaFastCaloHypoTool.h:58
TrigCompositeUtils.h
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
TrigEgammaFastCaloHypoTool::decide
virtual StatusCode decide(std::vector< ITrigEgammaFastCaloHypoTool::FastClusterInfo > &input) const override
TrigEMCluster.h
TrigEgammaFastCaloHypoTool::m_decisionId
HLT::Identifier m_decisionId
Definition: TrigEgammaFastCaloHypoTool.h:43
ITrigEgammaFastCaloHypoTool.h
TrigRingerRings.h
TrigEgammaFastCaloHypoTool::m_dphicluster
Gaudi::Property< float > m_dphicluster
Definition: TrigEgammaFastCaloHypoTool.h:61
TrigEgammaFastCaloHypoTool::findCutIndex
int findCutIndex(float eta) const
Definition: TrigEgammaFastCaloHypoTool.cxx:392
TrigEgammaFastCaloHypoTool::m_hadeT2thr
Gaudi::Property< std::vector< float > > m_hadeT2thr
Definition: TrigEgammaFastCaloHypoTool.h:53
GenericMonitoringTool.h
lumiFormat.i
int i
Definition: lumiFormat.py:85
TrigEgammaFastCaloHypoTool::initialize
virtual StatusCode initialize() override
Definition: TrigEgammaFastCaloHypoTool.cxx:28
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
test_pyathena.parent
parent
Definition: test_pyathena.py:15
HLT::Identifier
Definition: TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:20
TrigEgammaFastCaloHypoTool
Definition: TrigEgammaFastCaloHypoTool.h:22
TrigEgammaFastCaloHypoTool::m_F1thr
Gaudi::Property< std::vector< float > > m_F1thr
Definition: TrigEgammaFastCaloHypoTool.h:56
TrigEgammaFastCaloHypoTool::decide_cutbased
bool decide_cutbased(const ITrigEgammaFastCaloHypoTool::FastClusterInfo &i) const
Definition: TrigEgammaFastCaloHypoTool.cxx:99
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TrigEgammaFastCaloHypoTool::m_emEtCut
Gaudi::Property< float > m_emEtCut
Definition: TrigEgammaFastCaloHypoTool.h:63
TrigEgammaFastCaloHypoTool::m_useRinger
Gaudi::Property< bool > m_useRinger
Definition: TrigEgammaFastCaloHypoTool.h:46
TrigEgammaFastCaloHypoTool::decide_ringer
bool decide_ringer(const ITrigEgammaFastCaloHypoTool::FastClusterInfo &i) const
Definition: TrigEgammaFastCaloHypoTool.cxx:331
ILumiBlockMuTool.h
TrigEgammaFastCaloHypoTool::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: TrigEgammaFastCaloHypoTool.h:66
TrigEgammaFastCaloHypoTool::m_etabin
Gaudi::Property< std::vector< float > > m_etabin
selection variable for L2 calo selection:eta bins
Definition: TrigEgammaFastCaloHypoTool.h:49
TrigEgammaFastCaloHypoTool::m_hadeTthr
Gaudi::Property< std::vector< float > > m_hadeTthr
Definition: TrigEgammaFastCaloHypoTool.h:52
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TrigEgammaFastCaloHypoTool::m_acceptAll
Gaudi::Property< bool > m_acceptAll
Definition: TrigEgammaFastCaloHypoTool.h:62
HLTIdentifier.h
TrigEgammaFastCaloHypoTool::m_eT2thr
Gaudi::Property< std::vector< float > > m_eT2thr
Definition: TrigEgammaFastCaloHypoTool.h:51
TrigEgammaFastCaloHypoTool::m_eTthr
Gaudi::Property< std::vector< float > > m_eTthr
Definition: TrigEgammaFastCaloHypoTool.h:50
TrigEgammaFastCaloHypoTool::m_detacluster
Gaudi::Property< float > m_detacluster
Definition: TrigEgammaFastCaloHypoTool.h:60
TrigRoiDescriptor.h
TrigEgammaFastCaloHypoTool::~TrigEgammaFastCaloHypoTool
virtual ~TrigEgammaFastCaloHypoTool()
Definition: TrigEgammaFastCaloHypoTool.cxx:24
TrigEgammaFastCaloHypoTool::m_F3thr
Gaudi::Property< std::vector< float > > m_F3thr
Definition: TrigEgammaFastCaloHypoTool.h:59
TrigEgammaFastCaloHypoTool::m_WETA2thr
Gaudi::Property< std::vector< float > > m_WETA2thr
Definition: TrigEgammaFastCaloHypoTool.h:57
TrigEgammaFastCaloHypoTool::m_caeratiothr
Gaudi::Property< std::vector< float > > m_caeratiothr
Definition: TrigEgammaFastCaloHypoTool.h:55