ATLAS Offline Software
Loading...
Searching...
No Matches
TrigEgammaPrecisionPhotonCaloIsoHypoTool.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_TRIGPHOTONCALOISOHYPOTOOLINC_H
5#define TRIGEGAMMAHYPO_TRIGPHOTONCALOISOHYPOTOOLINC_H 1
6
7/*
8 * =====================================================================================
9 *
10 * Filename: TrigEgammaPrecisionPhotonCaloIsoHypoTool.h
11 *
12 * Description: Hypo tool header for Calorimeter isolation applied HLT precision step for photon triggers
13 *
14 * Created: 08/09/2022 11:19:55 AM
15 *
16 * Author: Fernando Monticelli (), Fernando.Monticelli@cern.ch
17 * Organization: UNLP/IFLP/CONICET
18 *
19 * =====================================================================================
20 */
21
22
29
34
35class TrigEgammaPrecisionPhotonCaloIsoHypoTool : public extends<AthAlgTool, ITrigEgammaPrecisionPhotonCaloIsoHypoTool> {
36 public:
37 TrigEgammaPrecisionPhotonCaloIsoHypoTool( const std::string& type,const std::string& name, const IInterface* parent );
38
39 virtual StatusCode initialize() override;
40
41 virtual StatusCode decide( std::vector<ITrigEgammaPrecisionPhotonCaloIsoHypoTool::PhotonInfo>& input ) const override;
42
43 virtual bool decide( const ITrigEgammaPrecisionPhotonCaloIsoHypoTool::PhotonInfo& i ) const override;
44
45 private:
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_RelEtConeCut { this, "RelEtConeCut", {999., 999., 999.} , "Calo isolation cut on etcone20" };
51 Gaudi::Property< std::vector<float> > m_RelTopoEtConeCut { this, "RelTopoEtConeCut", {999., 999., 999.}, "Calo isolation cut in [TopoEtcone20/pt, TopoEtcone30/pt, TopoEtcone40/pt]" };
52 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]" };
53 Gaudi::Property< std::string > m_pidName {this, "PidName", "", "Pid name"};
54
55 /* Accept all in case of noiso instance */
56 Gaudi::Property< bool > m_acceptAll {this, "AcceptAll", false, "Force accept the event"};
57 /* monitoring */
58 ToolHandle< GenericMonitoringTool > m_monTool { this, "MonTool", "", "Monitoring tool" };
59
60 /*Luminosity info*/
61 SG::ReadDecorHandleKey<xAOD::EventInfo> m_avgMuKey { this, "averageInteractionsPerCrossingKey", "EventInfo.averageInteractionsPerCrossing", "Decoration for Average Interaction Per Crossing" };
62
63
64 int findCutIndex( float eta ) const;
65};
66
67#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_etabin
selection variable for PRECISION calo selection:eta bins
TrigEgammaPrecisionPhotonCaloIsoHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode decide(std::vector< ITrigEgammaPrecisionPhotonCaloIsoHypoTool::PhotonInfo > &input) const override