Belle II Software development
SVDLatencyCalibrationModule.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#ifndef SVDLATENCYCALIBRATIONMODULE_H
10#define SVDLATENCYCALIBRATIONMODULE_H
11
12#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
14
15#include <svd/dataobjects/SVDHistograms.h>
16#include <svd/dataobjects/SVDShaperDigit.h>
17
18#include <string>
19#include <TFile.h>
20#include <TH1F.h>
21
22namespace Belle2 {
32
33 public:
34
39
41 virtual void initialize() override;
42
44 virtual void beginRun() override;
45
47 virtual void event() override;
48
50 virtual void endRun() override;
51
52
53 private:
54
55 /* user-defined parameters */
56 std::string m_rootFileName;
58 /* ROOT file related parameters */
59 TFile* m_rootFilePtr = nullptr;
64 std::string m_shapersListName;
67 };
69}
70
71#endif /* SVDLATENCYCALIBRATIONMODULE_H */
Base class for Modules.
Definition: Module.h:72
template class for SVd histograms
Definition: SVDHistograms.h:24
this module perfoms an analysis to find the APV25 latency
SVDHistograms< TH1F > * m_histo_maxAmplitude
vector of histograms containing the max bin distribution
virtual void initialize() override
initialize
virtual void beginRun() override
begin run
StoreArray< SVDShaperDigit > m_digits
SVD digits.
std::string m_shapersListName
shapers list name
TFile * m_rootFilePtr
pointer at root file used for storing histograms
SVDLatencyCalibrationModule()
Constructor: Sets the description, the properties and the parameters of the module.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.