Belle II Software  release-05-01-25
CDCCKFEclSeedCreator.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2019 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Simon Kurz, Nils Braun *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <tracking/trackFindingCDC/findlets/base/Findlet.h>
13 
14 #include <tracking/ckf/cdc/entities/CDCCKFPath.h>
15 #include <ecl/dataobjects/ECLShower.h>
16 #include <framework/datastore/StoreArray.h>
17 
18 #include <string>
19 #include <vector>
20 
21 namespace Belle2 {
26  class RecoTrack;
27 
28  class ModuleParamList;
29 
33  class CDCCKFEclSeedCreator : public TrackFindingCDC::Findlet<CDCCKFPath> {
35  using Super = TrackFindingCDC::Findlet<CDCCKFPath>;
36 
37  public:
40 
42  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override;
43 
45  void initialize() override;
46 
48  void apply(std::vector<CDCCKFPath>& seeds) override;
49 
50  private:
51  // Findlets
52 
53  // Parameters
55  std::string m_param_inputEclShowerStoreArrayName = "ECLShowers";
57  std::string m_param_eclSeedRecoTrackStoreArrayName = "EclSeedRecoTracks";
59  double m_param_minimalEnRequirement = 0.3;
63  double m_param_showerDepth = 12.;
68 
69  // Store Arrays
74  };
76 }
Belle2::CDCCKFEclSeedCreator::m_param_restrictToForwardSeeds
bool m_param_restrictToForwardSeeds
Don't do Ecl seeding in central region to save computing time.
Definition: CDCCKFEclSeedCreator.h:69
Belle2::CDCCKFEclSeedCreator::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
Definition: CDCCKFEclSeedCreator.cc:28
Belle2::CDCCKFEclSeedCreator::m_param_minimalEnRequirement
double m_param_minimalEnRequirement
Minimal pt requirement.
Definition: CDCCKFEclSeedCreator.h:67
Belle2::CDCCKFEclSeedCreator::Super
TrackFindingCDC::Findlet< CDCCKFPath > Super
Parent class.
Definition: CDCCKFEclSeedCreator.h:43
Belle2::CDCCKFEclSeedCreator::CDCCKFEclSeedCreator
CDCCKFEclSeedCreator()
Add the subfindlets.
Definition: CDCCKFEclSeedCreator.cc:23
Belle2::CDCCKFEclSeedCreator::m_inputECLshowers
StoreArray< ECLShower > m_inputECLshowers
Input ECL Showers Store Array.
Definition: CDCCKFEclSeedCreator.h:79
Belle2::CDCCKFEclSeedCreator::apply
void apply(std::vector< CDCCKFPath > &seeds) override
Load in the reco tracks and the hits.
Definition: CDCCKFEclSeedCreator.cc:76
Belle2::CDCCKFEclSeedCreator::m_param_tanLambdaForwardNeg
double m_param_tanLambdaForwardNeg
Up to which (neg) tanLambda value should the seeding be performed.
Definition: CDCCKFEclSeedCreator.h:73
Belle2::CDCCKFEclSeedCreator::m_param_tanLambdaForwardPos
double m_param_tanLambdaForwardPos
Up to which (pos) tanLambda value should the seeding be performed.
Definition: CDCCKFEclSeedCreator.h:75
Belle2::CDCCKFEclSeedCreator::initialize
void initialize() override
Create the store arrays.
Definition: CDCCKFEclSeedCreator.cc:64
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::CDCCKFEclSeedCreator::m_eclSeedRecoTracks
StoreArray< RecoTrack > m_eclSeedRecoTracks
Output Reco Tracks Store Array.
Definition: CDCCKFEclSeedCreator.h:81
Belle2::CDCCKFEclSeedCreator::m_param_showerDepth
double m_param_showerDepth
Correction if the shower is assumed to start in a certain depth.
Definition: CDCCKFEclSeedCreator.h:71
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33
Belle2::CDCCKFEclSeedCreator::m_param_inputEclShowerStoreArrayName
std::string m_param_inputEclShowerStoreArrayName
StoreArray name of the input Ecl Shower Store Array.
Definition: CDCCKFEclSeedCreator.h:63
Belle2::CDCCKFEclSeedCreator::m_param_eclSeedRecoTrackStoreArrayName
std::string m_param_eclSeedRecoTrackStoreArrayName
StoreArray name of the output Track Store Array.
Definition: CDCCKFEclSeedCreator.h:65