I'm only adding a dependency for nominal here, as there are currently no use cases in which a downstream user would only read a systematic, but not the nominal. The concern is that we might add dozens (or in extreme cases hundreds) of dependencies, without those adding providing any value.
30 {
31
32 std::string fullKeyStr = "StoreGateSvc+";
33
34 {
40 std::string temp;
42 {
43 msg << MSG::ERROR <<
"could not build nominal systematic name for " +
name <<
endmsg;
44 return StatusCode::FAILURE;
45 }
46 fullKeyStr += temp;
47 }
48
49 if (!decoName.empty())
50 {
51 std::string temp;
53 {
54 msg << MSG::ERROR <<
"could not build nominal systematic name for " + decoName <<
endmsg;
55 return StatusCode::FAILURE;
56 }
57
58
59 fullKeyStr += "." + temp;
60
61
62 mode = decoWrite ? Gaudi::DataHandle::Writer : Gaudi::DataHandle::Reader;
63 }
64
65 addAlgDependency(DataObjID{clid, std::move(fullKeyStr)},
mode);
66 return StatusCode::SUCCESS;
67 }
Class to wrap a set of SystematicVariations.