@@ -832,7 +832,7 @@ void MagneticWrapperChebyshev::loadData(const char* inpfile)
832832 int nparSol = buffs.Atoi ();
833833
834834 for (int ip = 0 ; ip < nparSol; ip++) {
835- Chebyshev3D * cheb = new Chebyshev3D ();
835+ auto * cheb = new Chebyshev3D ();
836836 cheb->loadData (stream);
837837 addParameterSolenoid (cheb);
838838 }
@@ -853,7 +853,7 @@ void MagneticWrapperChebyshev::loadData(const char* inpfile)
853853 int nparTPCInt = buffs.Atoi ();
854854
855855 for (int ip = 0 ; ip < nparTPCInt; ip++) {
856- Chebyshev3D * cheb = new Chebyshev3D ();
856+ auto * cheb = new Chebyshev3D ();
857857 cheb->loadData (stream);
858858 addParameterTPCIntegral (cheb);
859859 }
@@ -877,7 +877,7 @@ void MagneticWrapperChebyshev::loadData(const char* inpfile)
877877 int nparTPCRatInt = buffs.Atoi ();
878878
879879 for (int ip = 0 ; ip < nparTPCRatInt; ip++) {
880- Chebyshev3D * cheb = new Chebyshev3D ();
880+ auto * cheb = new Chebyshev3D ();
881881 cheb->loadData (stream);
882882 addParameterTPCRatIntegral (cheb);
883883 }
@@ -901,7 +901,7 @@ void MagneticWrapperChebyshev::loadData(const char* inpfile)
901901 int nparDip = buffs.Atoi ();
902902
903903 for (int ip = 0 ; ip < nparDip; ip++) {
904- Chebyshev3D * cheb = new Chebyshev3D ();
904+ auto * cheb = new Chebyshev3D ();
905905 cheb->loadData (stream);
906906 addParameterDipole (cheb);
907907 }
@@ -1444,8 +1444,8 @@ void MagneticWrapperChebyshev::saveData(const char* outfile) const
14441444Int_t MagneticWrapperChebyshev::segmentDimension (float ** seg, const TObjArray* par, int npar, int dim, float xmn,
14451445 float xmx, float ymn, float ymx, float zmn, float zmx)
14461446{
1447- float * tmpC = new float [2 * npar];
1448- int * tmpInd = new int [2 * npar];
1447+ auto * tmpC = new float [2 * npar];
1448+ auto * tmpInd = new int [2 * npar];
14491449 int nseg0 = 0 ;
14501450 for (int ip = 0 ; ip < npar; ip++) {
14511451 Chebyshev3D* cheb = (Chebyshev3D*)par->At (ip);
0 commit comments