ATLAS Offline Software
Loading...
Searching...
No Matches
TElectronTestAlg.h File Reference
Include dependency graph for TElectronTestAlg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

namespace ADD_CMODE (CP)

Function Documentation

◆ ADD_CMODE()

namespace ADD_CMODE ( CP )

Number of Correlated syst

Lowest Et for the reccomendations

This is not a tool but more of an utility

Input collection name.

Label for the collection.

Definition at line 1 of file TElectronTestAlg.h.

24 {
26
27 public:
28 TElectronTestAlg(const std::string& n, ISvcLocator* l)
29 : EL::AnaReentrantAlgorithm(n, l) {}
30 virtual StatusCode initialize() override final;
31 virtual StatusCode execute(const EventContext& ctx) const override final;
32
33 private:
34 bool m_doDetail{false};
35 bool m_doToys{false};
36 int m_numberCorr{0};
37 double m_lowestEt{0};
38
40 std::unique_ptr<Root::TElectronEfficiencyCorrectionTool> m_pimpl = nullptr;
42 SG::ReadHandleKey<xAOD::ElectronContainer> m_electronContainer{
43 this, "ElectronContainer", "Electrons", "The input Electrons container"};
44
46 Gaudi::Property<std::string> m_mapFile{
47 this, "MapFilePath",
48 "ElectronEfficiencyCorrection/2015_2025/rel22.2/"
49 "2022_Summer_Prerecom_v1/map2.txt",
50 "Full path to the map file"};
51 Gaudi::Property<std::string> m_recoKey{this, "RecoKey", "",
52 "Key associated with reconstruction"};
53 Gaudi::Property<std::string> m_idKey{
54 this, "IdKey", "", "Key associated with identification working point"};
55
56 Gaudi::Property<std::string> m_isoKey{
57 this, "IsoKey", "", "Key associated with isolation working point"};
58
59 Gaudi::Property<std::string> m_triggerKey{
60 this, "TriggerKey", "", "Key associated with trigger working point"};
61
62 Gaudi::Property<int> m_dataType{this, "dataType",
64 "Particle Data Type Full/Fast"};
65
66 enum mode { All = 0, Full = 1, Total = 2, Toys = 3 };
67 Gaudi::Property<int> m_mode{this, "mode", All, "Mode (All/Full/Total/Toys"};
68 Gaudi::Property<int> m_number_of_toys{this, "number_of_toys", 40,
69 "Number of toys in the ensemble"};
70
71 Gaudi::Property<bool> m_decorate{this, "doDecorate", true, "Do decorations"};
72
73 SG::WriteDecorHandleKey<xAOD::ElectronContainer> m_SF{this, "DoNotSet_SF",
74 "Electrons.SF", ""};
75 SG::WriteDecorHandleKey<xAOD::ElectronContainer> m_TotalUp{
76 this, "DoNotSet_TotalUp", "Electrons.TotalUp", ""};
77 SG::WriteDecorHandleKey<xAOD::ElectronContainer> m_TotalDown{
78 this, "DoNotSet_TotalDown", "Electrons.TotalDown", ""};
79 SG::WriteDecorHandleKey<xAOD::ElectronContainer> m_uncorrUp{
80 this, "DoNotSet_UnCorrUp", "Electrons.UnCorrUp", ""};
81 SG::WriteDecorHandleKey<xAOD::ElectronContainer> m_uncorrDown{
82 this, "DoNotSet_UnCorrDown", "Electrons.UnCorrDown", ""};
83 SG::WriteDecorHandleKey<xAOD::ElectronContainer> m_HistIndex{
84 this, "DoNotSet_HistIndex", "Electrons.HistIndex", ""};
85 SG::WriteDecorHandleKey<xAOD::ElectronContainer> m_HistBin{
86 this, "DoNotSet_HistBin", "Electrons.HistBin", ""};
87 SG::WriteDecorHandleKey<xAOD::ElectronContainer> m_corrUp{
88 this, "DoNotSet_CorrUp", "Electrons.CorrUp", ""};
89 SG::WriteDecorHandleKey<xAOD::ElectronContainer> m_corrDown{
90 this, "DoNotSet_CorrDown", "Electrons.CorrDown", ""};
91 SG::WriteDecorHandleKey<xAOD::ElectronContainer> m_toys{this, "DoNotSet_",
92 "Electrons.toys", ""};
93};
94} // namespace ADD_CMODE(CP)
the base class for EventLoop reentrant algorithms
Dual use Test Alg for TElectronEfficiencyTool.
ElementLink< CVec > EL
::StatusCode StatusCode
StatusCode definition for legacy code.
l
Printing final latex table to .tex output file.
void initialize()
#define private
Definition testRead.cxx:27