ATLAS Offline Software
Loading...
Searching...
No Matches
PhysliteTest.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8#ifndef COLUMNAR_TEST_FIXTURES_PHYSLITE_TEST_H
9#define COLUMNAR_TEST_FIXTURES_PHYSLITE_TEST_H
10
11#include <SGCore/sgkey_t.h>
12
13#include <span>
14#include <string>
15#include <unordered_map>
16
17class TFile;
18
19namespace columnar
20{
21 namespace TestUtils
22 {
23 struct TestDefinition;
24 struct UserConfiguration;
25
26 // I never figured out how the keys get calculated, so I looked
27 // at what's in the input file, and hard-coded it here.
28 extern const std::unordered_map<std::string,SG::sgkey_t> knownKeys;
29
30 void runXaodTest (const UserConfiguration& userConfiguration, std::span<const TestDefinition> testDefinitions, TFile *file);
31 void runXaodArrayTest (const UserConfiguration& userConfiguration, const TestDefinition& testDefinition, TFile *file);
32 }
33}
34
35#endif
void runXaodArrayTest(const UserConfiguration &userConfiguration, const TestDefinition &testDefinition, TFile *file)
void runXaodTest(const UserConfiguration &userConfiguration, std::span< const TestDefinition > testDefinitions, TFile *file)
const std::unordered_map< std::string, SG::sgkey_t > knownKeys
TFile * file