Belle II Software  release-05-02-19
AlignmentGeneratorModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: tadeas *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #ifndef ALIGNMENTGENERATORMODULE_H
12 #define ALIGNMENTGENERATORMODULE_H
13 
14 #include <framework/core/Module.h>
15 
16 namespace Belle2 {
30  class AlignmentGeneratorModule : public Module {
31 
32  public:
33 
38 
40  virtual void initialize() override;
41 
42 
43  private:
44 
45  std::vector<int> m_payloadIov;
46  bool m_createPayload;
47  std::vector<std::string> m_data;
48  std::string m_payloadName;
49  };
51 }
52 
53 #endif /* ALIGNMENTGENERATORMODULE_H */
Belle2::AlignmentGeneratorModule::AlignmentGeneratorModule
AlignmentGeneratorModule()
Constructor: Sets the description, the properties and the parameters of the module.
Definition: AlignmentGeneratorModule.cc:33
Belle2::AlignmentGeneratorModule::initialize
virtual void initialize() override
Generate misalignment and store in database.
Definition: AlignmentGeneratorModule.cc:58
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::AlignmentGeneratorModule::m_payloadName
std::string m_payloadName
Name of generated misalignment in database.
Definition: AlignmentGeneratorModule.h:56
Belle2::AlignmentGeneratorModule::m_createPayload
bool m_createPayload
Whether to create and store the payload in database.
Definition: AlignmentGeneratorModule.h:54
Belle2::AlignmentGeneratorModule::m_payloadIov
std::vector< int > m_payloadIov
IoV for the payload.
Definition: AlignmentGeneratorModule.h:53
Belle2::AlignmentGeneratorModule::m_data
std::vector< std::string > m_data
Data for misalignment generation.
Definition: AlignmentGeneratorModule.h:55