Belle II Software  release-08-01-10
CDCCKFEclSeedCreator.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/trackFindingCDC/findlets/base/Findlet.h>
11 
12 #include <tracking/ckf/cdc/entities/CDCCKFPath.h>
13 #include <ecl/dataobjects/ECLShower.h>
14 #include <framework/datastore/StoreArray.h>
15 
16 #include <string>
17 #include <vector>
18 
19 namespace Belle2 {
24  class RecoTrack;
25 
26  class ModuleParamList;
27 
31  class CDCCKFEclSeedCreator : public TrackFindingCDC::Findlet<CDCCKFPath> {
34 
35  public:
38 
40  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override;
41 
43  void initialize() override;
44 
46  void apply(std::vector<CDCCKFPath>& seeds) override;
47 
48  private:
49  // Findlets
50 
51  // Parameters
53  std::string m_param_inputEclShowerStoreArrayName = "ECLShowers";
55  std::string m_param_eclSeedRecoTrackStoreArrayName = "EclSeedRecoTracks";
61  double m_param_showerDepth = 12.;
66 
67  // Store Arrays
72  };
74 }
StoreArray< ECLShower > m_inputECLshowers
Input ECL Showers Store Array.
CDCCKFEclSeedCreator()
Add the subfindlets.
bool m_param_restrictToForwardSeeds
Don't do Ecl seeding in central region to save computing time.
void apply(std::vector< CDCCKFPath > &seeds) override
Load in the reco tracks and the hits.
double m_param_minimalEnRequirement
Minimal pt requirement.
void initialize() override
Create the store arrays.
std::string m_param_inputEclShowerStoreArrayName
StoreArray name of the input Ecl Shower Store Array.
std::string m_param_eclSeedRecoTrackStoreArrayName
StoreArray name of the output Track Store Array.
StoreArray< RecoTrack > m_eclSeedRecoTracks
Output Reco Tracks Store Array.
double m_param_tanLambdaForwardNeg
Up to which (neg) tanLambda value should the seeding be performed.
double m_param_tanLambdaForwardPos
Up to which (pos) tanLambda value should the seeding be performed.
double m_param_showerDepth
Correction if the shower is assumed to start in a certain depth.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
The Module parameter list class.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition: Findlet.h:26
Abstract base class for different kinds of events.