ATLAS Offline Software
SelectionAccessorExprNot.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 #ifndef SELECTION_HELPERS__SELECTION_ACCESSOR_EXPR_AND_H
6 #define SELECTION_HELPERS__SELECTION_ACCESSOR_EXPR_AND_H
7 
9 
10 #include <memory>
11 
12 namespace CP {
13 
16  public:
18  SelectionAccessorExprNot(std::unique_ptr<ISelectionReadAccessor> child);
19 
22  virtual bool getBool(const SG::AuxElement &element,
23  const CP::SystematicSet *sys) const override;
24 
26  virtual std::string label() const override;
27 
28  virtual CP::SystematicSet
30  const std::string& objectName) const override;
31 
32  virtual StatusCode
34  const std::vector<CP::SystematicSet>& sysList,
35  const std::string& objectName) override;
36 
37  private:
38  std::unique_ptr<ISelectionReadAccessor> m_child;
39 };
40 
41 
42 } // namespace CP
43 
44 #endif
CP::ISystematicsSvc
the interface for the central systematics service
Definition: ISystematicsSvc.h:25
CP::SelectionAccessorExprNot::getBool
virtual bool getBool(const SG::AuxElement &element, const CP::SystematicSet *sys) const override
Definition: SelectionAccessorExprNot.cxx:15
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:472
CP::SystematicSet
Class to wrap a set of SystematicVariations.
Definition: SystematicSet.h:31
CP::SelectionAccessorExprNot::label
virtual std::string label() const override
Definition: SelectionAccessorExprNot.cxx:20
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
mapkey::sys
@ sys
Definition: TElectronEfficiencyCorrectionTool.cxx:42
CP::SelectionAccessorExprNot::SelectionAccessorExprNot
SelectionAccessorExprNot(std::unique_ptr< ISelectionReadAccessor > child)
Definition: SelectionAccessorExprNot.cxx:11
CP::SelectionAccessorExprBase
Serves as the base for a few logical expression classes.
Definition: SelectionAccessorExprBase.h:13
CP::SelectionAccessorExprNot
SelectionAccessor which implements a logical NOT.
Definition: SelectionAccessorExprNot.h:15
CP::SelectionAccessorExprNot::fillSystematics
virtual StatusCode fillSystematics(const ISystematicsSvc &svc, const std::vector< CP::SystematicSet > &sysList, const std::string &objectName) override
fill the systematic variations
Definition: SelectionAccessorExprNot.cxx:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Handler::svc
AthROOTErrorHandlerSvc * svc
Definition: AthROOTErrorHandlerSvc.cxx:10
CP::SelectionAccessorExprNot::getInputAffecting
virtual CP::SystematicSet getInputAffecting(const ISystematicsSvc &svc, const std::string &objectName) const override
get the systematics when reading from the decoration
Definition: SelectionAccessorExprNot.cxx:25
SelectionAccessorExprBase.h
CP::SelectionAccessorExprNot::m_child
std::unique_ptr< ISelectionReadAccessor > m_child
Definition: SelectionAccessorExprNot.h:38