Skip to content

Commit ee64130

Browse files
committed
Please consider the following formatting changes
1 parent 63de1ea commit ee64130

3 files changed

Lines changed: 0 additions & 30 deletions

File tree

Detectors/TPC/spacecharge/src/DataContainer3D.cxx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ int DataContainer3D<DataT>::writeToFile(TFile& outf, const char* name) const
4141
return 0;
4242
}
4343

44-
45-
4644
/// set values from file
4745
template <typename DataT>
4846
template <typename DataTIn>
@@ -123,7 +121,6 @@ void DataContainer3D<DataT>::print() const
123121
LOGP(info, "{} \n \n", stream.str());
124122
}
125123

126-
127124
template <typename DataT>
128125
DataContainer3D<DataT>& DataContainer3D<DataT>::operator*=(const DataT value)
129126
{
@@ -217,15 +214,13 @@ void DataContainer3D<DataT>::setGrid(unsigned short nZ, unsigned short nR, unsig
217214
}
218215
}
219216

220-
221217
template <typename DataT>
222218
DataT DataContainer3D<DataT>::interpolate(const DataT z, const DataT r, const DataT phi, const o2::tpc::RegularGrid3D<DataT>& grid) const
223219
{
224220
TriCubicInterpolator<DataT> interpolator(*this, grid);
225221
return interpolator(z, r, phi);
226222
}
227223

228-
229224
template <typename DataT>
230225
bool DataContainer3D<DataT>::getVertices(std::string_view treename, std::string_view fileIn, unsigned short& nR, unsigned short& nZ, unsigned short& nPhi)
231226
{

Detectors/TPC/spacecharge/src/SpaceCharge.cxx

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2464,8 +2464,6 @@ void SpaceCharge<DataT>::makeElectronDriftPathGif(const char* inpFile, TH2F& hDu
24642464
can.Print(Form("%s.gif++", outName));
24652465
}
24662466

2467-
2468-
24692467
template <typename DataT>
24702468
void SpaceCharge<DataT>::normalizeHistoQVEps0(TH3& histoIonsPhiRZ)
24712469
{
@@ -2658,10 +2656,6 @@ void SpaceCharge<DataT>::calcDistCorr(const DataT p1r, const DataT p1phi, const
26582656
ddPhi += ddPhiExB;
26592657
}
26602658

2661-
2662-
2663-
2664-
26652659
template <typename DataT>
26662660
template <typename DataTIn>
26672661
void SpaceCharge<DataT>::setGlobalDistortionsFromFile(TFile& inpf, const Side side)
@@ -2675,8 +2669,6 @@ void SpaceCharge<DataT>::setGlobalDistortionsFromFile(TFile& inpf, const Side si
26752669
mGlobalDistdRPhi[side].template initFromFile<DataTIn>(inpf, fmt::format("distRphi_side{}", sideName).data());
26762670
}
26772671

2678-
2679-
26802672
template <typename DataT>
26812673
template <typename DataTIn>
26822674
void SpaceCharge<DataT>::setGlobalCorrectionsFromFile(TFile& inpf, const Side side)
@@ -2690,15 +2682,6 @@ void SpaceCharge<DataT>::setGlobalCorrectionsFromFile(TFile& inpf, const Side si
26902682
mGlobalCorrdRPhi[side].template initFromFile<DataTIn>(inpf, fmt::format("corrRPhi_side{}", sideName).data());
26912683
}
26922684

2693-
2694-
2695-
2696-
2697-
2698-
2699-
2700-
2701-
27022685
template <typename DataT>
27032686
bool SpaceCharge<DataT>::checkGridFromFile(std::string_view file, std::string_view tree)
27042687
{
@@ -2719,7 +2702,6 @@ bool SpaceCharge<DataT>::checkGridFromFile(std::string_view file, std::string_vi
27192702
return true;
27202703
}
27212704

2722-
27232705
template <typename DataT>
27242706
int SpaceCharge<DataT>::dumpGlobalCorrections(TFile& outf, const Side side) const
27252707
{
@@ -2734,10 +2716,6 @@ int SpaceCharge<DataT>::dumpGlobalCorrections(TFile& outf, const Side side) cons
27342716
return er + ez + ephi;
27352717
}
27362718

2737-
2738-
2739-
2740-
27412719
template <typename DataT>
27422720
void SpaceCharge<DataT>::setSimNSector(const int nSectors)
27432721
{
@@ -2755,8 +2733,6 @@ void SpaceCharge<DataT>::unsetSimNSector()
27552733
o2::tpc::MGParameters::normalizeGridToNSector = SECTORSPERSIDE;
27562734
}
27572735

2758-
2759-
27602736
template <typename DataT>
27612737
void SpaceCharge<DataT>::initContainer(DataContainer& data, const bool initMem)
27622738
{

Detectors/TPC/spacecharge/src/SpaceChargeIO.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,6 @@ void SpaceCharge<DataT>::setFromFile(std::string_view file)
10231023
setFromFile(file, Side::C);
10241024
}
10251025

1026-
10271026
// explicit template instantiations of the moved members
10281027
template int o2::tpc::DataContainer3D<float>::writeToFile(std::string_view, std::string_view, std::string_view, const int) const;
10291028
template bool o2::tpc::DataContainer3D<float>::initFromFile(std::string_view, std::string_view, const int);

0 commit comments

Comments
 (0)