Project
Loading...
Searching...
No Matches
Dummy.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_TRD_DUMMY_H
17#define O2_TRD_DUMMY_H
18
19#include "Rtypes.h"
20#include "TRDPID/PIDBase.h"
24
25namespace o2
26{
27namespace trd
28{
29
32class Dummy final : public PIDBase
33{
34 using PIDBase::PIDBase;
35
36 public:
37 ~Dummy() = default;
38
41
43 float process(const TrackTRD& trk, const o2::globaltracking::RecoContainer& input, bool isTPCTRD) const final
44 {
45 return -1.f;
46 };
47
48 private:
49 ClassDefNV(Dummy, 1);
50};
51
52} // namespace trd
53} // namespace o2
54
55#endif
Wrapper container for different reconstructed object types.
This file provides the base interface for pid policies.
void init(o2::framework::ProcessingContext &pc) final
Do absolutely nothing.
Definition Dummy.h:40
float process(const TrackTRD &trk, const o2::globaltracking::RecoContainer &input, bool isTPCTRD) const final
Everything below 0.f indicates nothing available.
Definition Dummy.h:43
~Dummy()=default
PIDBase(PIDPolicy policy)
Definition PIDBase.h:52
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...