23 StatusCode SysListDumperAlg ::
29 return StatusCode::FAILURE;
34 return StatusCode::SUCCESS;
39 StatusCode SysListDumperAlg ::
44 return StatusCode::SUCCESS;
64 return StatusCode::SUCCESS;
69 std::vector<CP::SystematicSet> SysListDumperAlg ::
70 makeSystematicsVector (
const std::string ®ex)
const
78 std::vector<CP::SystematicSet> systematicsVector;
79 std::regex expr (regex);
82 if (regex_match (sys.name(), expr))
84 systematicsVector.push_back (sys);
87 return systematicsVector;
91 StatusCode SysListDumperAlg ::
98 return StatusCode::SUCCESS;
static const std::vector< std::string > systematics
StatusCode book(const TH1 &hist, const std::string &tDir="", const std::string &stream="")
Simplify the booking and registering (into THistSvc) of histograms.
TH1 * hist(const std::string &histName, const std::string &tDir="", const std::string &stream="")
Simplify the retrieval of registered histograms of any type.
bool m_firstEvent
whether the next event will be the first event
Gaudi::Property< std::string > m_regex
the regex
std::vector< CP::SystematicSet > makeSystematicsVector(const std::string ®ex) const
make the systematics vector using a regex
ServiceHandle< ISystematicsSvc > m_systematicsService
the handle for the systematics service
Gaudi::Property< std::string > m_histogramName
the name of the histogram to use
Class to wrap a set of SystematicVariations.
Select isolated Photons, Electrons and Muons.