ATLAS Offline Software
Loading...
Searching...
No Matches
TrigEgammaFastElectronHypoTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef TRIGEGAMMAHYPO_TrigEgammaFastElectronHypoTool_H
5#define TRIGEGAMMAHYPO_TrigEgammaFastElectronHypoTool_H 1
6
7#include "Gaudi/Property.h"
8#include "GaudiKernel/SystemOfUnits.h"
16
17
22
23class TrigEgammaFastElectronHypoTool :public extends<AthAlgTool, ITrigEgammaFastElectronHypoTool>
24{
25 public:
26 TrigEgammaFastElectronHypoTool( const std::string& type,
27 const std::string& name,
28 const IInterface* parent );
29
30 virtual StatusCode initialize() override;
31
32 virtual StatusCode decide( std::vector<ITrigEgammaFastElectronHypoTool::ElectronInfo>& input ) const override;
33
34 virtual bool decide( const ITrigEgammaFastElectronHypoTool::ElectronInfo& i ) const override;
35
36 private:
37
40
42
43 Gaudi::Property<bool> m_acceptAll{ this, "AcceptAll", false, "Ignore selection" };
44 Gaudi::Property<bool> m_doLRT{ this, "DoLRT", false, "apply d0 cut for LRT triggers" };
45 Gaudi::Property<bool> m_doRinger{ this, "DoRinger", false, "apply NN ringer selection" };
46 Gaudi::Property<float> m_trackPt{ this, "TrackPt", 5.0*Gaudi::Units::GeV, "Track pT requirement ( separate threshold for each electron )" };
47 Gaudi::Property<float> m_caloTrackDEta{ this, "CaloTrackdETA", 0, "Delta Eta between the track and cluster" }; //loose cut
48 Gaudi::Property<float> m_caloTrackDPhi{ this, "CaloTrackdPHI", 0, "Delta Phi between track and cluster" }; //loose cut
49 Gaudi::Property<float> m_caloTrackdEoverPLow{ this, "CaloTrackdEoverPLow", 0, "Min E over Pt cut "};
50 Gaudi::Property<float> m_caloTrackdEoverPHigh{ this, "CaloTrackdEoverPHigh", 0, "Max E over pT cut" };
51 Gaudi::Property<float> m_trtRatio{ this, "TRTRatio", 0, "TRT HT ratio" };
52 Gaudi::Property<float> m_d0{ this, "d0Cut", 0, "d0 cut" };
53 Gaudi::Property<std::string> m_pidName{this,"PidName", "", "Pid name"};
54 ToolHandle<GenericMonitoringTool> m_monTool{ this, "MonTool", "", "Monitoring tool" };
55};
56
57#endif //> !TRIGEGAMMAHYPO_TRIGEGAMMAFASTCALOHYPOTOOL_H
TrigEgammaFastElectronHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< std::string > m_pidName
ToolHandle< GenericMonitoringTool > m_monTool
virtual StatusCode decide(std::vector< ITrigEgammaFastElectronHypoTool::ElectronInfo > &input) const override
bool decide_cb(const ITrigEgammaFastElectronHypoTool::ElectronInfo &i) const
bool decide_ringer(const ITrigEgammaFastElectronHypoTool::ElectronInfo &i) const