Make some ToolConstants conditions objects for testing.
29{
32 return StatusCode::SUCCESS;
33 }
34
35 ServiceHandle<StoreGateSvc> condStore (
"ConditionStore",
name());
37
38 ServiceHandle<Athena::IRCUSvc> rcusvc (
"Athena::RCUSvc",
name());
40
41 using CondCont_t = CondCont<CaloRec::ToolConstants>;
43 auto cc = std::make_unique<CondCont_t> (*rcusvc.get(),
id);
44
46 EventIDBase::UNDEFEVT,
47 EventIDBase::UNDEFNUM,
48 EventIDBase::UNDEFNUM,
49 l); };
50 auto range = [&](
int l1,
int l2) {
return EventIDRange (lbn(l1), lbn(l2)); };
51 EventContext ctx;
52
53 {
54 auto tc = std::make_unique<CaloRec::ToolConstants>();
57 tc->newrep (
name(),
"test.cb1",
"0");
58 tc->newrep (
name(),
"test.ca2",
"[[4, 5], [10, 9], [2.5, 1]]");
60 }
61
62 {
63 auto tc = std::make_unique<CaloRec::ToolConstants>();
66 tc->newrep (
name(),
"test.cb1",
"1");
67 tc->newrep (
name(),
"test.ca1",
"[10, 9, 8, 7]");
68 tc->newrep (
name(),
"test.ca2",
"[[14, 15], [1, 19], [12.5, 11]]");
70 }
71
72 {
73 auto tc = std::make_unique<CaloRec::ToolConstants>();
76 tc->newrep (
name(),
"test.cb1",
"1");
77 tc->newrep (
name(),
"test.caa",
"[10, 9, 8, 7]");
78 tc->newrep (
name(),
"test.ca2",
"[[14, 15], [1, 19], [12.5, 11]]");
80 }
81
82 {
83 auto tc = std::make_unique<CaloRec::ToolConstants>();
87 }
88
90
91 return StatusCode::SUCCESS;
92}
#define ATH_CHECK
Evaluate an expression and check for errors.
l
Printing final latex table to .tex output file.
static constexpr CLID ID()