Belle II Software release-09-00-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/* Basf2 headers. */
12#include <calibration/CalibrationCollectorModule.h>
13#include <framework/database/DBObjPtr.h>
14
15namespace Belle2 {
20 class ECLCrystalCalib;
21
22
28
29 public:
30
33
35 virtual void prepare() override;
36
38 virtual void collect() override;
39
40 private:
41 bool storeGeo = true;
47 };
49}
50
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.