7#ifndef EVENT_SELECTOR_JETNGHOSTSELECTORALG_H
8#define EVENT_SELECTOR_JETNGHOSTSELECTORALG_H
36 virtual StatusCode
execute()
override;
41 Gaudi::Property<float>
m_ptmin {
this,
"minPt", 0.,
"minimum pT (in MeV)"};
44 Gaudi::Property<std::string>
m_sign {
this,
"sign",
"SetMe",
"comparison sign to use"};
47 Gaudi::Property<int>
m_count {
this,
"count", 0,
"count value"};
51 this,
"ghost",
"",
"name of the ghost decoration to look up for positive object counts"
55 Gaudi::Property<std::string>
m_veto {
56 this,
"veto",
"",
"name of the ghost decoration to look up for negative object counts"
67 this,
"jets",
"",
"the particle container to use"
72 this,
"jetSelection",
"",
"the selection on the input particles"
77 this,
"eventInfo",
"EventInfo",
"the EventInfo container to read selection decisions from"
82 this,
"eventPreselection",
"SetMe",
"name of the preselection to check before applying this one"
87 this,
"decorationName",
"SetMe",
"decoration name for the NGhosts selector"
92 std::unique_ptr<SG::ConstAccessor<int>>
m_vetoAcc{};
std::unique_ptr< SG::ConstAccessor< int > > m_vetoAcc
Gaudi::Property< std::string > m_sign
the sign against which to compare pT (GT, LT, etc)
Gaudi::Property< std::string > m_ghost
the ghost decoration
Gaudi::Property< std::string > m_veto
the ghost decoration
virtual StatusCode execute() override
CP::SysWriteSelectionHandle m_decoration
the output selection decoration
CP::SysReadHandle< xAOD::JetContainer > m_jetsHandle
the jet input handle
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info handle
CP::SysReadSelectionHandle m_preselection
the preselection
CP::SysListHandle m_systematicsList
the systematics list
virtual StatusCode initialize() override
Gaudi::Property< float > m_ptmin
the pT threshold on which to select
JetNGhostSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
CP::SysReadSelectionHandle m_jetSelection
the jet selection handle
SignEnum::ComparisonOperator m_signEnum
the operator version of the comparison (>, <, etc)
Gaudi::Property< int > m_count
the count of events desired
std::unique_ptr< SG::ConstAccessor< int > > m_ghostAcc
the ghost and ghost-veto accessors
a class managing the property to configure the list of systematics to process
a data handle for reading systematics varied input data
a data handle for reading systematically varied selection properties from objects
a data handle for writing systematically varied selection properties from objects
the (new) base class for EventLoop algorithms
Select isolated Photons, Electrons and Muons.
ComparisonOperator
all possible comparison user inputs