34 if (TString(
name.data()).Contains(
"TPCDigitMCTruth") || TString(
name.data()).Contains(
"TPCClusterHwMCTruth") || TString(
name.data()).Contains(
"TPCClusterNativeMCTruth")) {
37 storedlabels->copyandflatten(flatlabels);
39 context.outputs().snapshot(
output, flatlabels);
45 std::vector<int> defaultSectors;
46 std::vector<int> defaultLaneConfig;
47 if (tpcSectors ==
nullptr) {
49 std::iota(defaultSectors.begin(), defaultSectors.end(), 0);
50 tpcSectors = &defaultSectors;
52 if (laneConfiguration ==
nullptr) {
53 defaultLaneConfig = *tpcSectors;
54 laneConfiguration = &defaultLaneConfig;
58 "tpc-native-cluster-reader",
59 "tpc-native-clusters.root",
61 {
"clusterbranch",
"TPCClusterNative",
"Branch with TPC native clusters"},
62 {
"clustermcbranch",
"TPCClusterNativeMCTruth",
"MC label branch"},