LDMX Software
AlignmentTestProcessor.h
1#pragma once
2
3#include <string>
4
5//--- LDMX ---//
6#include "Tracking/Reco/TrackingGeometryUser.h"
7#include "Tracking/geo/GeometryContext.h"
8
9//--- Framework ---//
10#include "Framework/Configure/Parameters.h"
13
14namespace tracking::reco {
15
17 public:
18 AlignmentTestProcessor(const std::string& name, framework::Process& process);
19
21
22 void onProcessStart() override;
23
24 void onNewRun(const ldmx::RunHeader& rh) override;
25
26 void onProcessEnd() override;
27
28 void configure(framework::config::Parameters& parameters) override;
29
30 void produce(framework::Event& event) override;
31
32 private:
33 std::unordered_map<unsigned int, Acts::Transform3> alignmentTransforms;
34
36 // The Trackers Tracking geometry
37 std::shared_ptr<geo::TrackersTrackingGeometry> tg_;
38};
39} // namespace tracking::reco
Base classes for all user event processing components to extend.
Conditions object for random number seeds.
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
Run-specific configuration and data stored in its own output TTree alongside the event TTree in the o...
Definition RunHeader.h:54
The context for a specific geometry.
void onProcessEnd() override
Callback for the EventProcessor to take any necessary action when the processing of events finishes,...
void onNewRun(const ldmx::RunHeader &rh) override
Callback for the EventProcessor to take any necessary action when the run being processed changes.
void onProcessStart() override
Callback for the EventProcessor to take any necessary action when the processing of events starts,...
void configure(framework::config::Parameters &parameters) override
Callback for the EventProcessor to configure itself from the given set of parameters.
void produce(framework::Event &event) override
Process the event and put new data products into it.
a helper base class providing some methods to shorten access to common conditions used within the tra...