ATLAS Offline Software
SelectionWriteAccessorNull.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 
8 #ifndef SELECTION_HELPERS__SELECTION_WRITE_ACCESSOR_NULL_H
9 #define SELECTION_HELPERS__SELECTION_WRITE_ACCESSOR_NULL_H
10 
12 
13 namespace CP
14 {
21 
23  {
24  //
25  // public interface
26  //
27 
28  public:
30 
31  public:
32  virtual void setBits (const SG::AuxElement& element,
34  const CP::SystematicSet *sys) const override;
35 
36  public:
37  virtual void setBool (const SG::AuxElement& element,
38  bool selection,
39  const CP::SystematicSet *sys) const override;
40 
41  public:
42  virtual std::string label () const override;
43 
44  public:
45  virtual StatusCode
47  const CP::SystematicSet& fullAffecting,
48  const std::vector<CP::SystematicSet>& sysList,
49  const std::string& objectName) override;
50  };
51 }
52 
53 #endif
CP::ISelectionWriteAccessor
a specialized accessor to write a selection decoration to an xAOD object
Definition: ISelectionWriteAccessor.h:39
CP::ISystematicsSvc
the interface for the central systematics service
Definition: ISystematicsSvc.h:25
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:446
CP::SelectionType
uint32_t SelectionType
the type for selection decorations that are meant to hold a asg::AcceptData
Definition: SelectionHelpers.h:26
CP::SystematicSet
Class to wrap a set of SystematicVariations.
Definition: SystematicSet.h:31
CP::SelectionWriteAccessorNull::setBool
virtual void setBool(const SG::AuxElement &element, bool selection, const CP::SystematicSet *sys) const override
set the selection decoration
Definition: SelectionWriteAccessorNull.cxx:42
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
mapkey::sys
@ sys
Definition: TElectronEfficiencyCorrectionTool.cxx:42
CP::SelectionWriteAccessorNull::setBits
virtual void setBits(const SG::AuxElement &element, SelectionType selection, const CP::SystematicSet *sys) const override
set the selection decoration
Definition: SelectionWriteAccessorNull.cxx:29
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::SelectionWriteAccessorNull::fillSystematics
virtual StatusCode fillSystematics(const ISystematicsSvc &svc, const CP::SystematicSet &fullAffecting, const std::vector< CP::SystematicSet > &sysList, const std::string &objectName) override
fill the systematic variations
Definition: SelectionWriteAccessorNull.cxx:62
Handler::svc
AthROOTErrorHandlerSvc * svc
Definition: AthROOTErrorHandlerSvc.cxx:10
selection
std::string selection
Definition: fbtTestBasics.cxx:73
CP::SelectionWriteAccessorNull::label
virtual std::string label() const override
get the label of the accessor
Definition: SelectionWriteAccessorNull.cxx:54
CP::SelectionWriteAccessorNull
a SelectionAccesor that can be used instead of a nullptr
Definition: SelectionWriteAccessorNull.h:23
CP::SelectionWriteAccessorNull::SelectionWriteAccessorNull
SelectionWriteAccessorNull()
Definition: SelectionWriteAccessorNull.cxx:23
ISelectionWriteAccessor.h