ATLAS Offline Software
Loading...
Searching...
No Matches
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
21
22class 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
Scalar eta() const
pseudorapidity method
Gaudi::Property< std::vector< float > > m_hadeT2thr
Gaudi::Property< std::vector< float > > m_F3thr
bool decide_cutbased(const ITrigEgammaFastCaloHypoTool::FastClusterInfo &i) const
bool decide_ringer(const ITrigEgammaFastCaloHypoTool::FastClusterInfo &i) const
virtual StatusCode decide(std::vector< ITrigEgammaFastCaloHypoTool::FastClusterInfo > &input) const override
Gaudi::Property< std::vector< float > > m_WETA2thr
virtual StatusCode initialize() override
Gaudi::Property< std::vector< float > > m_F1thr
ToolHandle< GenericMonitoringTool > m_monTool
Gaudi::Property< std::vector< float > > m_WSTOTthr
Gaudi::Property< std::vector< float > > m_caeratiothr
Gaudi::Property< std::vector< float > > m_eT2thr
TrigEgammaFastCaloHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< std::vector< float > > m_carcorethr
Gaudi::Property< std::vector< float > > m_etabin
selection variable for L2 calo selection:eta bins
Gaudi::Property< float > m_detacluster
Gaudi::Property< std::vector< float > > m_eTthr
Gaudi::Property< std::vector< float > > m_hadeTthr
Gaudi::Property< std::string > m_pidName
Gaudi::Property< float > m_dphicluster