Skip to content

Commit a94a33b

Browse files
committed
TRD: add missing OutputSpec in trd-pulseheight device
1 parent 9634a2e commit a94a33b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Detectors/TRD/workflow/include/TRDWorkflow/TRDPulseHeightSpec.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ class PuseHeightDevice : public o2::framework::Task
6969
mPulseHeight->reset();
7070
mPulseHeight->process();
7171
pc.outputs().snapshot(Output{"TRD", "PULSEHEIGHT", 0}, mPulseHeight->getPHData());
72+
pc.outputs().snapshot(Output{"TRD", "PULSEHEIGHTHD", 0}, mPulseHeight->getPHDataHD());
7273
if (pc.transitionState() == TransitionHandlingState::Requested) {
7374
LOG(info) << "Run stop requested, finalizing";
7475
mRunStopRequested = true;
@@ -103,6 +104,7 @@ DataProcessorSpec getTRDPulseHeightSpec(GID::mask_t src, bool digitsFromReader)
103104

104105
std::vector<OutputSpec> outputs;
105106
outputs.emplace_back(o2::header::gDataOriginTRD, "PULSEHEIGHT", 0, Lifetime::Timeframe);
107+
outputs.emplace_back(o2::header::gDataOriginTRD, "PULSEHEIGHTHD", 0, Lifetime::Timeframe);
106108

107109
bool isTPCavailable = false;
108110
if (GID::includesSource(GID::Source::ITSTPC, src)) {

0 commit comments

Comments
 (0)