Project
Loading...
Searching...
No Matches
AnalysisContext.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#ifndef O2_FRAMEWORK_ANALYSISCONTEXT_H_
12#define O2_FRAMEWORK_ANALYSISCONTEXT_H_
13
14#include <vector>
15#include "Framework/InputSpec.h"
17
18namespace o2::framework
19{
20class DataOutputDirector;
21
23 uint32_t id;
24 std::string name;
25};
26
28 uint32_t id;
29 std::vector<std::string> bindings;
30};
31
32// This will keep track of the inputs which have
33// been requested and for which we will need to inject
34// some source device.
36 std::vector<InputSpec> requestedAODs;
37 std::vector<OutputSpec> providedAODs;
38 std::vector<InputSpec> requestedDYNs;
39 std::vector<OutputSpec> providedDYNs;
40 std::vector<InputSpec> requestedIDXs;
41 std::vector<OutputSpec> providedTIMs;
42 std::vector<InputSpec> requestedTIMs;
43 std::vector<OutputSpec> providedOutputObjHist;
44 std::vector<InputSpec> spawnerInputs;
45
46 // These are the timestamped tables which are required to
47 // inject the the CCDB objecs.
48 std::vector<InputSpec> analysisCCDBInputs;
49
50 // Needed to created the hist writer
51 std::vector<OutputTaskInfo> outTskMap;
52 std::vector<OutputObjectInfo> outObjHistMap;
53
54 // Needed to create the output director
55 std::vector<InputSpec> outputsInputs;
56 std::vector<bool> isDangling;
57
58 // Needed to create the aod writer
59 std::vector<InputSpec> outputsInputsAOD;
60};
61} // namespace o2::framework
62
63extern template class std::vector<o2::framework::OutputObjectInfo>;
64extern template class std::vector<o2::framework::OutputTaskInfo>;
65
66#endif // O2_FRAMEWORK_ANALYSISCONTEXT_H_
Defining PrimaryVertex explicitly as messageable.
Definition TFIDInfo.h:20
std::vector< InputSpec > requestedAODs
std::vector< OutputSpec > providedAODs
std::vector< InputSpec > analysisCCDBInputs
std::vector< InputSpec > spawnerInputs
std::vector< OutputSpec > providedTIMs
std::vector< OutputTaskInfo > outTskMap
std::vector< InputSpec > outputsInputs
std::vector< InputSpec > requestedDYNs
std::vector< OutputObjectInfo > outObjHistMap
std::vector< InputSpec > requestedIDXs
std::vector< InputSpec > requestedTIMs
std::vector< OutputSpec > providedOutputObjHist
std::vector< OutputSpec > providedDYNs
std::vector< InputSpec > outputsInputsAOD
std::vector< std::string > bindings