ATLAS Offline Software
Loading...
Searching...
No Matches
TrigEgammaPrecisionElectronHypoTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef TRIGEGAMMAHYPO_TRIGPRECISIONELECTRONPRECISIONHYPOTOOLINC_H
5#define TRIGEGAMMAHYPO_TRIGPRECISIONELECTRONPRECISIONHYPOTOOLINC_H 1
6
14
19
20class TrigEgammaPrecisionElectronHypoTool : public extends<AthAlgTool, ITrigEgammaPrecisionElectronHypoTool> {
21 public:
22 TrigEgammaPrecisionElectronHypoTool( const std::string& type,
23 const std::string& name,
24 const IInterface* parent );
25
26 virtual StatusCode initialize() override;
27
28 virtual StatusCode decide( std::vector<ITrigEgammaPrecisionElectronHypoTool::ElectronInfo>& input) const override;
29 virtual bool decide( const ITrigEgammaPrecisionElectronHypoTool::ElectronInfo& i) const override;
30
31 private:
33
34 //Calorimeter electron ID cuts
35 Gaudi::Property< std::vector<float> > m_etabin { this, "EtaBins", {} , "Bins of eta" };
36 Gaudi::Property< std::vector<float> > m_eTthr { this, "ETthr", {}, "ET Threshold" };
37 Gaudi::Property< float > m_detacluster { this, "dETACLUSTERthr", 0. , "" };
38 Gaudi::Property< float > m_dphicluster { this, "dPHICLUSTERthr", 0. , "" };
39 Gaudi::Property< float > m_RelPtConeCut { this, "RelPtConeCut", -999., "Track isolation cut" };
40 Gaudi::Property< float > m_TopoEtConeCut { this, "TopoEtConeCut", -999., "Calorimeter isolation cut" };
41 Gaudi::Property< float > m_d0{ this, "d0Cut", -1., "d0 cut" };
42 Gaudi::Property<std::string> m_pidName{this,"PidName", "", "Pid name"};
43 Gaudi::Property< bool > m_acceptAll { this, "AcceptAll", false , "accept all." };
44 Gaudi::Property< bool > m_doNoPid { this, "DoNoPid", false , "No Pid/Isolation applied" };
45 ToolHandle< GenericMonitoringTool > m_monTool { this, "MonTool", "", "Monitoring tool" };
46 /*switch between relptvarcone30 and relptvarcone20 isolation*/
47 Gaudi::Property<bool> m_useRelptvarcone30{ this, "UseRelptvarcone30", false};
48 Gaudi::Property<bool> m_useTopoetCone20{ this, "UseTopoetcone20", false};
49
50
51 int findCutIndex( float eta ) const;
52
53};
54
55#endif //> !TRIGEGAMMAHYPO_TRIGPRECISIONELECTRONPRECISIONHYPOTOOL_H
56
Scalar eta() const
pseudorapidity method
Handle class for reading a decoration on an object.
Gaudi::Property< std::vector< float > > m_eTthr
TrigEgammaPrecisionElectronHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< std::vector< float > > m_etabin
selection variable for PRECISION electron selection:eta bins
virtual StatusCode decide(std::vector< ITrigEgammaPrecisionElectronHypoTool::ElectronInfo > &input) const override