ATLAS Offline Software
Loading...
Searching...
No Matches
TrigEgammaEmulationL1CaloHypoTool.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 * */
4
5
6#ifndef TrigEgammaEmulationL1CaloHypoTool_h
7#define TrigEgammaEmulationL1CaloHypoTool_h
8
9
10#include "AsgTools/AsgTool.h"
14
15
16
17namespace Trig{
18
19
22
23 {
25
26 public:
27
28 TrigEgammaEmulationL1CaloHypoTool(const std::string& myname);
30
31
32 virtual bool emulate( const TrigData &, bool &) const override;
33
34
35 private:
36
37 bool decide( const Trig::TrigData &input ) const;
38 bool isolationL1(float min, float offset, float slope, float energy, float emE) const;
39 bool variableEtL1(std::string L1item, float l1energy, float l1eta) const;
40 float emulationL1V(const std::string& L1item, float l1eta) const;
41
42 // L1 configuration parameters
43 Gaudi::Property<std::string> m_l1item{this, "L1Item", "", "" };
44 Gaudi::Property<float> m_l1threshold{this, "L1Thr", 0};
45 Gaudi::Property<float> m_hadCoreCutMin{this , "HadCoreCutMin", 0 };
46 Gaudi::Property<float> m_hadCoreCutOff{this , "HadCoreCutOff", 0 };
47 Gaudi::Property<float> m_hadCoreCutSlope{this, "HadCoreSlope" , 0 };
48 Gaudi::Property<float> m_emIsolCutMin{this , "EmIsolCutMin" , 0 };
49 Gaudi::Property<float> m_emIsolCutOff{this , "EmIsolCutOff" , 0 };
50 Gaudi::Property<float> m_emIsolCutSlope{this , "EmIsolSlope" , 0 };
51 Gaudi::Property<float> m_isolMaxCut{this , "IsolCutMax" , 50 };
52
53 };
54}//namespace
55#endif
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
#define min(a, b)
Definition cfImp.cxx:40
float emulationL1V(const std::string &L1item, float l1eta) const
==========================================================================
bool variableEtL1(std::string L1item, float l1energy, float l1eta) const
==========================================================================
bool isolationL1(float min, float offset, float slope, float energy, float emE) const
==========================================================================
virtual bool emulate(const TrigData &, bool &) const override
==========================================================================
bool decide(const Trig::TrigData &input) const
==========================================================================
The common trigger namespace for trigger analysis tools.