Skip to content

Commit ae9bf5e

Browse files
committed
test to find origin of the build errors
1 parent c832b41 commit ae9bf5e

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎Detectors/TRD/workflow/src/TRDGlobalTrackingSpec.cxx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ void TRDGlobalTracking::updateTimeDependentParams(ProcessingContext& pc)
155155
}
156156

157157
pc.inputs().get<std::array<int, constants::MAXCHAMBER>*>("chamberstatus"); // called to trigger finaliseCCDB
158-
pc.inputs().get<o2::trd::PadStatus*>("padstatus"); // called to trigger finaliseCCDB
158+
//pc.inputs().get<o2::trd::PadStatus*>("padstatus"); // called to trigger finaliseCCDB
159159
}
160160

161161
const auto& trackTune = TrackTuneParams::Instance();
@@ -213,7 +213,7 @@ void TRDGlobalTracking::finaliseCCDB(ConcreteDataMatcher& matcher, void* obj)
213213
}
214214
return;
215215
}
216-
if (matcher == ConcreteDataMatcher("TRD", "PADSTATUS", 0)) {
216+
/*if (matcher == ConcreteDataMatcher("TRD", "PADSTATUS", 0)) {
217217
LOG(info) << "pad status object updated";
218218
const o2::trd::PadStatus* padStatus = (const o2::trd::PadStatus*)obj;
219219
for (int iDet = 0; iDet < constants::MAXCHAMBER; iDet++) {
@@ -228,7 +228,7 @@ void TRDGlobalTracking::finaliseCCDB(ConcreteDataMatcher& matcher, void* obj)
228228
}
229229
}
230230
return;
231-
}
231+
}*/
232232
}
233233

234234
void TRDGlobalTracking::fillMCTruthInfo(const TrackTRD& trk, o2::MCCompLabel lblSeed, std::vector<o2::MCCompLabel>& lblContainerTrd, std::vector<o2::MCCompLabel>& lblContainerMatch, const o2::dataformats::MCTruthContainer<o2::MCCompLabel>* trkltLabels) const
@@ -1047,7 +1047,7 @@ DataProcessorSpec getTRDGlobalTrackingSpec(bool useMC, GTrackID::mask_t src, boo
10471047

10481048
// request list of bad chambers and masked pads to estimate better the number of findable tracklets
10491049
inputs.emplace_back("chamberstatus", "TRD", "CHAMBERSTATUS", 0, Lifetime::Condition, ccdbParamSpec("TRD/Calib/DCSDPsFedChamberStatus"));
1050-
inputs.emplace_back("padstatus", "TRD", "PADSTATUS", 0, Lifetime::Condition, ccdbParamSpec("TRD/Calib/PadStatus"));
1050+
//inputs.emplace_back("padstatus", "TRD", "PADSTATUS", 0, Lifetime::Condition, ccdbParamSpec("TRD/Calib/PadStatus"));
10511051

10521052
if (GTrackID::includesSource(GTrackID::Source::ITSTPC, src)) {
10531053
outputs.emplace_back(o2::header::gDataOriginTRD, "MATCH_ITSTPC", 0, Lifetime::Timeframe);

‎GPU/GPUTracking/TRDTracking/GPUTRDTracker.cxx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,12 +1310,12 @@ GPUd() bool GPUTRDTracker_t<TRDTRK, PROP>::IsGeoFindable(const TRDTRK* t, const
13101310
}
13111311

13121312
// reject tracks if the corresponding pad and neighboring pads (to take into account track uncertainty and charge sharing with neighbours) are masked
1313-
int32_t padrow = pp->GetPadRowNumber(zTrk);
1313+
/*int32_t padrow = pp->GetPadRowNumber(zTrk);
13141314
int32_t padcol = pp->GetPadColNumber(t->getY());
13151315
int32_t idxPad = det * kNPadColumns * kNPadRows + padcol * kNPadRows + padrow;
13161316
if (padrow != -1 && padcol != -1 && mPadStatus[idxPad] && (padrow == 0 || mPadStatus[idxPad - kNPadRows]) && (padrow == kNPadRows - 1 || mPadStatus[idxPad + kNPadRows])) {
13171317
return false;
1318-
}
1318+
}*/
13191319

13201320
return true;
13211321
}

‎GPU/GPUTracking/TRDTracking/GPUTRDTracker.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ class GPUTRDTracker_t : public GPUProcessor
142142
mNFT0BC = n;
143143
}
144144
GPUd() void SetChamberStatus(int iDet, bool status) { mChamberStatus[iDet] = status; }
145-
GPUd() void SetPadStatus(int iPad, bool status) { mPadStatus[iPad] = status; }
145+
//GPUd() void SetPadStatus(int iPad, bool status) { mPadStatus[iPad] = status; }
146146

147147
GPUd() bool GetIsDebugOutputOn() const { return mDebugOutput; }
148148
GPUd() float GetMaxEta() const { return mMaxEta; }
@@ -196,7 +196,7 @@ class GPUTRDTracker_t : public GPUProcessor
196196
float mTPCTDriftOffset; // TPC drift time additive offset
197197
GPUTRDTrackerDebug<TRDTRK>* mDebug; // debug output
198198
bool mChamberStatus[kNChambers] = {}; // good (0) or bad (1) chamber from the CCDB, used for determining whether a track is findable
199-
bool mPadStatus[kNPads] = {}; // whether pad is masked or not in hardware, from the CCDB, used for determining if a track is findable
199+
//bool mPadStatus[kNPads] = {}; // whether pad is masked or not in hardware, from the CCDB, used for determining if a track is findable
200200
};
201201
} // namespace o2::gpu
202202

0 commit comments

Comments
 (0)