Project
Loading...
Searching...
No Matches
ZDCDataReaderDPLSpec.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
13
14#ifndef O2_ZDCDATAREADERDPLSPEC_H
15#define O2_ZDCDATAREADERDPLSPEC_H
16
20#include "Framework/Task.h"
24#include "Framework/Lifetime.h"
25#include "Framework/Output.h"
31#include "Framework/InputSpec.h"
33#include "ZDCBase/Constants.h"
35#include "ZDCRaw/RawReaderZDC.h"
36#include <iostream>
37#include <vector>
38#include <gsl/span>
39
40using namespace o2::framework;
41
42namespace o2
43{
44namespace zdc
45{
47{
48 public:
50 ZDCDataReaderDPLSpec(const RawReaderZDC& rawReader);
51 ~ZDCDataReaderDPLSpec() override = default;
52 void init(InitContext& ic) final;
53 void run(ProcessingContext& pc) final;
55 void finaliseCCDB(o2::framework::ConcreteDataMatcher& matcher, void* obj) final;
56
57 private:
58 int mVerbosity = 0;
59 bool mInitialized = false;
60 RawReaderZDC mRawReader;
61};
62
63framework::DataProcessorSpec getZDCDataReaderDPLSpec(const RawReaderZDC& rawReader, const bool askSTFDist);
64
65} // namespace zdc
66} // namespace o2
67
68#endif /* O2_ZDCDATAREADERDPL_H */
A raw page parser for DPL input.
A helper class to iteratate over all parts of all input routes.
Configurable generator for RootTreeWriter processor spec.
Definition of the Names Generator class.
Type wrappers for enfording a specific serialization method.
void init(InitContext &ic) final
void run(ProcessingContext &pc) final
void updateTimeDependentParams(ProcessingContext &pc)
void finaliseCCDB(o2::framework::ConcreteDataMatcher &matcher, void *obj) final
~ZDCDataReaderDPLSpec() override=default
Defining PrimaryVertex explicitly as messageable.
Definition TFIDInfo.h:20
struct o2::upgrades_utils::@463 zdc
structure to keep FT0 information
framework::DataProcessorSpec getZDCDataReaderDPLSpec(const RawReaderZDC &rawReader, const bool askSTFDist)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...