ATLAS Offline Software
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 
17 namespace 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
Trig
The common trigger namespace for trigger analysis tools.
Definition: LArCellMonAlg.h:33
Trig::TrigEgammaEmulationPrecisionPhotonHypoTool::emulate
virtual bool emulate(const TrigData &input, bool &pass) const override
==========================================================================
Definition: TrigEgammaEmulationPrecisionPhotonHypoTool.cxx:23
Trig::ITrigEgammaEmulationBaseHypoTool
Definition: ITrigEgammaEmulationBaseHypoTool.h:20
Trig::TrigEgammaEmulationPrecisionPhotonHypoTool::m_detacluster
Gaudi::Property< float > m_detacluster
Definition: TrigEgammaEmulationPrecisionPhotonHypoTool.h:42
Trig::TrigEgammaEmulationBaseHypoTool
Definition: TrigEgammaEmulationBaseHypoTool.h:22
Trig::TrigEgammaEmulationPrecisionPhotonHypoTool::TrigEgammaEmulationPrecisionPhotonHypoTool
TrigEgammaEmulationPrecisionPhotonHypoTool(const std::string &myname)
Definition: TrigEgammaEmulationPrecisionPhotonHypoTool.cxx:9
Trig::TrigEgammaEmulationPrecisionPhotonHypoTool::m_eTthr
Gaudi::Property< std::vector< float > > m_eTthr
Definition: TrigEgammaEmulationPrecisionPhotonHypoTool.h:46
Trig::TrigEgammaEmulationPrecisionPhotonHypoTool::m_RelTopoEtConeCut
Gaudi::Property< float > m_RelTopoEtConeCut
Definition: TrigEgammaEmulationPrecisionPhotonHypoTool.h:44
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Trig::TrigEgammaEmulationPrecisionPhotonHypoTool
Definition: TrigEgammaEmulationPrecisionPhotonHypoTool.h:22
Trig::TrigEgammaEmulationPrecisionPhotonHypoTool::initialize
virtual StatusCode initialize() override
==========================================================================
Definition: TrigEgammaEmulationPrecisionPhotonHypoTool.cxx:15
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
Trig::TrigEgammaEmulationPrecisionPhotonHypoTool::m_etabin
Gaudi::Property< std::vector< float > > m_etabin
Definition: TrigEgammaEmulationPrecisionPhotonHypoTool.h:45
Trig::TrigEgammaEmulationPrecisionPhotonHypoTool::~TrigEgammaEmulationPrecisionPhotonHypoTool
~TrigEgammaEmulationPrecisionPhotonHypoTool()=default
Trig::TrigEgammaEmulationPrecisionPhotonHypoTool::findCutIndex
int findCutIndex(float eta) const
==========================================================================
Definition: TrigEgammaEmulationPrecisionPhotonHypoTool.cxx:255
xAOD::Photon_v1
Definition: Photon_v1.h:37
TrigEgammaEmulationBaseHypoTool.h
ITrigEgammaEmulationBaseHypoTool.h
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
Trig::TrigEgammaEmulationPrecisionPhotonHypoTool::m_dphicluster
Gaudi::Property< float > m_dphicluster
Definition: TrigEgammaEmulationPrecisionPhotonHypoTool.h:43
Trig::TrigData
Definition: TrigEgammaEmulationToolMT.h:40
Trig::TrigEgammaEmulationPrecisionPhotonHypoTool::decide
bool decide(const TrigData &input, const xAOD::Photon *ph) const
==========================================================================
Definition: TrigEgammaEmulationPrecisionPhotonHypoTool.cxx:44
AsgTool.h
Trig::TrigEgammaEmulationPrecisionPhotonHypoTool::m_pidName
Gaudi::Property< std::string > m_pidName
Definition: TrigEgammaEmulationPrecisionPhotonHypoTool.h:41
TrigEgammaEmulationToolMT.h