Belle II Software  release-05-02-19
eclEdgeCollectorModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2020 - Belle II Collaboration *
4  * *
5  * Contributors: Christopher Heary (hearty@physics.ubc.ca) *
6  * *
7  * This software is provided "as is" without any warranty. *
8  **************************************************************************/
9 
10 #pragma once
11 
12 #include <calibration/CalibrationCollectorModule.h>
13 #include <framework/database/DBObjPtr.h>
14 
15 namespace Belle2 {
20  class ECLCrystalCalib;
21 
22 
27  class eclEdgeCollectorModule : public CalibrationCollectorModule {
28 
29  public:
30 
33 
35  virtual void prepare() override;
36 
38  virtual void collect() override;
39 
40  private:
41  bool storeGeo = true;
44  DBObjPtr<ECLCrystalCalib> m_ECLCrystalOffsetTheta;
45  DBObjPtr<ECLCrystalCalib> m_ECLCrystalOffsetPhi;
47  };
49 }
50 
Belle2::eclEdgeCollectorModule::collect
virtual void collect() override
Accumulate histograms.
Definition: eclEdgeCollectorModule.cc:74
Belle2::eclEdgeCollectorModule::storeGeo
bool storeGeo
force geometry to be saved first event
Definition: eclEdgeCollectorModule.h:48
Belle2::eclEdgeCollectorModule::m_ECLCrystalOffsetPhi
DBObjPtr< ECLCrystalCalib > m_ECLCrystalOffsetPhi
offset in phi
Definition: eclEdgeCollectorModule.h:52
Belle2::eclEdgeCollectorModule::eclEdgeCollectorModule
eclEdgeCollectorModule()
Constructor: Sets the description, the properties and the parameters of the module.
Definition: eclEdgeCollectorModule.cc:29
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::eclEdgeCollectorModule::prepare
virtual void prepare() override
Define histograms and read payloads from DB.
Definition: eclEdgeCollectorModule.cc:36
Belle2::eclEdgeCollectorModule::m_ECLCrystalOffsetTheta
DBObjPtr< ECLCrystalCalib > m_ECLCrystalOffsetTheta
Offset between crystal center and lower edge, from database.
Definition: eclEdgeCollectorModule.h:51