Belle II Software development
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
19namespace Belle2 {
25 namespace SVD {
26
32
33 public:
34
37
39 virtual void initialize() override;
40
42 virtual void beginRun() override;
43
45 virtual void event() override;
46
47 protected:
48
49
50 // Data members
51 //1. Collections and relations Names
52 std::string m_storeClustersName = "";
53 float m_time = 0;
54 float m_timeError = 10;
55 float m_seedCharge = 10000;
56 float m_charge = 20000;
57 float m_SNR = 15;
58 int m_size = 128;
59 int m_firstFrame = 0;
64
65 //channel mapping stuff
66 static std::string m_xmlFileName ;
68 std::unique_ptr<SVDOnlineToOfflineMap> m_map;
71 };//end class declaration
72
73
74 } //end SVD namespace;
76} // end namespace Belle2
Class for accessing objects in the database.
Definition: DBObjPtr.h:21
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.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.