ATLAS Offline Software
TrigEgammaEmulationFastCaloHypoTool.h
Go to the documentation of this file.
1 #ifndef TrigEgammaEmulationFastCaloHypoTool_h
2 #define TrigEgammaEmulationFastCaloHypoTool_h
3 
4 
5 #include "AsgTools/AsgTool.h"
9 
10 
11 namespace Trig{
12 
13 
17  {
19 
20  public:
21 
22  TrigEgammaEmulationFastCaloHypoTool(const std::string& myname);
24 
25 
26  /* emulate */
27  virtual bool emulate( const Trig::TrigData &input, bool &pass ) const override;
28 
29  virtual StatusCode initialize() override;
30 
31  private:
32 
33  bool decide( const Trig::TrigData &input ) const;
34  bool decide_ringer( const Trig::TrigData &input ) const;
35 
36  int findCutIndex( float eta ) const;
37 
38  Gaudi::Property< bool > m_acceptAll { this, "AcceptAll", false , "Accept all" };
39  Gaudi::Property< bool > m_useRinger { this, "UseRinger", false , "Use Ringer Selection" };
40  Gaudi::Property<std::string> m_pidName{this,"PidName", "", "Pid name"};
41  Gaudi::Property<float> m_emEtCut{this,"EtCut", 0.0, "Et threshold"};
42 
43 
44  //Calorimeter electron ID cuts
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  Gaudi::Property< std::vector<float> > m_eT2thr { this, "ET2thr", {}, "Second layer ET threshold" };
48  Gaudi::Property< std::vector<float> > m_hadeTthr { this, "HADETthr", {}, "" };
49  Gaudi::Property< std::vector<float> > m_hadeT2thr { this, "HADET2thr", {}, "" };
50  Gaudi::Property< std::vector<float> > m_carcorethr { this, "CARCOREthr", {}, "" };
51  Gaudi::Property< std::vector<float> > m_caeratiothr { this, "CAERATIOthr", {}, "" };
52  Gaudi::Property< std::vector<float> > m_F1thr { this, "F1thr", {}, "" };
53  Gaudi::Property< std::vector<float> > m_WETA2thr { this, "WETA2thr", {}, "" };
54  Gaudi::Property< std::vector<float> > m_WSTOTthr { this, "WSTOTthr", {}, "" };
55  Gaudi::Property< std::vector<float> > m_F3thr { this, "F3thr", {}, "" };
56  Gaudi::Property< float > m_detacluster { this, "dETACLUSTERthr", 0. , "" };
57  Gaudi::Property< float > m_dphicluster { this, "dPHICLUSTERthr", 0. , "" };
58 
59 
60 
61 
62 
63  };
64 
65 
66 }//namespace
67 #endif
Trig::TrigEgammaEmulationFastCaloHypoTool::decide_ringer
bool decide_ringer(const Trig::TrigData &input) const
==========================================================================
Definition: TrigEgammaEmulationFastCaloHypoTool.cxx:249
Trig::TrigEgammaEmulationFastCaloHypoTool::m_hadeTthr
Gaudi::Property< std::vector< float > > m_hadeTthr
Definition: TrigEgammaEmulationFastCaloHypoTool.h:48
Trig::TrigEgammaEmulationFastCaloHypoTool::m_useRinger
Gaudi::Property< bool > m_useRinger
Definition: TrigEgammaEmulationFastCaloHypoTool.h:39
Trig
The common trigger namespace for trigger analysis tools.
Definition: CaloTowerVecMon.h:44
Trig::TrigEgammaEmulationFastCaloHypoTool::m_caeratiothr
Gaudi::Property< std::vector< float > > m_caeratiothr
Definition: TrigEgammaEmulationFastCaloHypoTool.h:51
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
Trig::TrigEgammaEmulationFastCaloHypoTool::m_emEtCut
Gaudi::Property< float > m_emEtCut
Definition: TrigEgammaEmulationFastCaloHypoTool.h:41
Trig::ITrigEgammaEmulationBaseHypoTool
Definition: ITrigEgammaEmulationBaseHypoTool.h:20
Trig::TrigEgammaEmulationFastCaloHypoTool::m_detacluster
Gaudi::Property< float > m_detacluster
Definition: TrigEgammaEmulationFastCaloHypoTool.h:56
Trig::TrigEgammaEmulationFastCaloHypoTool::m_hadeT2thr
Gaudi::Property< std::vector< float > > m_hadeT2thr
Definition: TrigEgammaEmulationFastCaloHypoTool.h:49
Trig::TrigEgammaEmulationBaseHypoTool
Definition: TrigEgammaEmulationBaseHypoTool.h:22
Trig::TrigEgammaEmulationFastCaloHypoTool::decide
bool decide(const Trig::TrigData &input) const
==========================================================================
Definition: TrigEgammaEmulationFastCaloHypoTool.cxx:49
Trig::TrigEgammaEmulationFastCaloHypoTool::m_acceptAll
Gaudi::Property< bool > m_acceptAll
Definition: TrigEgammaEmulationFastCaloHypoTool.h:38
Trig::TrigEgammaEmulationFastCaloHypoTool::findCutIndex
int findCutIndex(float eta) const
==========================================================================
Definition: TrigEgammaEmulationFastCaloHypoTool.cxx:283
Trig::TrigEgammaEmulationFastCaloHypoTool::m_F3thr
Gaudi::Property< std::vector< float > > m_F3thr
Definition: TrigEgammaEmulationFastCaloHypoTool.h:55
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
Trig::TrigEgammaEmulationFastCaloHypoTool::m_carcorethr
Gaudi::Property< std::vector< float > > m_carcorethr
Definition: TrigEgammaEmulationFastCaloHypoTool.h:50
Trig::TrigEgammaEmulationFastCaloHypoTool::m_eTthr
Gaudi::Property< std::vector< float > > m_eTthr
Definition: TrigEgammaEmulationFastCaloHypoTool.h:46
Trig::TrigEgammaEmulationFastCaloHypoTool::m_dphicluster
Gaudi::Property< float > m_dphicluster
Definition: TrigEgammaEmulationFastCaloHypoTool.h:57
Trig::TrigEgammaEmulationFastCaloHypoTool::emulate
virtual bool emulate(const Trig::TrigData &input, bool &pass) const override
==========================================================================
Definition: TrigEgammaEmulationFastCaloHypoTool.cxx:26
Trig::TrigEgammaEmulationFastCaloHypoTool::m_pidName
Gaudi::Property< std::string > m_pidName
Definition: TrigEgammaEmulationFastCaloHypoTool.h:40
Trig::TrigEgammaEmulationFastCaloHypoTool::m_eT2thr
Gaudi::Property< std::vector< float > > m_eT2thr
Definition: TrigEgammaEmulationFastCaloHypoTool.h:47
Trig::TrigEgammaEmulationFastCaloHypoTool::m_WETA2thr
Gaudi::Property< std::vector< float > > m_WETA2thr
Definition: TrigEgammaEmulationFastCaloHypoTool.h:53
Trig::TrigEgammaEmulationFastCaloHypoTool::initialize
virtual StatusCode initialize() override
==========================================================================
Definition: TrigEgammaEmulationFastCaloHypoTool.cxx:17
TrigEgammaEmulationBaseHypoTool.h
Trig::TrigEgammaEmulationFastCaloHypoTool::TrigEgammaEmulationFastCaloHypoTool
TrigEgammaEmulationFastCaloHypoTool(const std::string &myname)
Definition: TrigEgammaEmulationFastCaloHypoTool.cxx:11
ITrigEgammaEmulationBaseHypoTool.h
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
Trig::TrigData
Definition: TrigEgammaEmulationToolMT.h:40
Trig::TrigEgammaEmulationFastCaloHypoTool::m_WSTOTthr
Gaudi::Property< std::vector< float > > m_WSTOTthr
Definition: TrigEgammaEmulationFastCaloHypoTool.h:54
AsgTool.h
TrigEgammaEmulationToolMT.h
Trig::TrigEgammaEmulationFastCaloHypoTool::m_F1thr
Gaudi::Property< std::vector< float > > m_F1thr
Definition: TrigEgammaEmulationFastCaloHypoTool.h:52
Trig::TrigEgammaEmulationFastCaloHypoTool
Definition: TrigEgammaEmulationFastCaloHypoTool.h:17
Trig::TrigEgammaEmulationFastCaloHypoTool::m_etabin
Gaudi::Property< std::vector< float > > m_etabin
selection variable for L2 calo selection:eta bins
Definition: TrigEgammaEmulationFastCaloHypoTool.h:45
Trig::TrigEgammaEmulationFastCaloHypoTool::~TrigEgammaEmulationFastCaloHypoTool
~TrigEgammaEmulationFastCaloHypoTool()=default