LDMX Software
EcalClusterAnalyzer.h
Go to the documentation of this file.
1
8#ifndef DQM_ECALCLUSTERANALYZER_H
9#define DQM_ECALCLUSTERANALYZER_H
10
11// LDMX Framework
12#include "Framework/Configure/Parameters.h"
14
15namespace dqm {
16
22 public:
23 EcalClusterAnalyzer(const std::string& name, framework::Process& process)
24 : Analyzer(name, process) {}
25 ~EcalClusterAnalyzer() override = default;
27 void analyze(const framework::Event& event) override;
28
29 private:
33
36
37 // Collection Name for SimHits
38 std::string ecal_sim_hit_coll_;
39
40 // Pass Name for SimHits
41 std::string ecal_sim_hit_pass_;
42
43 // Collection Name for RecHits
44 std::string rec_hit_coll_name_;
45
46 // Pass Name for RecHits
47 std::string rec_hit_pass_name_;
48
49 // Collection Name for clusters
50 std::string cluster_coll_name_;
51
52 // Pass Name for clusters
53 std::string cluster_pass_name_;
54
55 // Collection Name for Scoring Plane hits
56 std::string ecal_sp_hits_coll_name_;
57 // Pass Name for Scoring Plane hits
58 std::string ecal_sp_hits_pass_name_;
59
60 // min energy fraction from smaller contributor to consider hit "mixed"
61 double mixed_hit_cutoff_;
62
63 // Inverse skim flag
64 bool inverse_skim_;
65
66 // Minimum number of ECal clusters to keep the event
67 int n_ecal_clusters_min_;
68};
69
70} // namespace dqm
71
72#endif
Base classes for all user event processing components to extend.
int nbr_of_electrons_
What is the number of electrons in the event?
bool use_simulated_electron_number_
Use the number of simulated electrons instead of the number of determined by the TS track counting.
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:40
Class which represents the process under execution.
Definition Process.h:34
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:26