ATLAS Offline Software
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 
15 
16 #include "../GlobalSimComponents/ITIPwriterAlgTool.h" // TIP word declaration
17 
18 #include "../IO/TipWord_clid.h"
19 
21 
22 namespace 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
SG::ReadHandleKey< TIPword >
GlobalSim::eEmMultTestComparator::m_generatedTIPword_ReadKey
SG::ReadHandleKey< TIPword > m_generatedTIPword_ReadKey
Definition: eEmMultTestComparator.h:49
GlobalSim::eEmMultTestComparator::m_expectedTIPword_ReadKey
SG::ReadHandleKey< TIPword > m_expectedTIPword_ReadKey
Definition: eEmMultTestComparator.h:40
GlobalSim::eEmMultTestComparator
Definition: eEmMultTestComparator.h:23
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:74
GlobalSim::eEmMultTestComparator::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: eEmMultTestComparator.cxx:31
GlobalSim
AlgTool that to test whether expected the TIP values generated by data supplied by eEmMultTestBench c...
Definition: CommonSelector.cxx:8
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
GlobalSim::eEmMultTestComparator::~eEmMultTestComparator
virtual ~eEmMultTestComparator()=default
GlobalSim::eEmMultTestComparator::initialize
virtual StatusCode initialize() override
Definition: eEmMultTestComparator.cxx:18
GlobalSim::eEmMultTestComparator::m_abort_on_mismatch
Gaudi::Property< bool > m_abort_on_mismatch
Definition: eEmMultTestComparator.h:57
GlobalSim::eEmMultTestComparator::eEmMultTestComparator
eEmMultTestComparator(const std::string &name, ISvcLocator *pSvcLocator)
Definition: eEmMultTestComparator.cxx:13