Belle II Software  release-06-02-00
eclEdgeCollectorModule.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 #pragma once
10 
11 #include <calibration/CalibrationCollectorModule.h>
12 #include <framework/database/DBObjPtr.h>
13 
14 namespace Belle2 {
19  class ECLCrystalCalib;
20 
21 
27 
28  public:
29 
32 
34  virtual void prepare() override;
35 
37  virtual void collect() override;
38 
39  private:
40  bool storeGeo = true;
46  };
48 }
49 
Calibration collector module base class.
Class for accessing objects in the database.
Definition: DBObjPtr.h:21
Collector to store ECL crystal locations.
bool storeGeo
force geometry to be saved first event
DBObjPtr< ECLCrystalCalib > m_ECLCrystalOffsetPhi
offset in phi
virtual void collect() override
Accumulate histograms.
DBObjPtr< ECLCrystalCalib > m_ECLCrystalOffsetTheta
Offset between crystal center and lower edge, from database.
virtual void prepare() override
Define histograms and read payloads from DB.
eclEdgeCollectorModule()
Constructor: Sets the description, the properties and the parameters of the module.
Abstract base class for different kinds of events.