ATLAS Offline Software
Loading...
Searching...
No Matches
TrigEgammaEmulationPrecisionElectronHypoTool.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 * */
4
5
6#ifndef TrigEgammaEmulationPrecisionElectronHypoTool_h
7#define TrigEgammaEmulationPrecisionElectronHypoTool_h
8
9
10#include "AsgTools/AsgTool.h"
14
15
16namespace Trig{
17
18
21 {
22
24
25 public:
26
27 TrigEgammaEmulationPrecisionElectronHypoTool(const std::string& myname);
29
30
31 virtual bool emulate( const TrigData &input, bool &pass) const override;
32
33 virtual StatusCode initialize() override;
34
35 private:
36
37 bool decide( const Trig::TrigData &input, const xAOD::Electron *el) const;
38 int findCutIndex( float eta ) const;
39
40 Gaudi::Property< std::string > m_pidName { this, "PidName", "" };
41 Gaudi::Property< float > m_detacluster { this, "dETACLUSTERthr", 0. , "" };
42 Gaudi::Property< float > m_dphicluster { this, "dPHICLUSTERthr", 0. , "" };
43 Gaudi::Property< float > m_RelPtConeCut { this, "RelPtConeCut", -999., "Track isolation cut" };
44 Gaudi::Property< std::vector<float> > m_etabin { this, "EtaBins", {} , "Bins of eta" };
45 Gaudi::Property< std::vector<float> > m_eTthr { this, "ETthr", {}, "ET Threshold" };
46 Gaudi::Property<float> m_d0{ this, "d0Cut", -1, "d0 cut" };
47
48 Gaudi::Property<bool> m_acceptAll{ this, "AcceptAll", false, "Accept all events" };
49 Gaudi::Property< bool > m_doNoPid { this, "DoNoPid", false , "No Pid/Isolation applied" };
50
51
52
53
54
55 };
56
57
58}//namespace
59#endif
Scalar eta() const
pseudorapidity method
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
bool decide(const Trig::TrigData &input, const xAOD::Electron *el) const
virtual bool emulate(const TrigData &input, bool &pass) const override
==========================================================================
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Gaudi::Property< std::vector< float > > m_etabin
selection variable for PRECISION electron selection:eta bins
The common trigger namespace for trigger analysis tools.
Electron_v1 Electron
Definition of the current "egamma version".