Belle II Software  release-05-01-25
TrackFinderVXDCosmicsStandalone.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2018 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Felix Metzner *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include <vector>
14 
15 #include <framework/datastore/StoreArray.h>
16 #include <framework/datastore/StoreObjPtr.h>
17 #include <framework/core/Module.h>
18 
19 #include <tracking/spacePointCreation/SpacePointTrackCand.h>
20 #include <tracking/spacePointCreation/SpacePoint.h>
21 #include <tracking/trackFindingVXD/algorithms/StandaloneCosmicsCollector.h>
22 
23 namespace Belle2 {
41  class TrackFinderVXDCosmicsStandaloneModule final : public Module {
42 
43  public:
44 
47 
49  void initialize() override;
50 
52  void event() override;
53 
54 
55  protected:
57  std::vector<std::string> m_spacePointsNames;
58 
60  std::vector<StoreArray<SpacePoint>> m_spacePoints;
61 
64 
67 
73  unsigned short m_sortingMode = 3;
74 
76  double m_qualityCut = 0.0001;
78  int m_minSPs = 3;
80  int m_maxRejectedSPs = 5;
81 
84  private:
85  };
87 }
Belle2::TrackFinderVXDCosmicsStandaloneModule::m_spacePoints
std::vector< StoreArray< SpacePoint > > m_spacePoints
The storeArray for SpacePoints.
Definition: TrackFinderVXDCosmicsStandalone.h:68
Belle2::TrackFinderVXDCosmicsStandaloneModule::m_spacePointsNames
std::vector< std::string > m_spacePointsNames
SpacePoint collection name.
Definition: TrackFinderVXDCosmicsStandalone.h:65
Belle2::TrackFinderVXDCosmicsStandaloneModule::TrackFinderVXDCosmicsStandaloneModule
TrackFinderVXDCosmicsStandaloneModule()
Constructor.
Definition: TrackFinderVXDCosmicsStandalone.cc:21
Belle2::TrackFinderVXDCosmicsStandaloneModule::m_minSPs
int m_minSPs
Module parameter setting the minimal required number of SpacePoints for the fit.
Definition: TrackFinderVXDCosmicsStandalone.h:86
Belle2::TrackFinderVXDCosmicsStandaloneModule::m_PARAMSpacePointTrackCandArrayName
std::string m_PARAMSpacePointTrackCandArrayName
Name for StoreArray<SpacePointTrackCand> to be filled.
Definition: TrackFinderVXDCosmicsStandalone.h:71
Belle2::TrackFinderVXDCosmicsStandaloneModule::initialize
void initialize() override
Initialize.
Definition: TrackFinderVXDCosmicsStandalone.cc:50
Belle2::TrackFinderVXDCosmicsStandaloneModule::m_SCC
StandaloneCosmicsCollector m_SCC
Line fit algorithm used for VXD standalone cosmics track finding.
Definition: TrackFinderVXDCosmicsStandalone.h:74
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFinderVXDCosmicsStandaloneModule::m_TCs
StoreArray< Belle2::SpacePointTrackCand > m_TCs
Output container: StoreArray for the TCs created in this module.
Definition: TrackFinderVXDCosmicsStandalone.h:91
Belle2::TrackFinderVXDCosmicsStandaloneModule::m_sortingMode
unsigned short m_sortingMode
Sorting mode used for adding new SpacePoints of a candidate.
Definition: TrackFinderVXDCosmicsStandalone.h:81
Belle2::TrackFinderVXDCosmicsStandaloneModule::m_qualityCut
double m_qualityCut
Module parameter to set maximal reduced chi2 value allowed for the fit.
Definition: TrackFinderVXDCosmicsStandalone.h:84
Belle2::StandaloneCosmicsCollector
Track finding algorithm class for linear tracks produced by cosmics in the VXD without magnetic field...
Definition: StandaloneCosmicsCollector.h:43
Belle2::StoreArray< Belle2::SpacePointTrackCand >
Belle2::TrackFinderVXDCosmicsStandaloneModule::event
void event() override
event
Definition: TrackFinderVXDCosmicsStandalone.cc:61
Belle2::TrackFinderVXDCosmicsStandaloneModule::m_maxRejectedSPs
int m_maxRejectedSPs
Parameter for the maximal number of SpacePoints to be excluded for a refit before rejecting the event...
Definition: TrackFinderVXDCosmicsStandalone.h:88