Skip to content

Commit 593bbbf

Browse files
committed
fix gpu-reco-workflow.cxx
1 parent 4079f8c commit 593bbbf

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

GPU/Workflow/src/gpu-reco-workflow.cxx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ using namespace o2::dataformats;
3838
using namespace o2::gpu;
3939
using CompletionPolicyData = std::vector<InputSpec>;
4040
static CompletionPolicyData gPolicyData;
41-
static constexpr unsigned long gTpcSectorMask = 0xFFFFFFFFF;
41+
static constexpr uint64_t gTpcSectorMask = 0xFFFFFFFFF;
4242
static std::function<bool(o2::framework::DataProcessingHeader::StartTime)>* gPolicyOrderCheck;
4343
static std::shared_ptr<GPURecoWorkflowSpec> gTask;
4444

@@ -51,8 +51,8 @@ void customize(std::vector<ConfigParamSpec>& workflowOptions)
5151
{
5252

5353
std::vector<ConfigParamSpec> options{
54-
{"input-type", VariantType::String, "digits", {"digitizer, digits, zsraw, zsonthefly, clustersnative, compressed-clusters-root, compressed-clusters-ctf, trd-tracklets"}},
55-
{"output-type", VariantType::String, "tracks", {"clustersnative, tracks, compressed-clusters-ctf, qa, no-shared-cluster-map, send-clusters-per-sector, trd-tracks, error-qa, tpc-triggers"}},
54+
{"input-type", VariantType::String, "digits", {"digitizer, digits, zsraw, zsonthefly, clustersnative, compressed-clusters-root, compressed-clusters-ctf, trd-tracklets, its-clusters"}},
55+
{"output-type", VariantType::String, "tracks", {"clustersnative, tracks, compressed-clusters-ctf, qa, no-shared-cluster-map, send-clusters-per-sector, trd-tracks, error-qa, tpc-triggers, its-tracks"}},
5656
{"corrmap-lumi-mode", VariantType::Int, 0, {"scaling mode: (default) 0 = static + scale * full; 1 = full + scale * derivative"}},
5757
{"disable-root-input", VariantType::Bool, true, {"disable root-files input reader"}},
5858
{"disable-mc", VariantType::Bool, false, {"disable sending of MC information"}},
@@ -108,6 +108,7 @@ enum struct ioType { Digits,
108108
SendClustersPerSector,
109109
ITSClusters,
110110
ITSTracks,
111+
MeanVertex,
111112
TPCTriggers };
112113

113114
static const std::unordered_map<std::string, ioType> InputMap{
@@ -118,7 +119,9 @@ static const std::unordered_map<std::string, ioType> InputMap{
118119
{"compressed-clusters-root", ioType::CompClustROOT},
119120
{"compressed-clusters-ctf", ioType::CompClustCTF},
120121
{"trd-tracklets", ioType::TRDTracklets},
121-
{"its-clusters", ioType::ITSClusters}};
122+
{"its-clusters", ioType::ITSClusters},
123+
{"its-mean-vertex", ioType::MeanVertex},
124+
};
122125

123126
static const std::unordered_map<std::string, ioType> OutputMap{
124127
{"clusters", ioType::Clusters},
@@ -135,7 +138,7 @@ static const std::unordered_map<std::string, ioType> OutputMap{
135138
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
136139
{
137140
WorkflowSpec specs;
138-
std::vector<int> tpcSectors(o2::tpc::Sector::MAXSECTOR);
141+
std::vector<int32_t> tpcSectors(o2::tpc::Sector::MAXSECTOR);
139142
std::iota(tpcSectors.begin(), tpcSectors.end(), 0);
140143

141144
auto inputType = cfgc.options().get<std::string>("input-type");

0 commit comments

Comments
 (0)