Belle II Software  release-08-01-10
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 
22 namespace Belle2 {
35 
36  public:
37 
42 
44  virtual void initialize() override;
45 
47  virtual void beginRun() override;
48 
50  virtual void event() override;
51 
53  virtual void endRun() override;
54 
55 
56  private:
57 
58  /* user-defined parameters */
59  std::string m_rootFileName;
61  /* ROOT file related parameters */
62  TFile* m_rootFilePtr = nullptr;
67  std::string m_shapersListName;
70  };
72 }
73 
74 #endif /* SVDLATENCYCALIBRATIONMODULE_H */
Base class for Modules.
Definition: Module.h:72
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.