7#ifndef DETDESCR_TRIGSCINTGEOMETRY_H_
8#define DETDESCR_TRIGSCINTGEOMETRY_H_
12#include "DetDescr/TrigScintID.h"
14#include "Framework/Configure/Parameters.h"
15#include "Framework/Exception/Exception.h"
16#include "Math/Vector3D.h"
19class TrigScintGeometryProvider;
Base class for conditions information like pedestals, gains, electronics maps, etc.
Base class for all conditions objects, very simple.
Class encapsulating parameters for configuring a processor.
Bar-center positions of the trigger-scintillator modules.
double layer_z_sep_
z separation between the two layers within a module [mm]
double layer_pitch_
in-layer y pitch [mm]
TrigScintGeometry(const framework::config::Parameters &ps)
Build from a python-configured parameter set.
double layer_y_shift_
y stagger of layer 1 relative to layer 0 [mm]
double y0_
global y of bar 0 [mm] (bar 0 is most +y)
int getNumBars() const
Number of bars (channels) per module.
ROOT::Math::XYZVector getBarPosition(int module, int bar) const
Global bar-center position for a (module, bar).
double getLayerZSeparation() const
z separation between the two layers within a module [mm].
std::vector< double > module_z_
global z of each module's (layer-pair) center [mm]
ROOT::Math::XYZVector getBarPosition(ldmx::TrigScintID id) const
Convenience overload taking a TrigScintID.
int getNumModules() const
Number of configured modules.
static constexpr const char * CONDITIONS_OBJECT_NAME
Name this conditions object is registered under (must match the python provider field name).
int n_bars_
number of bars (channels) per module
Class that defines the detector ID of the trigger scintillator.