Belle II Software  release-05-01-25
B2BIIConvertBeamParamsModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015-2018 Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Martin Ritter *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include <framework/core/Module.h>
14 #include <framework/dataobjects/EventMetaData.h>
15 #include <framework/datastore/StoreObjPtr.h>
16 
17 namespace Belle2 {
31  class B2BIIConvertBeamParamsModule : public Module {
32 
33  public:
36 
38  void initialize() override;
39 
42  void beginRun() override;
43  private:
45  int m_mcFlag{1};
47  std::string m_missingBenergy{"missing_benergy.txt"};
49  std::string m_missingIp{"missing_ip.txt"};
51  StoreObjPtr<EventMetaData> m_event;
52  };
54 }
Belle2::B2BIIConvertBeamParamsModule::m_missingBenergy
std::string m_missingBenergy
Where to store information about runs without beam energy information.
Definition: B2BIIConvertBeamParamsModule.h:55
Belle2::B2BIIConvertBeamParamsModule::initialize
void initialize() override
Initialize phanter banks.
Definition: B2BIIConvertBeamParamsModule.cc:69
Belle2::B2BIIConvertBeamParamsModule::m_event
StoreObjPtr< EventMetaData > m_event
Event metadata.
Definition: B2BIIConvertBeamParamsModule.h:59
Belle2::B2BIIConvertBeamParamsModule::B2BIIConvertBeamParamsModule
B2BIIConvertBeamParamsModule()
Create parameters.
Definition: B2BIIConvertBeamParamsModule.cc:62
Belle2::B2BIIConvertBeamParamsModule::m_mcFlag
int m_mcFlag
mcFlag to use when getting belle database content
Definition: B2BIIConvertBeamParamsModule.h:53
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::B2BIIConvertBeamParamsModule::m_missingIp
std::string m_missingIp
Where to store information about runs without IP profile information.
Definition: B2BIIConvertBeamParamsModule.h:57
Belle2::B2BIIConvertBeamParamsModule::beginRun
void beginRun() override
Set run info in panther and load IPProfile/Benergy and convert the values to payloads.
Definition: B2BIIConvertBeamParamsModule.cc:75