ATLAS Offline Software
Loading...
Searching...
No Matches
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
20namespace CP
21{
22 SelectionWriteAccessorNull ::
23 SelectionWriteAccessorNull ()
24 {}
25
26
27
28 void SelectionWriteAccessorNull ::
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
41 void SelectionWriteAccessorNull ::
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
53 std::string SelectionWriteAccessorNull ::
54 label () const
55 {
56 return "null";
57 }
58
59
60
61 StatusCode SelectionWriteAccessorNull ::
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}
the interface for the central systematics service
Class to wrap a set of SystematicVariations.
Base class for elements of a container that can have aux data.
Definition AuxElement.h:483
Select isolated Photons, Electrons and Muons.
uint32_t SelectionType
the type for selection decorations that are meant to hold a asg::AcceptData