LDMX Software
EcalSPTrackCompare.h
1#ifndef DQM_ECALSPTRACKCOMPARE_H
2#define DQM_ECALSPTRACKCOMPARE_H
3
4#include <string>
5
6#include "Framework/Configure/Parameters.h"
8
9namespace dqm {
10
22 public:
23 EcalSPTrackCompare(const std::string& name, framework::Process& process)
24 : Analyzer(name, process) {}
25 ~EcalSPTrackCompare() override = default;
26
28 void analyze(const framework::Event& event) override;
29
30 private:
31 std::string ecal_sp_coll_name_{"EcalScoringPlaneHits"};
32 std::string ecal_sp_pass_name_{""};
33 std::string track_collection_{"EcalTracks"};
34 std::string track_pass_name_{""};
35};
36
37} // namespace dqm
38
39#endif
Base classes for all user event processing components to extend.
Compare the primary electron at the ECal scoring plane with ECAL tracks reconstructed by ACTS CKF.
void configure(framework::config::Parameters &ps) override
Callback for the EventProcessor to configure itself from the given set of parameters.
void analyze(const framework::Event &event) override
Process the event and make histograms or summaries.
Base class for a module which does not produce a data product.
virtual void process(Event &event) final
Processing an event for an Analyzer is calling analyze.
Analyzer(const std::string &name, Process &process)
Class constructor.
Implements an event buffer system for storing event data.
Definition Event.h:42
Class which represents the process under execution.
Definition Process.h:37
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:29