ATLAS Offline Software
LArXTalkWeightCondAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LARRECUTILS_LARXTALKWEIGHTCONDALG_H
6 #define LARRECUTILS_LARXTALKWEIGHTCONDALG_H
7 
9 #include "StoreGate/DataHandle.h"
13 
15  public:
16  LArXTalkWeightCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
17  virtual ~LArXTalkWeightCondAlg() = default;
18  virtual StatusCode initialize() override;
19  virtual StatusCode execute(const EventContext& ctx) const override;
20  protected:
21  // Conditions keys write:
22  SG::WriteCondHandleKey<LArXTalkWeight> m_xtalkKey{this, "OutputKey", "XTalk_Value", "SG key for output"};
23  std::vector<float> m_xtalk_to_inject;
24  std::vector<int> m_endcap_case_table;
25  float m_xtalk_factor = 0.0F;
26 };
27 
29  public:
30  LArXTalkWeightCondAlg_strip(const std::string& name, ISvcLocator* pSvcLocator);
31  virtual ~LArXTalkWeightCondAlg_strip() = default;
32 };
33 
35  public:
36  LArXTalkWeightCondAlg_strip_ec(const std::string& name, ISvcLocator* pSvcLocator);
37  virtual ~LArXTalkWeightCondAlg_strip_ec() = default;
38 };
39 
41  public:
42  LArXTalkWeightCondAlg_middleback(const std::string& name, ISvcLocator* pSvcLocator);
43  virtual ~LArXTalkWeightCondAlg_middleback() = default;
44 };
45 
47  public:
48  LArXTalkWeightCondAlg_middleback_ecow(const std::string& name, ISvcLocator* pSvcLocator);
50 };
51 
53  public:
54  LArXTalkWeightCondAlg_middleback_eciw(const std::string& name, ISvcLocator* pSvcLocator);
56 };
57 
59  public:
60  LArXTalkWeightCondAlg_stripmiddle(const std::string& name, ISvcLocator* pSvcLocator);
62 };
63 
65  public:
66  LArXTalkWeightCondAlg_stripmiddle_ec(const std::string& name, ISvcLocator* pSvcLocator);
68 };
69 
71  public:
72  LArXTalkWeightCondAlg_2strip(const std::string& name, ISvcLocator* pSvcLocator);
73  virtual ~LArXTalkWeightCondAlg_2strip() = default;
74 };
75 
77  public:
78  LArXTalkWeightCondAlg_2strip_ec(const std::string& name, ISvcLocator* pSvcLocator);
79  virtual ~LArXTalkWeightCondAlg_2strip_ec() = default;
80 };
81 
83  public:
84  LArXTalkWeightCondAlg_middle1(const std::string& name, ISvcLocator* pSvcLocator);
85  virtual ~LArXTalkWeightCondAlg_middle1() = default;
86 };
87 
89  public:
90  LArXTalkWeightCondAlg_middle2(const std::string& name, ISvcLocator* pSvcLocator);
91  virtual ~LArXTalkWeightCondAlg_middle2() = default;
92 };
93 
95  public:
96  LArXTalkWeightCondAlg_middle1_ec(const std::string& name, ISvcLocator* pSvcLocator);
97  virtual ~LArXTalkWeightCondAlg_middle1_ec() = default;
98 };
99 
101  public:
102  LArXTalkWeightCondAlg_middle2_ec(const std::string& name, ISvcLocator* pSvcLocator);
104 };
105 
106 #endif
107 
LArXTalkWeightCondAlg
Definition: LArXTalkWeightCondAlg.h:14
LArXTalkWeightCondAlg_middle1_ec
Definition: LArXTalkWeightCondAlg.h:94
LArXTalkWeightCondAlg_middle1::~LArXTalkWeightCondAlg_middle1
virtual ~LArXTalkWeightCondAlg_middle1()=default
LArXTalkWeightCondAlg::m_xtalk_to_inject
std::vector< float > m_xtalk_to_inject
Definition: LArXTalkWeightCondAlg.h:23
LArXTalkWeightCondAlg_middle1_ec::~LArXTalkWeightCondAlg_middle1_ec
virtual ~LArXTalkWeightCondAlg_middle1_ec()=default
LArXTalkWeightCondAlg_middle2_ec::LArXTalkWeightCondAlg_middle2_ec
LArXTalkWeightCondAlg_middle2_ec(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArXTalkWeightCondAlg.cxx:138
LArXTalkWeight.h
LArXTalkWeightCondAlg_middle2_ec::~LArXTalkWeightCondAlg_middle2_ec
virtual ~LArXTalkWeightCondAlg_middle2_ec()=default
LArXTalkWeightCondAlg_middleback_ecow
Definition: LArXTalkWeightCondAlg.h:46
LArXTalkWeightCondAlg_middle1_ec::LArXTalkWeightCondAlg_middle1_ec
LArXTalkWeightCondAlg_middle1_ec(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArXTalkWeightCondAlg.cxx:131
LArXTalkWeightCondAlg_middleback_ecow::~LArXTalkWeightCondAlg_middleback_ecow
virtual ~LArXTalkWeightCondAlg_middleback_ecow()=default
LArXTalkWeightCondAlg_2strip_ec::~LArXTalkWeightCondAlg_2strip_ec
virtual ~LArXTalkWeightCondAlg_2strip_ec()=default
LArXTalkWeightCondAlg_stripmiddle::~LArXTalkWeightCondAlg_stripmiddle
virtual ~LArXTalkWeightCondAlg_stripmiddle()=default
LArXTalkWeightCondAlg_stripmiddle_ec::LArXTalkWeightCondAlg_stripmiddle_ec
LArXTalkWeightCondAlg_stripmiddle_ec(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArXTalkWeightCondAlg.cxx:93
WriteCondHandleKey.h
LArXTalkWeightCondAlg_middleback_eciw
Definition: LArXTalkWeightCondAlg.h:52
LArXTalkWeightCondAlg_strip::LArXTalkWeightCondAlg_strip
LArXTalkWeightCondAlg_strip(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArXTalkWeightCondAlg.cxx:51
LArXTalkWeightCondAlg_strip::~LArXTalkWeightCondAlg_strip
virtual ~LArXTalkWeightCondAlg_strip()=default
DataHandle.h
LArXTalkWeightCondAlg_middleback
Definition: LArXTalkWeightCondAlg.h:40
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
LArXTalkWeightCondAlg::~LArXTalkWeightCondAlg
virtual ~LArXTalkWeightCondAlg()=default
LArXTalkWeightCondAlg::m_xtalkKey
SG::WriteCondHandleKey< LArXTalkWeight > m_xtalkKey
Definition: LArXTalkWeightCondAlg.h:22
LArXTalkWeightCondAlg_middleback::LArXTalkWeightCondAlg_middleback
LArXTalkWeightCondAlg_middleback(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArXTalkWeightCondAlg.cxx:65
LArXTalkWeightCondAlg_middle1::LArXTalkWeightCondAlg_middle1
LArXTalkWeightCondAlg_middle1(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArXTalkWeightCondAlg.cxx:117
LArXTalkWeightCondAlg_strip_ec
Definition: LArXTalkWeightCondAlg.h:34
LArXTalkWeightCondAlg::m_endcap_case_table
std::vector< int > m_endcap_case_table
Definition: LArXTalkWeightCondAlg.h:24
LArXTalkWeightCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: LArXTalkWeightCondAlg.cxx:16
LArXTalkWeightCondAlg_middleback_eciw::~LArXTalkWeightCondAlg_middleback_eciw
virtual ~LArXTalkWeightCondAlg_middleback_eciw()=default
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArXTalkWeightCondAlg_strip_ec::LArXTalkWeightCondAlg_strip_ec
LArXTalkWeightCondAlg_strip_ec(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArXTalkWeightCondAlg.cxx:58
LArXTalkWeightCondAlg_middle2
Definition: LArXTalkWeightCondAlg.h:88
LArXTalkWeightCondAlg_2strip_ec::LArXTalkWeightCondAlg_2strip_ec
LArXTalkWeightCondAlg_2strip_ec(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArXTalkWeightCondAlg.cxx:108
LArXTalkWeightCondAlg_middleback_eciw::LArXTalkWeightCondAlg_middleback_eciw
LArXTalkWeightCondAlg_middleback_eciw(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArXTalkWeightCondAlg.cxx:79
CondHandleKeyArray.h
LArXTalkWeightCondAlg_stripmiddle
Definition: LArXTalkWeightCondAlg.h:58
AthReentrantAlgorithm.h
LArXTalkWeightCondAlg::m_xtalk_factor
float m_xtalk_factor
Definition: LArXTalkWeightCondAlg.h:25
LArXTalkWeightCondAlg_middle2_ec
Definition: LArXTalkWeightCondAlg.h:100
LArXTalkWeightCondAlg_strip
Definition: LArXTalkWeightCondAlg.h:28
LArXTalkWeightCondAlg_stripmiddle::LArXTalkWeightCondAlg_stripmiddle
LArXTalkWeightCondAlg_stripmiddle(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArXTalkWeightCondAlg.cxx:86
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
LArXTalkWeightCondAlg_middleback::~LArXTalkWeightCondAlg_middleback
virtual ~LArXTalkWeightCondAlg_middleback()=default
LArXTalkWeightCondAlg_middle2::LArXTalkWeightCondAlg_middle2
LArXTalkWeightCondAlg_middle2(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArXTalkWeightCondAlg.cxx:124
LArXTalkWeightCondAlg_2strip::~LArXTalkWeightCondAlg_2strip
virtual ~LArXTalkWeightCondAlg_2strip()=default
LArXTalkWeightCondAlg_strip_ec::~LArXTalkWeightCondAlg_strip_ec
virtual ~LArXTalkWeightCondAlg_strip_ec()=default
LArXTalkWeightCondAlg_2strip
Definition: LArXTalkWeightCondAlg.h:70
LArXTalkWeightCondAlg_2strip_ec
Definition: LArXTalkWeightCondAlg.h:76
LArXTalkWeightCondAlg_middle2::~LArXTalkWeightCondAlg_middle2
virtual ~LArXTalkWeightCondAlg_middle2()=default
LArXTalkWeightCondAlg_middle1
Definition: LArXTalkWeightCondAlg.h:82
LArXTalkWeightCondAlg_middleback_ecow::LArXTalkWeightCondAlg_middleback_ecow
LArXTalkWeightCondAlg_middleback_ecow(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArXTalkWeightCondAlg.cxx:72
LArXTalkWeightCondAlg_2strip::LArXTalkWeightCondAlg_2strip
LArXTalkWeightCondAlg_2strip(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArXTalkWeightCondAlg.cxx:100
LArXTalkWeightCondAlg_stripmiddle_ec
Definition: LArXTalkWeightCondAlg.h:64
SG::WriteCondHandleKey< LArXTalkWeight >
LArXTalkWeightCondAlg_stripmiddle_ec::~LArXTalkWeightCondAlg_stripmiddle_ec
virtual ~LArXTalkWeightCondAlg_stripmiddle_ec()=default
LArXTalkWeightCondAlg::LArXTalkWeightCondAlg
LArXTalkWeightCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArXTalkWeightCondAlg.cxx:48
LArXTalkWeightCondAlg::initialize
virtual StatusCode initialize() override
Definition: LArXTalkWeightCondAlg.cxx:9