Belle II Software  release-08-01-10
SVDInterceptor.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 
9 #pragma once
10 
11 #include <framework/datastore/StoreArray.h>
12 #include <framework/datastore/RelationArray.h>
13 #include <tracking/svdROIFinder/SVDROIGeometry.h>
14 #include <tracking/dataobjects/SVDIntercept.h>
15 #include <tracking/dataobjects/RecoTrack.h>
16 #include <tracking/pxdDataReductionClasses/ROIinfo.h>
17 
18 namespace Belle2 {
27 
28  public:
29 
31  SVDInterceptor(const ROIinfo* theROIinfo, double toleranceZ, double tolerancePhi);
32 
35  virtual ~SVDInterceptor();
36 
39  void fillInterceptList(StoreArray<SVDIntercept>* listToBeFilled,
40  const StoreArray<RecoTrack>& trackList,
41  RelationArray* recoTrackToSVDIntercepts);
42 
43 
44  private:
45 
46  const float m_svdLayerRadius[4] = {3.8, 8.0, 11.5, 14.0};
54  void appendIntercepts(StoreArray<SVDIntercept>* interceptList, std::list<ROIDetPlane> planeList, RecoTrack* recoTrack,
55  int recoTrackIndex, RelationArray* recoTrackToSVDIntercepts);
56 
57  };
59 }
This is the Reconstruction Event-Data Model Track.
Definition: RecoTrack.h:79
Low-level class to create/modify relations between StoreArrays.
Definition: RelationArray.h:62
This Class implements the interceptor of the SVD tracks on the PXD layers.
virtual ~SVDInterceptor()
Destructor.
void fillInterceptList(StoreArray< SVDIntercept > *listToBeFilled, const StoreArray< RecoTrack > &trackList, RelationArray *recoTrackToSVDIntercepts)
Fill the list of PXD intecepts corresponding to the list of track candidates.
const float m_svdLayerRadius[4]
mean SVD layer radius for both layers
SVDROIGeometry m_theROIGeometry
the geometry of the Region Of Interest
ROIinfo m_theROIinfo
the ROI info structure
void appendIntercepts(StoreArray< SVDIntercept > *interceptList, std::list< ROIDetPlane > planeList, RecoTrack *recoTrack, int recoTrackIndex, RelationArray *recoTrackToSVDIntercepts)
Append the SVDIntercept infos related to the track theTrack to the listToBeFilled.
SVDInterceptor(const ROIinfo *theROIinfo, double toleranceZ, double tolerancePhi)
Constructor.
This class appends the SVDIntercept infos of a track to the list of intercepts.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.
ROIinfo contains the parameters that can be changed by the user in the python script.
Definition: ROIinfo.h:15