Belle II Software development
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
25
26 public:
27
30
32 virtual void prepare() override;
33
35 virtual void collect() override;
36
37 private:
38 bool storeGeo = true;
44 };
46}
47
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.