Project
Loading...
Searching...
No Matches
ReconstructorSpec.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_FDD_RECONSTRUCTORDPL_H
15#define O2_FDD_RECONSTRUCTORDPL_H
16
18#include "Framework/Task.h"
23
24using namespace o2::framework;
25
26namespace o2
27{
28namespace fdd
29{
30
32{
33 public:
34 FDDReconstructorDPL(bool useMC, bool useDeadChannelMap) : mUseMC(useMC), mUseDeadChannelMap(useDeadChannelMap) {}
35 ~FDDReconstructorDPL() override = default;
36 void init(InitContext& ic) final;
37 void run(ProcessingContext& pc) final;
38 void finaliseCCDB(ConcreteDataMatcher& matcher, void* obj) final;
39
40 private:
41 bool mUseMC = true;
42 bool mUseDeadChannelMap = true;
43 bool mUpdateDeadChannelMap = true;
44 std::vector<o2::fdd::RecPoint> mRecPoints;
45 std::vector<o2::fdd::ChannelDataFloat> mRecChData;
46 o2::fit::DeadChannelMap const* mDeadChannelMap;
49};
50
52framework::DataProcessorSpec getFDDReconstructorSpec(bool useMC = true, bool useDeadChannelMap = true);
53
54} // namespace fdd
55} // namespace o2
56
57#endif /* O2_FDD_RECONSTRUCTORDPL_H */
Dead channel map for FIT.
Definition of the FDD RecPoint class.
~FDDReconstructorDPL() override=default
FDDReconstructorDPL(bool useMC, bool useDeadChannelMap)
void run(ProcessingContext &pc) final
void init(InitContext &ic) final
void finaliseCCDB(ConcreteDataMatcher &matcher, void *obj) final
constexpr o2::header::DataOrigin gDataOriginFDD
Definition DataHeader.h:568
framework::DataProcessorSpec getFDDReconstructorSpec(bool useMC=true, bool useDeadChannelMap=true)
create a processor spec
Defining PrimaryVertex explicitly as messageable.
struct o2::upgrades_utils::@458 fdd
Collision labels.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...