LDMX Software
TruthHitProducer.h
1
2#ifndef TRIGSCINT_TRUTHHITPRODUCER_H_
3#define TRIGSCINT_TRUTHHITPRODUCER_H_
4
5/***************/
6/* ldmx-sw */
7/***************/
8
9#include "Framework/Configure/Parameters.h"
13#include "TrigScint/Event/TrigScintHit.h"
14
15namespace trigscint {
16
24 public:
32 TruthHitProducer(const std::string &name, framework::Process &process);
33
35 ~TruthHitProducer() = default;
36
46 void configure(framework::config::Parameters &parameters) override;
47
53 void produce(framework::Event &event) override;
54
56 // TODO: Make use of the global verbose parameter.
57 bool verbose_{false};
58
60 std::string inputCollection_;
61
64 std::string inputPassName_;
65
68 std::string outputCollection_;
69
70}; // TruthHitProducer
71
72} // namespace trigscint
73
74#endif // TRIGSCINT_TRUTHHITPRODUCER_H_
Class providing string constants for the event model.
Base classes for all user event processing components to extend.
Class which stores simulated calorimeter hit information.
Implements an event buffer system for storing event data.
Definition Event.h:41
Class which represents the process under execution.
Definition Process.h:36
Base class for a module which produces a data product.
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:27
Producer making a collection based on some truth info cuts.
std::string inputCollection_
Name of the input collection containing the sim hits.
std::string inputPassName_
Name of the pass that the input collection is on (empty string means take any pass)
~TruthHitProducer()=default
Destructor.
std::string outputCollection_
Name of the output collection that will be used to store the selected sim hits.
void produce(framework::Event &event) override
Process the event and put new data products into it.
void configure(framework::config::Parameters &parameters) override
Configure the processor using the given user specified parameters.
bool verbose_
Class to set the verbosity level.