Project
Loading...
Searching...
No Matches
DigitParserSpec.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
15
16#ifndef O2_ZDC_DIGITPARSER_SPEC
17#define O2_ZDC_DIGITPARSER_SPEC
18
19#include "Framework/Logger.h"
23#include "Framework/Task.h"
24#include <TStopwatch.h>
27
28namespace o2
29{
30namespace zdc
31{
32
34{
35 public:
37 DigitParserSpec(const int verbosity);
38 ~DigitParserSpec() override = default;
39 void init(o2::framework::InitContext& ic) final;
41 void finaliseCCDB(o2::framework::ConcreteDataMatcher& matcher, void* obj) final;
44
45 private:
46 DigiParser mWorker; // Reconstruction object
47 int mVerbosity = 0; // Verbosity level during recostruction
48 bool mInitialized = false; // Connect once to CCDB during initialization
49 TStopwatch mTimer;
50};
51
54
55} // namespace zdc
56} // namespace o2
57
58#endif
#define verbosity
Definition of the Names Generator class.
void init(o2::framework::InitContext &ic) final
~DigitParserSpec() override=default
void finaliseCCDB(o2::framework::ConcreteDataMatcher &matcher, void *obj) final
void endOfStream(o2::framework::EndOfStreamContext &ec) final
This is invoked whenever we have an EndOfStream event.
void run(o2::framework::ProcessingContext &pc) final
void updateTimeDependentParams(o2::framework::ProcessingContext &pc)
struct o2::upgrades_utils::@463 zdc
structure to keep FT0 information
framework::DataProcessorSpec getDigitParserSpec(const int verbosity)
create a processor spec
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...