Belle II Software  release-08-01-10
SVDMissingAPVsClusterCreatorModule.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 <framework/core/Module.h>
12 #include <framework/datastore/StoreArray.h>
13 
14 #include <svd/dataobjects/SVDCluster.h>
15 
16 #include <svd/online/SVDOnlineToOfflineMap.h>
17 #include <framework/database/PayloadFile.h>
18 
19 namespace Belle2 {
25  namespace SVD {
26 
35 
36  public:
37 
40 
42  virtual void initialize() override;
43 
45  virtual void beginRun() override;
46 
48  virtual void event() override;
49 
50  protected:
51 
52 
53  // Data members
54  //1. Collections and relations Names
55  std::string m_storeClustersName = "";
56  float m_time = 0;
57  float m_timeError = 10;
58  float m_seedCharge = 10000;
59  float m_charge = 20000;
60  float m_SNR = 15;
61  int m_size = 128;
62  int m_firstFrame = 0;
63  int m_nFakeClusters = 4;
67 
68  //channel mapping stuff
69  static std::string m_xmlFileName ;
71  std::unique_ptr<SVDOnlineToOfflineMap> m_map;
74  };//end class declaration
75 
76 
77  } //end SVD namespace;
79 } // end namespace Belle2
Specialization of DBObjPtr in case of PayloadFiles.
Definition: PayloadFile.h:54
Base class for Modules.
Definition: Module.h:72
SVDMissingAPVsClusterCreatorModule: The SVD MissingAPVsClusterCreator.
virtual void initialize() override
Initialize the module.
DBObjPtr< PayloadFile > m_mapping
channel mapping payload
static std::string m_xmlFileName
< channel mapping xml filename
virtual void beginRun() override
check if channel mapping is changed
std::string m_storeClustersName
name of the collection to use for the SVDClusters
SVDMissingAPVsClusterCreatorModule()
Constructor defining the parameters.
std::unique_ptr< SVDOnlineToOfflineMap > m_map
channel mapping map
StoreArray< SVDCluster > m_storeClusters
Collection of SVDClusters.
Abstract base class for different kinds of events.