Project
Loading...
Searching...
No Matches
WaveformCalibSpec.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_WAVEFORMCALIB_SPEC
17#define O2_ZDC_WAVEFORMCALIB_SPEC
18
19#include <TStopwatch.h>
20#include "Framework/Logger.h"
23#include "Framework/Task.h"
31#include "CCDB/CcdbObjectInfo.h"
32
33namespace o2
34{
35namespace zdc
36{
37
39{
40 public:
43 ~WaveformCalibSpec() override = default;
44 void init(o2::framework::InitContext& ic) final;
46 void finaliseCCDB(o2::framework::ConcreteDataMatcher& matcher, void* obj) final;
50
51 private:
52 int mVerbosity = DbgMinimal; // Verbosity level
53 bool mInitialized = false; // Connect once to CCDB during initialization
54 WaveformCalib mWorker; // Intercalibration object
55 TStopwatch mTimer;
56};
57
59
60} // namespace zdc
61} // namespace o2
62
63#endif
#define verbosity
Utils and constants for calibration and related workflows.
1D messeageable histo class
2D messeageable histo class
void output(const std::map< std::string, ChannelStat > &channels)
Definition rawdump.cxx:197
Definition of the Names Generator class.
Configuration of ZDC Tower intercalibration procedure.
Waveform calibration intermediate data.
~WaveformCalibSpec() override=default
void sendOutput(o2::framework::DataAllocator &output)
void endOfStream(o2::framework::EndOfStreamContext &ec) final
This is invoked whenever we have an EndOfStream event.
void init(o2::framework::InitContext &ic) final
void run(o2::framework::ProcessingContext &pc) final
void updateTimeDependentParams(o2::framework::ProcessingContext &pc)
void finaliseCCDB(o2::framework::ConcreteDataMatcher &matcher, void *obj) final
struct o2::upgrades_utils::@463 zdc
structure to keep FT0 information
framework::DataProcessorSpec getWaveformCalibSpec()
constexpr int DbgMinimal
Definition Constants.h:208
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...