ATLAS Offline Software
SelectionWriteAccessorNull.cxx
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 //
9 // includes
10 //
11 
13 
15 
16 //
17 // method implementations
18 //
19 
20 namespace CP
21 {
24  {}
25 
26 
27 
29  setBits (const SG::AuxElement& /*element*/,
30  SelectionType /*selection*/,
31  const CP::SystematicSet * /*sys*/) const
32  {
33  // ok, let's not do anything here, making this an easy way to
34  // ignore selection decorations an algorithm calculates. however,
35  // the implication is that you can simply forget to set the
36  // decoration property and not get an error
37  }
38 
39 
40 
42  setBool (const SG::AuxElement& /*element*/,
43  bool /*selection*/,
44  const CP::SystematicSet * /*sys*/) const
45  {
46  // ok, let's not do anything here, making this an easy way to
47  // ignore selection decorations an algorithm calculates. however,
48  // the implication is that you can simply forget to set the
49  // decoration property and not get an error
50  }
51 
52 
54  label () const
55  {
56  return "null";
57  }
58 
59 
60 
62  fillSystematics (const ISystematicsSvc& /*svc*/,
63  const CP::SystematicSet& /*fullAffecting*/,
64  const std::vector<CP::SystematicSet>& /*sysList*/,
65  const std::string& /*objectName*/)
66  {
67  return StatusCode::SUCCESS;
68  }
69 }
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:483
CP::SelectionType
uint32_t SelectionType
the type for selection decorations that are meant to hold a asg::AcceptData
Definition: SelectionHelpers.h:26
SystematicSet.h
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
SelectionWriteAccessorNull.h
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
CP::SelectionWriteAccessorNull::label
virtual std::string label() const override
get the label of the accessor
Definition: SelectionWriteAccessorNull.cxx:54
CP::SelectionWriteAccessorNull::SelectionWriteAccessorNull
SelectionWriteAccessorNull()
Definition: SelectionWriteAccessorNull.cxx:23