Belle II Software  release-08-01-10
ROIGeometry.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 <tracking/pxdDataReductionClasses/ROIDetPlane.h>
12 
13 #include <list>
14 
15 namespace Belle2 {
23  class ROIGeometry {
24 
25  public:
28  ROIGeometry();
29 
32  ~ROIGeometry();
33 
36  // void appendIntercepts(StoreArray<PXDIntercept>* listToBeFilled, RecoTrack* theTrack,
37  // int recoTrackIndex, RelationArray* recoTrackToPXDIntercepts);
38 
39  std::list<ROIDetPlane> m_planeList;
41  void fillPlaneList(double toleranceZ, double tolerancePhi);
44  void appendSelectedPlanes(std::list<ROIDetPlane>* selectedPlanes, ROOT::Math::XYZVector recoTrackPosition, int layer);
45 
46  };
48 }
49 
This class appends the PXDIntercept infos of a track to the list of intercepts.
Definition: ROIGeometry.h:23
void appendSelectedPlanes(std::list< ROIDetPlane > *selectedPlanes, ROOT::Math::XYZVector recoTrackPosition, int layer)
Append to selectedPlanes those in the internal list for which a sensor is near the RecoTrack position...
Definition: ROIGeometry.cc:75
void fillPlaneList(double toleranceZ, double tolerancePhi)
fill the list of planes
Definition: ROIGeometry.cc:32
ROIGeometry()
Constructor.
Definition: ROIGeometry.cc:20
~ROIGeometry()
Destructor.
Definition: ROIGeometry.cc:25
std::list< ROIDetPlane > m_planeList
Append the PXDIntercept infos related to the track theTrack to the listToBeFilled.
Definition: ROIGeometry.h:39
Abstract base class for different kinds of events.