Project
Loading...
Searching...
No Matches
BaseDPLDigitizer.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
14
15#ifndef ALICEO2_BASE_BASEDPLDIGITIZER_H_
16#define ALICEO2_BASE_BASEDPLDIGITIZER_H_
17
21#include <cstdint>
22
23namespace o2
24{
25namespace base
26{
27
30 using Type = std::uint32_t;
31 static constexpr Type FIELD = 1 << 0;
32 static constexpr Type GEOM = 1 << 1;
33};
34
41{
42 public:
43 BaseDPLDigitizer() = default;
44 virtual ~BaseDPLDigitizer() = default;
45
50
51 virtual void init(o2::framework::InitContext&) final;
52
54
55 private:
56 bool mNeedField = false;
57 bool mNeedGeom = false;
58};
59
60} // namespace base
61} // namespace o2
62
63#endif
Header of the General Run Parameters object.
virtual void init(o2::framework::InitContext &) final
virtual void initDigitizerTask(o2::framework::InitContext &ic)=0
virtual ~BaseDPLDigitizer()=default
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
class listing possible services
static constexpr Type FIELD
static constexpr Type GEOM