ATLAS Offline Software
TrigEgammaEmulationFastPhotonHypoTool.h
Go to the documentation of this file.
1 #ifndef TrigEgammaEmulationFastPhotonHypoTool_h
2 #define TrigEgammaEmulationFastPhotonHypoTool_h
3 
4 
5 #include "AsgTools/AsgTool.h"
9 
10 
11 namespace Trig{
12 
13 
17  {
19 
20  public:
21 
22  TrigEgammaEmulationFastPhotonHypoTool(const std::string& myname);
24 
25  virtual bool emulate( const Trig::TrigData &input, bool &pass ) const override;
26 
27 
28  private:
29  int findCutIndex( float eta ) const;
30  bool decide( const Trig::TrigData &input ) const;
31 
32  Gaudi::Property<bool> m_acceptAll{ this, "AcceptAll", false, "Ignore selection" };
33  Gaudi::Property<float> m_detacluster { this, "dETACLUSTERthr", 0. , "" };
34  Gaudi::Property<float> m_dphicluster { this, "dPHICLUSTERthr", 0. , "" };
35  Gaudi::Property< std::vector<float> > m_eTthr { this, "ETthr" , {} , "" };
36  Gaudi::Property< std::vector<float> > m_eT2thr { this, "ET2thr", {}, "Second layer ET threshold" };
37  Gaudi::Property< std::vector<float> > m_hadeTthr { this, "HADETthr", {}, "" };
38  Gaudi::Property< std::vector<float> > m_hadeT2thr { this, "HADET2thr", {}, "" };
39  Gaudi::Property< std::vector<float> > m_carcorethr { this, "CARCOREthr", {}, "" };
40  Gaudi::Property< std::vector<float> > m_caeratiothr { this, "CAERATIOthr", {}, "" };
41  Gaudi::Property< std::vector<float> > m_F1thr { this, "F1thr", {}, "" };
42  Gaudi::Property< std::vector<float> > m_WETA2thr { this, "WETA2thr", {}, "" };
43  Gaudi::Property< std::vector<float> > m_WSTOTthr { this, "WSTOTthr", {}, "" };
44  Gaudi::Property< std::vector<float> > m_F3thr { this, "F3thr", {}, "" };
45  Gaudi::Property< std::vector<float> > m_etabin { this, "EtaBins", {} , "Bins of eta" };
46 
47 
48  };
49 
50 
51 }//namespace
52 #endif
Trig::TrigEgammaEmulationFastPhotonHypoTool::m_dphicluster
Gaudi::Property< float > m_dphicluster
Definition: TrigEgammaEmulationFastPhotonHypoTool.h:34
Trig
The common trigger namespace for trigger analysis tools.
Definition: CaloTowerVecMon.h:44
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
Trig::TrigEgammaEmulationFastPhotonHypoTool::m_hadeT2thr
Gaudi::Property< std::vector< float > > m_hadeT2thr
Definition: TrigEgammaEmulationFastPhotonHypoTool.h:38
Trig::ITrigEgammaEmulationBaseHypoTool
Definition: ITrigEgammaEmulationBaseHypoTool.h:20
Trig::TrigEgammaEmulationBaseHypoTool
Definition: TrigEgammaEmulationBaseHypoTool.h:22
Trig::TrigEgammaEmulationFastPhotonHypoTool::emulate
virtual bool emulate(const Trig::TrigData &input, bool &pass) const override
==========================================================================
Definition: TrigEgammaEmulationFastPhotonHypoTool.cxx:19
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
Trig::TrigEgammaEmulationFastPhotonHypoTool::m_detacluster
Gaudi::Property< float > m_detacluster
Definition: TrigEgammaEmulationFastPhotonHypoTool.h:33
Trig::TrigEgammaEmulationFastPhotonHypoTool::m_acceptAll
Gaudi::Property< bool > m_acceptAll
Definition: TrigEgammaEmulationFastPhotonHypoTool.h:32
Trig::TrigEgammaEmulationFastPhotonHypoTool::m_caeratiothr
Gaudi::Property< std::vector< float > > m_caeratiothr
Definition: TrigEgammaEmulationFastPhotonHypoTool.h:40
Trig::TrigEgammaEmulationFastPhotonHypoTool::m_etabin
Gaudi::Property< std::vector< float > > m_etabin
Definition: TrigEgammaEmulationFastPhotonHypoTool.h:45
Trig::TrigEgammaEmulationFastPhotonHypoTool::findCutIndex
int findCutIndex(float eta) const
Definition: TrigEgammaEmulationFastPhotonHypoTool.cxx:134
Trig::TrigEgammaEmulationFastPhotonHypoTool::m_WETA2thr
Gaudi::Property< std::vector< float > > m_WETA2thr
Definition: TrigEgammaEmulationFastPhotonHypoTool.h:42
Trig::TrigEgammaEmulationFastPhotonHypoTool::~TrigEgammaEmulationFastPhotonHypoTool
~TrigEgammaEmulationFastPhotonHypoTool()=default
Trig::TrigEgammaEmulationFastPhotonHypoTool::m_hadeTthr
Gaudi::Property< std::vector< float > > m_hadeTthr
Definition: TrigEgammaEmulationFastPhotonHypoTool.h:37
Trig::TrigEgammaEmulationFastPhotonHypoTool::m_WSTOTthr
Gaudi::Property< std::vector< float > > m_WSTOTthr
Definition: TrigEgammaEmulationFastPhotonHypoTool.h:43
Trig::TrigEgammaEmulationFastPhotonHypoTool::decide
bool decide(const Trig::TrigData &input) const
==========================================================================
Definition: TrigEgammaEmulationFastPhotonHypoTool.cxx:42
Trig::TrigEgammaEmulationFastPhotonHypoTool::m_F3thr
Gaudi::Property< std::vector< float > > m_F3thr
Definition: TrigEgammaEmulationFastPhotonHypoTool.h:44
Trig::TrigEgammaEmulationFastPhotonHypoTool
Definition: TrigEgammaEmulationFastPhotonHypoTool.h:17
TrigEgammaEmulationBaseHypoTool.h
Trig::TrigEgammaEmulationFastPhotonHypoTool::m_eT2thr
Gaudi::Property< std::vector< float > > m_eT2thr
Definition: TrigEgammaEmulationFastPhotonHypoTool.h:36
ITrigEgammaEmulationBaseHypoTool.h
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
Trig::TrigData
Definition: TrigEgammaEmulationToolMT.h:40
Trig::TrigEgammaEmulationFastPhotonHypoTool::m_F1thr
Gaudi::Property< std::vector< float > > m_F1thr
Definition: TrigEgammaEmulationFastPhotonHypoTool.h:41
AsgTool.h
Trig::TrigEgammaEmulationFastPhotonHypoTool::TrigEgammaEmulationFastPhotonHypoTool
TrigEgammaEmulationFastPhotonHypoTool(const std::string &myname)
Definition: TrigEgammaEmulationFastPhotonHypoTool.cxx:11
Trig::TrigEgammaEmulationFastPhotonHypoTool::m_carcorethr
Gaudi::Property< std::vector< float > > m_carcorethr
Definition: TrigEgammaEmulationFastPhotonHypoTool.h:39
Trig::TrigEgammaEmulationFastPhotonHypoTool::m_eTthr
Gaudi::Property< std::vector< float > > m_eTthr
Definition: TrigEgammaEmulationFastPhotonHypoTool.h:35
TrigEgammaEmulationToolMT.h