ATLAS Offline Software
Loading...
Searching...
No Matches
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
11namespace 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
Scalar eta() const
pseudorapidity method
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
virtual StatusCode initialize() override
==========================================================================
int findCutIndex(float eta) const
==========================================================================
Gaudi::Property< std::vector< float > > m_etabin
selection variable for L2 calo selection:eta bins
bool decide_ringer(const Trig::TrigData &input) const
==========================================================================
bool decide(const Trig::TrigData &input) const
==========================================================================
Gaudi::Property< std::vector< float > > m_caeratiothr
virtual bool emulate(const Trig::TrigData &input, bool &pass) const override
==========================================================================
The common trigger namespace for trigger analysis tools.