ATLAS Offline Software
Loading...
Searching...
No Matches
SelectionWriteAccessorInvert.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_ACCESSOR_WRITE_INVERT_H
9#define SELECTION_HELPERS__SELECTION_ACCESSOR_WRITE_INVERT_H
10
12
13#include <memory>
14
15namespace CP
16{
19
21 {
22 //
23 // public interface
24 //
25
26 public:
27 SelectionWriteAccessorInvert (std::unique_ptr<ISelectionWriteAccessor> val_base);
28
29 public:
30 virtual void setBits (const SG::AuxElement& element,
32 const CP::SystematicSet *sys) const override;
33
34 public:
35 virtual void setBool (const SG::AuxElement& element,
36 bool selection,
37 const CP::SystematicSet *sys) const override;
38
39 public:
40 virtual std::string label () const override;
41
42 public:
43 virtual StatusCode
45 const CP::SystematicSet& fullAffecting,
46 const std::vector<CP::SystematicSet>& sysList,
47 const std::string& objectName) override;
48
49
50 //
51 // private interface
52 //
53
55 private:
56 std::unique_ptr<ISelectionWriteAccessor> m_base;
57 };
58}
59
60#endif
a specialized accessor to write a selection decoration to an xAOD object
the interface for the central systematics service
std::unique_ptr< ISelectionWriteAccessor > m_base
the base selection accessors I invert
SelectionWriteAccessorInvert(std::unique_ptr< ISelectionWriteAccessor > val_base)
virtual void setBool(const SG::AuxElement &element, bool selection, const CP::SystematicSet *sys) const override
set the selection decoration
virtual void setBits(const SG::AuxElement &element, SelectionType selection, const CP::SystematicSet *sys) const override
set the selection decoration
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
virtual std::string label() const override
get the label of the accessor
Class to wrap a set of SystematicVariations.
Base class for elements of a container that can have aux data.
Definition AuxElement.h:483
const std::string selection
Select isolated Photons, Electrons and Muons.
uint32_t SelectionType
the type for selection decorations that are meant to hold a asg::AcceptData