Belle II Software development
SVDRecoDigitCreatorModule.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#include <framework/database/DBObjPtr.h>
14
15#include <svd/reconstruction/RawCluster.h>
16#include <svd/reconstruction/SVDClusterTime.h>
17#include <svd/reconstruction/SVDClusterCharge.h>
18#include <svd/reconstruction/SVDClusterPosition.h>
19
20#include <mdst/dataobjects/MCParticle.h>
21#include <svd/dataobjects/SVDShaperDigit.h>
22#include <svd/dataobjects/SVDRecoDigit.h>
23#include <svd/dataobjects/SVDCluster.h>
24#include <svd/dataobjects/SVDTrueHit.h>
25
26#include <svd/calibration/SVDNoiseCalibrations.h>
27#include <svd/dbobjects/SVDRecoConfiguration.h>
28
29namespace Belle2 {
35 namespace SVD {
36
42
43 public:
44
47
49 void initialize() override;
50
52 void beginRun() override;
53
55 void event() override;
56
58 void endRun() override;
59
60 protected:
61
62 //1. Collections and relations Names
69
76
77
78 // 2. Strip Reconstruction Configuration:
79
81 bool m_useDB = true;
82
84 std::string m_timeRecoWith6SamplesAlgorithm = "not set";
86 std::string m_timeRecoWith3SamplesAlgorithm = "not set";
88 std::string m_chargeRecoWith6SamplesAlgorithm = "not set";
90 std::string m_chargeRecoWith3SamplesAlgorithm = "not set";
91
97 // 3. Calibration Objects
101 };// end class declarations
102
103
104 } //end SVD namespace;
106} // end namespace Belle2
Class for accessing objects in the database.
Definition: DBObjPtr.h:21
Base class for Modules.
Definition: Module.h:72
This class defines the dbobject and the method to access SVD calibrations from the noise local runs.
Abstract Class representing the SVD cluster charge.
Abstract Class representing the SVD cluster time.
SVDRecoDigitCreatorModule()
Constructor defining the parameters.
std::string m_storeRecoDigitsName
Name of the collection to use for the SVDRecoDigits.
SVDClusterCharge * m_charge6SampleClass
strip charge class for the 6-sample acquisition mode
SVDClusterCharge * m_charge3SampleClass
strip charge class for the 3-sample acquisition mode
void initialize() override
Initialize the module.
std::string m_storeShaperDigitsName
Name of the collection to use for the SVDShaperDigits.
void event() override
does the actual strip reconstruction
SVDNoiseCalibrations m_NoiseCal
wrapper of the noise calibrations
SVDClusterTime * m_time6SampleClass
strip time class for the 6-sample acquisition mode
StoreArray< SVDRecoDigit > m_storeReco
Collection of SVDRecoDigits.
std::string m_chargeRecoWith6SamplesAlgorithm
string storing the strip charge reconstruction algorithm in 6-sample DAQ mode
std::string m_chargeRecoWith3SamplesAlgorithm
string storing the strip charge reconstruction algorithm in 3-sample DAQ mode
void beginRun() override
configure strip reconstruction
StoreArray< SVDShaperDigit > m_storeShaper
Collection of SVDShaperDigits.
std::string m_storeClustersName
Name of the collection to use for the SVDClusters.
std::string m_timeRecoWith6SamplesAlgorithm
string storing the strip time reconstruction algorithm in 6-sample DAQ mode
DBObjPtr< SVDRecoConfiguration > m_recoConfig
SVD Reconstruction Configuration payload.
StoreArray< SVDCluster > m_storeClusters
Collection of SVDClusters.
std::string m_timeRecoWith3SamplesAlgorithm
string storing the strip time reconstruction algorithm in 3-sample DAQ mode
bool m_useDB
if true takes the strip reconstruction configuration from the DB objects
SVDClusterTime * m_time3SampleClass
strip time class for the 3-sample acquisition mode
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.