ATLAS Offline Software
Loading...
Searching...
No Matches
TrigEgammaFastPhotonHypoTool.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_TrigEgammaFastPhotonHypoTool_H
5#define TRIGEGAMMAHYPO_TrigEgammaFastPhotonHypoTool_H 1
6
7#include "Gaudi/Property.h"
8#include "GaudiKernel/SystemOfUnits.h"
15
16
21
23{
24 public:
25 TrigEgammaFastPhotonHypoTool( const std::string& type,
26 const std::string& name,
27 const IInterface* parent );
28
29 virtual StatusCode initialize() override;
30
37
38
39 StatusCode decide( std::vector<PhotonInfo>& decisions ) const;
40
41
42 private:
43
44 bool decide( const xAOD::TrigPhoton* photon ) const;
45
46 int findCutIndex( float eta ) const;
47
49
50 Gaudi::Property<bool> m_acceptAll{ this, "AcceptAll", false, "Ignore selection" };
51 Gaudi::Property< std::vector<float> > m_etabin{ this, "EtaBins", {0, 0.6, 0.8, 1.15, 1.37, 1.52, 1.81, 2.01, 2.37, 2.47}, "Eta bins" };
52 Gaudi::Property< std::vector<float> > m_F1thr{ this, "F1thr", {0.005}, "F1 Threshold" };
53 Gaudi::Property< std::vector<float> > m_eTthr{this, "ETthr", {0.*Gaudi::Units::GeV}, "et threshold"};
54 Gaudi::Property< std::vector<float> > m_eT2thr{this, "ET2thr", {90.0*Gaudi::Units::GeV}, "eT2 threshold"};
55 Gaudi::Property< std::vector<float> > m_hadeTthr{this, "HADETthr", {0.}, "hadet threshold"};
56 Gaudi::Property< std::vector<float> > m_hadeT2thr{this, "HADET2thr", {0.}, "hadet2 threshold"};
57 Gaudi::Property< std::vector<float> > m_carcorethr{this, "CARCOREthr", {0.}, "car core threshold"};
58 Gaudi::Property< std::vector<float> > m_caeratiothr{this, "CAERATIOthr", {0.}, " cera ratio threshold"};
59
60 ToolHandle<GenericMonitoringTool> m_monTool{ this, "MonTool", "", "Monitoring tool" };
61};
62
63#endif //> !TRIGEGAMMAHYPO_TRIGL2CALOHYPOTOOL_H
Scalar eta() const
pseudorapidity method
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Gaudi::Property< std::vector< float > > m_caeratiothr
Gaudi::Property< std::vector< float > > m_etabin
Gaudi::Property< std::vector< float > > m_F1thr
Gaudi::Property< std::vector< float > > m_hadeT2thr
TrigEgammaFastPhotonHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< std::vector< float > > m_hadeTthr
ToolHandle< GenericMonitoringTool > m_monTool
Gaudi::Property< std::vector< float > > m_eT2thr
virtual StatusCode initialize() override
Gaudi::Property< std::vector< float > > m_eTthr
Gaudi::Property< std::vector< float > > m_carcorethr
StatusCode decide(std::vector< PhotonInfo > &decisions) const
std::set< DecisionID > DecisionIDContainer
TrigPhoton_v1 TrigPhoton
Declare the latest version of TrigPhoton.
TrigEMCluster_v1 TrigEMCluster
Define the latest version of the trigger EM cluster class.
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs