ATLAS Offline Software
Loading...
Searching...
No Matches
eEmMultTestComparator.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef GLOBALSIM_EEMMULTTESTCOMPARATOR_H
6#define GLOBALSIM_EEMMULTTESTCOMPARATOR_H
7
13
15
16#include "../GlobalSimComponents/ITIPwriterAlgTool.h" // TIP word declaration
17
18#include "../IO/TipWord_clid.h"
19
21
22namespace GlobalSim {
24
25 public:
26
27
28 eEmMultTestComparator(const std::string& name, ISvcLocator *pSvcLocator);
29
30 virtual ~eEmMultTestComparator() = default;
31
32 virtual StatusCode initialize() override;
33
34 virtual StatusCode execute(const EventContext& ctx) const override;
35
36 private:
37
38
41 this,
42 "ExpectedTIPwordReadKey",
43 "ExpectedTIPwords",
44 "key to read in expected TIP words"
45 };
46
47
50 this,
51 "GeneratedTIPwordReadKey",
52 "GlobalSimTIP",
53 "key to read in GlobalSim TIP words"
54 };
55
56 Gaudi::Property<bool>
58 "abort_on_mismatch",
59 {false},
60 "falg to abort on first exp, gen TIP word mismatch"};
61
62 };
63}
64#endif
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode initialize() override
eEmMultTestComparator(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode execute(const EventContext &ctx) const override
Gaudi::Property< bool > m_abort_on_mismatch
virtual ~eEmMultTestComparator()=default
SG::ReadHandleKey< TIPword > m_generatedTIPword_ReadKey
SG::ReadHandleKey< TIPword > m_expectedTIPword_ReadKey
Property holding a SG store/key/clid from which a ReadHandle is made.
AlgTool that to test whether expected the TIP values generated by data supplied by eEmMultTestBench c...