ATLAS Offline Software
Loading...
Searching...
No Matches
TrigEgammaEmulationPrecisionPhotonHypoTool.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 * */
4
5
6#ifndef TrigEgammaEmulationPrecisionPhotonHypoTool_h
7#define TrigEgammaEmulationPrecisionPhotonHypoTool_h
8
9
10#include "AsgTools/AsgTool.h"
14
15
16
17namespace Trig{
18
19
22 {
24
25 public:
26
27 TrigEgammaEmulationPrecisionPhotonHypoTool(const std::string& myname);
29
30 virtual bool emulate( const TrigData &input, bool &pass) const override;
31
32 virtual StatusCode initialize() override;
33
34
35 private:
36
37 bool decide( const TrigData &input, const xAOD::Photon *ph ) const;
38
39 int findCutIndex( float eta ) const;
40
41 Gaudi::Property< std::string > m_pidName { this, "PidName", "" };
42 Gaudi::Property< float > m_detacluster { this, "dETACLUSTERthr", 0. , "" };
43 Gaudi::Property< float > m_dphicluster { this, "dPHICLUSTERthr", 0. , "" };
44 Gaudi::Property< float > m_RelTopoEtConeCut { this, "RelTopoEtConeCut", -999. , "Calo isolation cut" };
45 Gaudi::Property< std::vector<float> > m_etabin { this, "EtaBins", {} , "Bins of eta" };
46 Gaudi::Property< std::vector<float> > m_eTthr { this, "ETthr", {}, "ET Threshold" };
47
48
49
50
51 };
52
53
54}//namespace
55#endif
Scalar eta() const
pseudorapidity method
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
int findCutIndex(float eta) const
==========================================================================
virtual StatusCode initialize() override
==========================================================================
bool decide(const TrigData &input, const xAOD::Photon *ph) const
==========================================================================
virtual bool emulate(const TrigData &input, bool &pass) const override
==========================================================================
The common trigger namespace for trigger analysis tools.
Photon_v1 Photon
Definition of the current "egamma version".