ATLAS Offline Software
Loading...
Searching...
No Matches
TrigEgammaPrecisionPhotonHypoTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef TRIGEGAMMAHYPO_TRIGPRECISIONPHOTONHYPOTOOLINC_H
5#define TRIGEGAMMAHYPO_TRIGPRECISIONPHOTONHYPOTOOLINC_H 1
6
13
18
19class TrigEgammaPrecisionPhotonHypoTool : public extends<AthAlgTool, ITrigEgammaPrecisionPhotonHypoTool> {
20 public:
21 TrigEgammaPrecisionPhotonHypoTool( const std::string& type,const std::string& name, const IInterface* parent );
22
23 virtual StatusCode initialize() override;
24
25 virtual StatusCode decide( std::vector<ITrigEgammaPrecisionPhotonHypoTool::PhotonInfo>& input ) const override;
26
27 virtual bool decide( const ITrigEgammaPrecisionPhotonHypoTool::PhotonInfo& i ) const override;
28
29 private:
31
32 //Calorimeter electron ID cuts
33 Gaudi::Property< std::vector<float> > m_etabin { this, "EtaBins", {} , "Bins of eta" };
34 Gaudi::Property< std::vector<float> > m_eTthr { this, "ETthr", {}, "ET Threshold" };
35 Gaudi::Property< float > m_detacluster { this, "dETACLUSTERthr", 0. , "" };
36 Gaudi::Property< float > m_dphicluster { this, "dPHICLUSTERthr", 0. , "" };
37 Gaudi::Property< bool > m_doNoPid { this, "DoNoPid", false , "No Pid/Isolation applied" };
38// Gaudi::Property< std::vector<float> > m_RelEtConeCut { this, "RelEtConeCut", {999., 999., 999.} , "Calo isolation cut on etcone20" };
39// Gaudi::Property< std::vector<float> > m_RelTopoEtConeCut { this, "RelTopoEtConeCut", {999., 999., 999.}, "Calo isolation cut in [TopoEtcone20/pt, TopoEtcone30/pt, TopoEtcone40/pt]" };
40// Gaudi::Property< std::vector<float> > m_CutOffset { this, "Offset", {0., 0., 0.} , "Calo isolation offset cut in [(Topo)Etcone20/pt, (Topo)Etcone30/pt, (Topo)Etcone40/pt]" };
41 Gaudi::Property< std::string > m_pidName {this, "PidName", "", "Pid name"};
42
43 /* monitoring */
44 ToolHandle< GenericMonitoringTool > m_monTool { this, "MonTool", "", "Monitoring tool" };
45
46 /*Luminosity info*/
47 SG::ReadDecorHandleKey<xAOD::EventInfo> m_avgMuKey { this, "averageInteractionsPerCrossingKey", "EventInfo.averageInteractionsPerCrossing", "Decoration for Average Interaction Per Crossing" };
48
49
50 int findCutIndex( float eta ) const;
51};
52
53#endif //> !TRIGEGAMMAHYPO_TRIGPRECISIONPHOTONHYPOTOOL_H
Scalar eta() const
pseudorapidity method
Handle class for reading a decoration on an object.
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Gaudi::Property< std::vector< float > > m_eTthr
TrigEgammaPrecisionPhotonHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< std::vector< float > > m_etabin
selection variable for PRECISION calo selection:eta bins
virtual StatusCode decide(std::vector< ITrigEgammaPrecisionPhotonHypoTool::PhotonInfo > &input) const override
ToolHandle< GenericMonitoringTool > m_monTool
SG::ReadDecorHandleKey< xAOD::EventInfo > m_avgMuKey