File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
SimDataFormats/GeneratorProducts/src Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ void HepMCProduct::addHepMCData(HepMC::GenEvent* evt) {
3636
3737void HepMCProduct::applyVtxGen (HepMC::FourVector const & vtxShift) {
3838 // std::cout<< " applyVtxGen called " << isVtxGenApplied_ << endl;
39- // fTimeOffset = 0;
4039
4140 if (isVtxGenApplied ())
4241 return ;
@@ -126,16 +125,14 @@ HepMCProduct::HepMCProduct(HepMCProduct const& other) : evt_(nullptr) {
126125 isVtxGenApplied_ = other.isVtxGenApplied_ ;
127126 isVtxBoostApplied_ = other.isVtxBoostApplied_ ;
128127 isPBoostApplied_ = other.isPBoostApplied_ ;
129- // fTimeOffset = other.fTimeOffset;
130128}
131129
132130// swap
133131void HepMCProduct::swap (HepMCProduct& other) {
134132 std::swap (evt_, other.evt_ );
135- std::swap (isVtxGenApplied_, other.isVtxGenApplied_ );
136- std::swap (isVtxBoostApplied_, other.isVtxBoostApplied_ );
137- std::swap (isPBoostApplied_, other.isPBoostApplied_ );
138- // std::swap(fTimeOffset, other.fTimeOffset);
133+ isVtxGenApplied_ = other.isVtxGenApplied_ ;
134+ isVtxBoostApplied_ = other.isVtxBoostApplied_ ;
135+ isPBoostApplied_ = other.isPBoostApplied_ ;
139136}
140137
141138// assignment: use copy/swap idiom for exception safety.
You can’t perform that action at this time.
0 commit comments