|
13 | 13 |
|
14 | 14 | #include "TPCReconstruction/GPUCATracking.h" |
15 | 15 |
|
16 | | -#include "FairLogger.h" |
17 | 16 | #include "ReconstructionDataFormats/Track.h" |
18 | 17 | #include "SimulationDataFormat/MCCompLabel.h" |
19 | 18 | #include "SimulationDataFormat/ConstMCTruthContainer.h" |
20 | | -#include "TChain.h" |
21 | | -#include "TClonesArray.h" |
22 | | -#include "TPCBase/Mapper.h" |
23 | 19 | #include "TPCBase/PadRegionInfo.h" |
24 | | -#include "TPCBase/ParameterDetector.h" |
25 | | -#include "TPCBase/ParameterElectronics.h" |
26 | | -#include "TPCBase/ParameterGas.h" |
27 | 20 | #include "TPCBase/Sector.h" |
28 | 21 | #include "DataFormatsTPC/Digit.h" |
29 | 22 | #include "DataFormatsTPC/ClusterNativeHelper.h" |
@@ -84,11 +77,6 @@ int GPUCATracking::runTracking(GPUO2InterfaceIOPtrs* data, GPUInterfaceOutputs* |
84 | 77 | LOG(ERROR) << "Output tracks or clusRefs vectors are not initialized"; |
85 | 78 | return 0; |
86 | 79 | } |
87 | | - auto& detParam = ParameterDetector::Instance(); |
88 | | - auto& gasParam = ParameterGas::Instance(); |
89 | | - auto& elParam = ParameterElectronics::Instance(); |
90 | | - float vzbin = (elParam.ZbinWidth * gasParam.DriftV); |
91 | | - Mapper& mapper = Mapper::instance(); |
92 | 80 |
|
93 | 81 | std::vector<o2::tpc::Digit> gpuDigits[Sector::MAXSECTOR]; |
94 | 82 | o2::dataformats::MCTruthContainer<o2::MCCompLabel> gpuDigitsMC[Sector::MAXSECTOR]; |
@@ -245,9 +233,6 @@ int GPUCATracking::runTracking(GPUO2InterfaceIOPtrs* data, GPUInterfaceOutputs* |
245 | 233 | int globalRow = trackClusters[tracks[i].FirstClusterRef() + j].row; |
246 | 234 | int clusterIdInRow = clusterIdGlobal - data->clusters->clusterOffset[sector][globalRow]; |
247 | 235 | int regionNumber = 0; |
248 | | - while (globalRow > mapper.getGlobalRowOffsetRegion(regionNumber) + mapper.getNumberOfRowsRegion(regionNumber)) { |
249 | | - regionNumber++; |
250 | | - } |
251 | 236 | clIndArr[nOutCl2] = clusterIdInRow; |
252 | 237 | sectorIndexArr[nOutCl2] = sector; |
253 | 238 | rowIndexArr[nOutCl2] = globalRow; |
@@ -317,13 +302,6 @@ int GPUCATracking::runTracking(GPUO2InterfaceIOPtrs* data, GPUInterfaceOutputs* |
317 | 302 | return (retVal); |
318 | 303 | } |
319 | 304 |
|
320 | | -float GPUCATracking::getPseudoVDrift() |
321 | | -{ |
322 | | - auto& gasParam = ParameterGas::Instance(); |
323 | | - auto& elParam = ParameterElectronics::Instance(); |
324 | | - return (elParam.ZbinWidth * gasParam.DriftV); |
325 | | -} |
326 | | - |
327 | 305 | void GPUCATracking::GetClusterErrors2(int row, float z, float sinPhi, float DzDs, short clusterState, float& ErrY2, float& ErrZ2) const |
328 | 306 | { |
329 | 307 | if (mTrackingCAO2Interface == nullptr) { |
|
0 commit comments