ATLAS Offline Software
TrigEgammaEmulationFastElectronHypoTool.h
Go to the documentation of this file.
1 #ifndef TrigEgammaEmulationFastElectronHypoTool_h
2 #define TrigEgammaEmulationFastElectronHypoTool_h
3 
4 
5 #include "AsgTools/AsgTool.h"
9 
10 
11 namespace Trig{
12 
13 
17  {
19 
20  public:
21 
22  TrigEgammaEmulationFastElectronHypoTool(const std::string& myname);
24 
25  virtual bool emulate( const Trig::TrigData &input, bool &pass ) const override;
26 
27 
28  private:
29 
30  bool decide( const Trig::TrigData &input , const xAOD::TrigElectron* electron) const;
31 
32  Gaudi::Property<bool> m_doRinger{ this, "DoRinger", false, "apply ringer selection" };
33  Gaudi::Property<std::string> m_pidName{ this, "PidName", "", "pid name" };
34 
35  Gaudi::Property<bool> m_acceptAll{ this, "AcceptAll", false, "Ignore selection" };
36  Gaudi::Property<bool> m_doLRT{ this, "DoLRT", false, "apply d0 cut for LRT triggers" };
37  Gaudi::Property<float> m_trackPt{ this, "TrackPt", { float( 5.0*Gaudi::Units::GeV ) }, "Track pT requirement ( separate threshold for each electron )" };
38  Gaudi::Property<float> m_caloTrackDEta{ this, "CaloTrackdETA", 0, "Delta Eta between the track and cluster" }; //loose cut
39  Gaudi::Property<float> m_caloTrackDPhi{ this, "CaloTrackdPHI", 0, "Delta Phi between track and cluster" }; //loose cut
40  Gaudi::Property<float> m_caloTrackdEoverPLow{ this, "CaloTrackdEoverPLow", 0, "Min E over Pt cut "};
41  Gaudi::Property<float> m_caloTrackdEoverPHigh{ this, "CaloTrackdEoverPHigh", 0, "Max E over pT cut" };
42  Gaudi::Property<float> m_trtRatio{ this, "TRTRatio", 0, "TRT HT ratio" };
43  Gaudi::Property<float> m_trkd0{ this, "d0Cut", 0, "d0 cut" };
44 
45  };
46 
47 
48 }//namespace
49 #endif
xAOD::TrigElectron_v1
Class describing an electron reconstructed in the HLT.
Definition: TrigElectron_v1.h:39
GeV
#define GeV
Definition: PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx:17
Trig
The common trigger namespace for trigger analysis tools.
Definition: LArCellMonAlg.h:33
Trig::TrigEgammaEmulationFastElectronHypoTool::decide
bool decide(const Trig::TrigData &input, const xAOD::TrigElectron *electron) const
Definition: TrigEgammaEmulationFastElectronHypoTool.cxx:42
Trig::ITrigEgammaEmulationBaseHypoTool
Definition: ITrigEgammaEmulationBaseHypoTool.h:20
Trig::TrigEgammaEmulationFastElectronHypoTool::m_acceptAll
Gaudi::Property< bool > m_acceptAll
Definition: TrigEgammaEmulationFastElectronHypoTool.h:35
Trig::TrigEgammaEmulationFastElectronHypoTool
Definition: TrigEgammaEmulationFastElectronHypoTool.h:17
Trig::TrigEgammaEmulationFastElectronHypoTool::m_caloTrackdEoverPHigh
Gaudi::Property< float > m_caloTrackdEoverPHigh
Definition: TrigEgammaEmulationFastElectronHypoTool.h:41
Trig::TrigEgammaEmulationFastElectronHypoTool::m_doRinger
Gaudi::Property< bool > m_doRinger
Definition: TrigEgammaEmulationFastElectronHypoTool.h:32
Trig::TrigEgammaEmulationFastElectronHypoTool::m_caloTrackdEoverPLow
Gaudi::Property< float > m_caloTrackdEoverPLow
Definition: TrigEgammaEmulationFastElectronHypoTool.h:40
Trig::TrigEgammaEmulationBaseHypoTool
Definition: TrigEgammaEmulationBaseHypoTool.h:22
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
Trig::TrigEgammaEmulationFastElectronHypoTool::m_doLRT
Gaudi::Property< bool > m_doLRT
Definition: TrigEgammaEmulationFastElectronHypoTool.h:36
Trig::TrigEgammaEmulationFastElectronHypoTool::m_trackPt
Gaudi::Property< float > m_trackPt
Definition: TrigEgammaEmulationFastElectronHypoTool.h:37
Trig::TrigEgammaEmulationFastElectronHypoTool::~TrigEgammaEmulationFastElectronHypoTool
~TrigEgammaEmulationFastElectronHypoTool()=default
Trig::TrigEgammaEmulationFastElectronHypoTool::m_pidName
Gaudi::Property< std::string > m_pidName
Definition: TrigEgammaEmulationFastElectronHypoTool.h:33
Trig::TrigEgammaEmulationFastElectronHypoTool::m_caloTrackDEta
Gaudi::Property< float > m_caloTrackDEta
Definition: TrigEgammaEmulationFastElectronHypoTool.h:38
Trig::TrigEgammaEmulationFastElectronHypoTool::m_trkd0
Gaudi::Property< float > m_trkd0
Definition: TrigEgammaEmulationFastElectronHypoTool.h:43
TrigEgammaEmulationBaseHypoTool.h
ITrigEgammaEmulationBaseHypoTool.h
Trig::TrigEgammaEmulationFastElectronHypoTool::m_trtRatio
Gaudi::Property< float > m_trtRatio
Definition: TrigEgammaEmulationFastElectronHypoTool.h:42
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
Trig::TrigData
Definition: TrigEgammaEmulationToolMT.h:40
xAOD::EgammaParameters::electron
@ electron
Definition: EgammaEnums.h:18
Trig::TrigEgammaEmulationFastElectronHypoTool::emulate
virtual bool emulate(const Trig::TrigData &input, bool &pass) const override
Definition: TrigEgammaEmulationFastElectronHypoTool.cxx:20
Trig::TrigEgammaEmulationFastElectronHypoTool::m_caloTrackDPhi
Gaudi::Property< float > m_caloTrackDPhi
Definition: TrigEgammaEmulationFastElectronHypoTool.h:39
AsgTool.h
readCCLHist.float
float
Definition: readCCLHist.py:83
TrigEgammaEmulationToolMT.h
Trig::TrigEgammaEmulationFastElectronHypoTool::TrigEgammaEmulationFastElectronHypoTool
TrigEgammaEmulationFastElectronHypoTool(const std::string &myname)
Definition: TrigEgammaEmulationFastElectronHypoTool.cxx:12