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) {
36
36
37
37
void HepMCProduct::applyVtxGen (HepMC::FourVector const & vtxShift) {
38
38
// std::cout<< " applyVtxGen called " << isVtxGenApplied_ << endl;
39
- // fTimeOffset = 0;
40
39
41
40
if (isVtxGenApplied ())
42
41
return ;
@@ -126,16 +125,14 @@ HepMCProduct::HepMCProduct(HepMCProduct const& other) : evt_(nullptr) {
126
125
isVtxGenApplied_ = other.isVtxGenApplied_ ;
127
126
isVtxBoostApplied_ = other.isVtxBoostApplied_ ;
128
127
isPBoostApplied_ = other.isPBoostApplied_ ;
129
- // fTimeOffset = other.fTimeOffset;
130
128
}
131
129
132
130
// swap
133
131
void HepMCProduct::swap (HepMCProduct& other) {
134
132
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_ ;
139
136
}
140
137
141
138
// assignment: use copy/swap idiom for exception safety.
You can’t perform that action at this time.
0 commit comments