LDMX Software
TrackingGeometryUser.h
1#pragma once
2
3#include "Framework/Configure/Parameters.h"
5#include "Tracking/geo/CalibrationContext.h"
6#include "Tracking/geo/GeometryContext.h"
7#include "Tracking/geo/MagneticFieldContext.h"
8#include "Tracking/geo/TrackersTrackingGeometry.h"
9
10namespace tracking::reco {
17 public:
18 TrackingGeometryUser(const std::string& name, framework::Process& p);
19
20 protected:
21 const Acts::GeometryContext& geometry_context();
22 const Acts::MagneticFieldContext& magnetic_field_context();
23 const Acts::CalibrationContext& calibration_context();
24 const geo::TrackersTrackingGeometry& geometry();
25
26 private:
36 template <typename ConditionType>
37 const ConditionType& getNamedCondition() {
38 return getCondition<ConditionType>(ConditionType::NAME);
39 }
40};
41
42} // namespace tracking::reco
Base classes for all user event processing components to extend.
Class which represents the process under execution.
Definition Process.h:36
Base class for a module which produces a data product.
a helper base class providing some methods to shorten access to common conditions used within the tra...
const ConditionType & getNamedCondition()
Templated condition access code for our conditions with static names.