36 using LabelsType = std::vector<o2::MCCompLabel>;
39 auto tracksSize = std::make_shared<int>();
40 auto tracksLogger = [tracksSize](std::vector<o2::trd::TrackTRD>
const& tracks) {
41 *tracksSize = tracks.size();
45 "trdmatches_itstpc.root",
59 "trdlabels-branch-name"},
63 "labels-branch-name"})();
68 using LabelsType = std::vector<o2::MCCompLabel>;
71 auto tracksSize = std::make_shared<int>();
72 auto tracksLogger = [tracksSize](std::vector<o2::trd::TrackTRD>
const& tracks) {
73 *tracksSize = tracks.size();
77 "trdmatches_tpc.root",
91 "trdlabels-branch-name"},
95 "labels-branch-name"})();
std::vector< o2::MCCompLabel > LabelsType
Configurable generator for RootTreeWriter processor spec.
Defintions for the inter-detector matching type.
Generate a processor spec for the RootTreeWriter utility.
constexpr o2::header::DataOrigin gDataOriginTRD
Defining PrimaryVertex explicitly as messageable.
framework::DataProcessorSpec getTRDTPCTrackWriterSpec(bool useMC, bool strictMode=false)
writer for matches with TPC-only tracks
framework::DataProcessorSpec getTRDGlobalTrackWriterSpec(bool useMC)
writer for matches to ITS-TPC tracks
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...