Project
Loading...
Searching...
No Matches
o2TestMultisource.cxx
Go to the documentation of this file.
1// Copyright 2019-2026 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.
17
20
21using namespace o2;
22using namespace o2::framework;
23using namespace o2::framework::expressions;
24
25namespace o2::aod
26{
28template <is_aod_hash T>
29using TracksPlusFrom = soa::Join<StoredTracksIUFrom<T>, StoredTracksExtra_002From<T>>;
30} // namespace o2::aod
31
33 void process(aod::BCs const& bcs, aod::BCsFrom<aod::Hash<"EMB"_h>> const& bcse,
34 aod::TracksIU const& tracks, aod::TracksIUFrom<aod::Hash<"EMB"_h>> const& trackse)
35 {
36 LOGP(info, "BCs from run {} ({}) and {} ({})", bcs.begin().runNumber(), bcs.size(), bcse.begin().runNumber(), bcse.size());
37 LOGP(info, "Joined tracks: {} and {}", tracks.size(), trackse.size());
38 }
39};
40
42{
43 return {adaptAnalysisTask<TestEmbeddingSubscription>(cfgc)};
44}
std::vector< o2::its::TrackITS > tracks
BCs_001From< O > BCsFrom
Defining ITS Vertex explicitly as messageable.
Definition Cartesian.h:288
std::vector< DataProcessorSpec > WorkflowSpec
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
WorkflowSpec defineDataProcessing(ConfigContext const &cfgc)
This function hooks up the the workflow specifications into the DPL driver.
void process(aod::BCs const &bcs, aod::BCsFrom< aod::Hash<"EMB"_h > > const &bcse, aod::TracksIU const &tracks, aod::TracksIUFrom< aod::Hash<"EMB"_h > > const &trackse)