64 : fTotalEnergyDeposit(right.fTotalEnergyDeposit)
65 , fNonIonizingEnergyDeposit(right.fNonIonizingEnergyDeposit)
66 , fStepLength(right.fStepLength)
67 , fpTrack(right.fpTrack)
68 , fpSteppingControlFlag(right.fpSteppingControlFlag)
69 , fFirstStepInVolume(right.fFirstStepInVolume)
70 , fLastStepInVolume(right.fLastStepInVolume)
71 , nSecondaryByLastStep(right.nSecondaryByLastStep)
72 , secondaryInCurrentStep(right.secondaryInCurrentStep)
73 , fpVectorOfAuxiliaryPointsPointer(right.fpVectorOfAuxiliaryPointsPointer)
75 if(right.fpPreStepPoint !=
nullptr)
77 fpPreStepPoint = new G4StepPoint(*(right.fpPreStepPoint));
81 fpPreStepPoint = new G4StepPoint();
83 if(right.fpPostStepPoint !=
nullptr)
85 fpPostStepPoint = new G4StepPoint(*(right.fpPostStepPoint));
89 fpPostStepPoint = new G4StepPoint();
92 if(right.fSecondary !=
nullptr)
94 fSecondary = new G4TrackVector(*(right.fSecondary));
98 fSecondary = new G4TrackVector();
102 secondaryInCurrentStep =
new std::vector<const G4Track*>;
112 fStepLength = right.fStepLength;
113 fpTrack = right.fpTrack;
114 fpSteppingControlFlag = right.fpSteppingControlFlag;
115 fFirstStepInVolume = right.fFirstStepInVolume;
116 fLastStepInVolume = right.fLastStepInVolume;
117 nSecondaryByLastStep = right.nSecondaryByLastStep;
118 secondaryInCurrentStep = right.secondaryInCurrentStep;
119 fpVectorOfAuxiliaryPointsPointer = right.fpVectorOfAuxiliaryPointsPointer;
121 delete fpPreStepPoint;
123 if(right.fpPreStepPoint !=
nullptr)
125 fpPreStepPoint =
new G4StepPoint(*(right.fpPreStepPoint));
132 delete fpPostStepPoint;
134 if(right.fpPostStepPoint !=
nullptr)
136 fpPostStepPoint =
new G4StepPoint(*(right.fpPostStepPoint));
143 if(fSecondary !=
nullptr)
148 if(right.fSecondary !=
nullptr)
158 if(secondaryInCurrentStep !=
nullptr)
160 secondaryInCurrentStep->clear();
161 delete secondaryInCurrentStep;
163 secondaryInCurrentStep =
new std::vector<const G4Track*>;