LDMX Software
DarkBremInteraction.h
2
3namespace dqm {
30 public:
31 DarkBremInteraction(const std::string& n, framework::Process& p)
32 : framework::Producer(n, p) {}
46 virtual void produce(framework::Event& e) override;
47
48 void configure(framework::config::Parameters& parameters) override;
49
50 private:
83 std::map<std::string, int> known_materials_ = {
84 {"Carbon", 1},
85 {"PCB", 2}, // in v12, the motherboards were simple
86 // rectangles with 'PCB' in the name
87 {"Glue", 3},
88 {"Si", 4},
89 {"Al", 5},
90 {"W", 6},
91 {"target", 6},
92 {"trigger_pad", 7},
93 {"strongback", 5}, // strongback
94 // is made of
95 // aluminum
96 {"motherboard", 2}, // motherboards are PCB
97 {"support", 5}, // support box is aluminum
98 {"CFMix", 3}, // in v12, we called the Glue layers CFMix
99 {"C_volume", 1}, // in v12, we called the carbon cooling planes C but
100 // this is too general for substr matching
101 {"Air", 8}};
102
130 std::map<int, int> known_elements_ = {{1, 1}, {6, 2}, {8, 3}, {11, 4},
131 {14, 5}, {20, 6}, {29, 7}, {39, 8},
132 {71, 9}, {74, 10}};
133 std::string particle_coll_name_;
134 std::string particle_passname_;
135};
136
137} // namespace dqm
Base classes for all user event processing components to extend.
Go through the particle map and find the dark brem products, storing their vertex and the dark brem o...
void configure(framework::config::Parameters &parameters) override
Callback for the EventProcessor to configure itself from the given set of parameters.
std::map< std::string, int > known_materials_
the list of known materials assigning them to material ID numbers
virtual void produce(framework::Event &e) override
extract the kinematics of the dark brem interaction from the SimParticles
std::map< int, int > known_elements_
The list of known elements assigning them to the bins that we are putting them into.
Implements an event buffer system for storing event data.
Definition Event.h:40
Class which represents the process under execution.
Definition Process.h:34
Base class for a module which produces a data product.
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:26