Belle II Software  release-08-01-10
SectorMapBasedSVDPairFilter.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 #pragma once
9 
10 #include <tracking/ckf/svd/filters/relations/BaseSVDPairFilter.h>
11 #include <tracking/ckf/svd/entities/CKFToSVDState.h>
12 
13 #include <tracking/trackFindingVXD/filterMap/map/FiltersContainer.h>
14 #include <tracking/trackFindingVXD/environment/VXDTFFilters.h>
15 #include <tracking/spacePointCreation/SpacePoint.h>
16 
17 namespace Belle2 {
26 
31 
32  public:
35 
37  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
38 
40  TrackFindingCDC::Weight operator()(const std::pair<const CKFToSVDState*, const CKFToSVDState*>& relation) override;
41 
43  void beginRun() final;
44 
45  private:
51  std::string m_param_sectorMapName = "SVDOnlyDefault";
52  };
54 }
This class contains everything needed by the VXDTF that is not going to change during a RUN,...
The Module parameter list class.
Filter for relations between CKF SVD states based on SectorMaps.
SectorMapBasedSVDPairFilter()=default
default constructor to silence cppcheck warnings
SectorMapFilter * m_vxdtfFilters
The sector map filter, will be set in begin run.
std::string m_param_sectorMapName
Name of the sector map to use.
FilterContainer & m_filtersContainer
The filter container to use.
SpacePoint typically is build from 1 PXDCluster or 1-2 SVDClusters.
Definition: SpacePoint.h:42
Base class for filters on a generic object type.
Definition: Filter.dcl.h:29
Class that contains all the static sectors to which the filters are attached.
Definition: VXDTFFilters.h:63
void beginRun() final
Initialize the sector map.
TrackFindingCDC::Filter< std::pair< const CKFToSVDState *, const CKFToSVDState * > > BaseSVDPairFilter
Base filter for CKF SVD states.
TrackFindingCDC::Weight operator()(const std::pair< const CKFToSVDState *, const CKFToSVDState * > &relation) override
Give a final weight to the possibilities by asking the filter.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters of the filter.
Abstract base class for different kinds of events.