LDMX Software
SimObjects.h
1#ifndef DQM_SIMOBJECTS_H
2#define DQM_SIMOBJECTS_H
3
4// LDMX Framework
5#include "Framework/Configure/Parameters.h" // Needed to import parameters from configuration file
6#include "Framework/EventProcessor.h" //Needed to declare processor
7
8namespace dqm {
9
15 public:
21 SimObjects(const std::string& name, framework::Process& process)
22 : framework::Analyzer(name, process) {}
23
28
32 virtual void onProcessStart();
33
37 virtual void analyze(const framework::Event& event);
38
39 private:
41 void createCalorimeterHists(const std::string& coll_name);
42
44 void createTrackerHists(const std::string& coll_name);
45
46 private:
48 std::string sim_pass_;
49};
50} // namespace dqm
51
52#endif /* DQM_SIMOBJECTS_H */
Base classes for all user event processing components to extend.
Generate histograms to check simulation output.
Definition SimObjects.h:14
void createCalorimeterHists(const std::string &coll_name)
new calorimeter histograms
virtual void analyze(const framework::Event &event)
Fills histograms.
SimObjects(const std::string &name, framework::Process &process)
Constructor.
Definition SimObjects.h:21
std::string sim_pass_
Pass Name for sim objects.
Definition SimObjects.h:48
virtual void configure(framework::config::Parameters &ps)
Input python configuration parameters.
virtual void onProcessStart()
Construct histograms depending on which objects are requested.
void createTrackerHists(const std::string &coll_name)
new tracker histograms
Base class for a module which does not produce a data product.
Analyzer(const std::string &name, Process &process)
Class constructor.
Implements an event buffer system for storing event data.
Definition Event.h:41
Class which represents the process under execution.
Definition Process.h:36
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:27
All classes in the ldmx-sw project use this namespace.
Definition PerfDict.cxx:45