ATLAS Offline Software
Loading...
Searching...
No Matches
SysListDumperAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8#ifndef ASG_ANALYSIS_ALGORITHMS__SYS_LIST_DUMPER_ALG_H
9#define ASG_ANALYSIS_ALGORITHMS__SYS_LIST_DUMPER_ALG_H
10
15
16namespace CP
17{
19
21 {
27 public:
29 virtual ::StatusCode initialize () override;
30 virtual ::StatusCode execute () override;
31 virtual ::StatusCode finalize () override;
32
34 private:
35 std::vector<CP::SystematicSet> makeSystematicsVector (const std::string &regex) const;
36
38 private:
39 ServiceHandle<ISystematicsSvc> m_systematicsService {this, "systematicsService", "SystematicsSvc", "systematics service"};
40
42 private:
43 Gaudi::Property<std::string> m_regex {this, "systematicsRegex", "", "systematics regex"};
44
46 private:
47 Gaudi::Property<std::string> m_histogramName {this, "histogramName", "systematics", "the name of the output histogram"};
48
50 private:
51 bool m_firstEvent = true;
52 };
53}
54
55#endif
Dump systematics names into a histogram.
bool m_firstEvent
whether the next event will be the first event
virtual::StatusCode finalize() override
Gaudi::Property< std::string > m_regex
the regex
std::vector< CP::SystematicSet > makeSystematicsVector(const std::string &regex) const
make the systematics vector using a regex
ServiceHandle< ISystematicsSvc > m_systematicsService
the handle for the systematics service
virtual::StatusCode execute() override
virtual::StatusCode initialize() override
Gaudi::Property< std::string > m_histogramName
the name of the histogram to use
the (new) base class for EventLoop algorithms
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Select isolated Photons, Electrons and Muons.