11#include <framework/datastore/StoreArray.h>
12#include <framework/datastore/RelationArray.h>
13#include <tracking/roiFinding/ROIGeometry.h>
18 class MeasuredStateOnPlane;
30 template<
class aIntercept>
40 B2ASSERT(
"Can't create VXDIntercepts if no layer radii are provided.", not layerRadii.empty());
72 const std::vector<short>
c_both = {-1, 1};
This class appends the VXDIntercept infos of a track to the list of intercepts.
void fillPlaneList(double toleranceZ, double tolerancePhi, const VXD::SensorInfoBase::SensorType det)
fill the list of planes
Low-level class to create/modify relations between StoreArrays.
Accessor to arrays stored in the data store.
This Class implements the interceptor of the SVD tracks on the PXD layers.
ROIGeometry m_theROIGeometry
the geometry of the Region Of Interest
std::vector< float > m_layerRadii
Vector containing the radii of the layer, filled in the constructor.
VXDInterceptor(double toleranceZ, double tolerancePhi, std::vector< float > layerRadii, VXD::SensorInfoBase::SensorType det, bool forDQM=false)
Constructor.
virtual ~VXDInterceptor()=default
Destructor.
const std::vector< short > c_both
vector for both backward and forward extrapolation
const std::vector< short > c_backwards
define two arrays for directions of extrapolation with -1 for backwards and +1 for forwards vector fo...
bool m_ForDQM
ROI finding for DQM or for data reduction.
VXD::SensorInfoBase::SensorType m_detector
The detector we are creating intercepts for.
SensorType
Enum specifing the type of sensor the SensorInfo represents.
void fillInterceptList(StoreArray< aIntercept > *listToBeFilled, const StoreArray< RecoTrack > &trackList, RelationArray *recoTrackToIntercepts)
Fill the list of PXD intecepts corresponding to the list of track candidates.
void appendIntercepts(StoreArray< aIntercept > *interceptList, std::list< ROIDetPlane > planeList, genfit::MeasuredStateOnPlane state, int recoTrackIndex, RelationArray *recoTrackToIntercepts)
Append the Intercept infos related to the track theTrack to the listToBeFilled.
Abstract base class for different kinds of events.