LDMX Software
RunHeaderAnalyzer.h
1#ifndef RUNHEADERANALYZER_H
2#define RUNHEADERANALYZER_H
3
6#include "Framework/Process.h"
7#include "Framework/RunHeader.h"
8
9namespace framework {
10
12 public:
16 RunHeaderAnalyzer(const std::string& name, framework::Process& process)
17 : framework::Analyzer(name, process) {}
18
22 virtual ~RunHeaderAnalyzer() = default;
23
27 virtual void onNewRun(const ldmx::RunHeader& rh) override;
28
32 virtual void analyze(const framework::Event& event) override;
33};
34
35} // namespace framework
36
37#endif /* RUNHEADERANALYZER_H */
Class that provides header information about an event such as event number and timestamp.
Base classes for all user event processing components to extend.
Class which represents the process under execution.
Base class for a module which does not produce a data product.
Implements an event buffer system for storing event data.
Definition Event.h:42
Class which represents the process under execution.
Definition Process.h:36
virtual void analyze(const framework::Event &event) override
Not used but necessary for an analyzer.
virtual ~RunHeaderAnalyzer()=default
Destructor.
RunHeaderAnalyzer(const std::string &name, framework::Process &process)
Constructor.
virtual void onNewRun(const ldmx::RunHeader &rh) override
This is used to print out the run header on a new run.
Run-specific configuration and data stored in its own output TTree alongside the event TTree in the o...
Definition RunHeader.h:57
All classes in the ldmx-sw project use this namespace.
Definition PerfDict.cxx:45