Belle II Software  release-05-01-25
SVDInterceptor.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Giulia Casarosa, Eugenio Paoloni *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include <framework/datastore/StoreArray.h>
14 #include <framework/datastore/RelationArray.h>
15 #include <tracking/svdROIFinder/SVDROIGeometry.h>
16 #include <tracking/dataobjects/SVDIntercept.h>
17 #include <tracking/dataobjects/RecoTrack.h>
18 #include <tracking/pxdDataReductionClasses/ROIinfo.h>
19 
20 namespace Belle2 {
28  class SVDInterceptor {
29 
30  public:
31 
33  SVDInterceptor(const ROIinfo* theROIinfo, double toleranceZ, double tolerancePhi);
34 
37  virtual ~SVDInterceptor();
38 
41  void fillInterceptList(StoreArray<SVDIntercept>* listToBeFilled,
42  const StoreArray<RecoTrack>& trackList,
43  RelationArray* recoTrackToSVDIntercepts);
44 
45 
46  private:
47 
48  const float m_svdLayerRadius[4] = {3.8, 8.0, 11.5, 14.0};
50  SVDROIGeometry m_theROIGeometry;
56  void appendIntercepts(StoreArray<SVDIntercept>* interceptList, std::list<ROIDetPlane> planeList, RecoTrack* recoTrack,
57  int recoTrackIndex, RelationArray* recoTrackToSVDIntercepts);
58 
59  };
61 }
Belle2::RelationArray
Low-level class to create/modify relations between StoreArrays.
Definition: RelationArray.h:72
Belle2::SVDInterceptor::m_theROIinfo
ROIinfo m_theROIinfo
the ROI info structure
Definition: SVDInterceptor.h:60
Belle2::SVDInterceptor::m_theROIGeometry
SVDROIGeometry m_theROIGeometry
the geometry of the Region Of Interest
Definition: SVDInterceptor.h:58
Belle2::RecoTrack
This is the Reconstruction Event-Data Model Track.
Definition: RecoTrack.h:78
Belle2::SVDInterceptor::~SVDInterceptor
virtual ~SVDInterceptor()
Destructor.
Definition: SVDInterceptor.cc:28
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::SVDInterceptor::fillInterceptList
void fillInterceptList(StoreArray< SVDIntercept > *listToBeFilled, const StoreArray< RecoTrack > &trackList, RelationArray *recoTrackToSVDIntercepts)
Fill the list of PXD intecepts corresponding to the list of track candidates.
Definition: SVDInterceptor.cc:33
Belle2::SVDInterceptor::m_svdLayerRadius
const float m_svdLayerRadius[4]
mean SVD layer radius for both layers
Definition: SVDInterceptor.h:56
ROIinfo
ROIinfo contains the parameters that can be changed by the user in the python script.
Definition: ROIinfo.h:8
Belle2::SVDInterceptor::SVDInterceptor
SVDInterceptor(const ROIinfo *theROIinfo, double toleranceZ, double tolerancePhi)
Constructor.
Definition: SVDInterceptor.cc:22
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33
Belle2::SVDInterceptor::appendIntercepts
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.
Definition: SVDInterceptor.cc:77