|
1 | 1 | #include "SimDataFormats/Track/interface/SimTrack.h" |
2 | 2 |
|
3 | | -SimTrack::SimTrack() : ivert(-1), igenpart(-1) {} |
| 3 | +SimTrack::SimTrack() : ivert(-1), igenpart(-1), crossedBoundary_(false) {} |
4 | 4 |
|
5 | | -SimTrack::SimTrack(int ipart, const math::XYZTLorentzVectorD& p) : Core(ipart, p), ivert(-1), igenpart(-1) {} |
| 5 | +SimTrack::SimTrack(int ipart, const math::XYZTLorentzVectorD& p) |
| 6 | + : Core(ipart, p), ivert(-1), igenpart(-1), crossedBoundary_(false) {} |
6 | 7 |
|
7 | 8 | SimTrack::SimTrack(int ipart, const math::XYZTLorentzVectorD& p, int iv, int ig) |
8 | | - : Core(ipart, p), ivert(iv), igenpart(ig) {} |
| 9 | + : Core(ipart, p), ivert(iv), igenpart(ig), crossedBoundary_(false) {} |
9 | 10 |
|
10 | 11 | SimTrack::SimTrack(int ipart, |
11 | 12 | const math::XYZTLorentzVectorD& p, |
12 | 13 | int iv, |
13 | 14 | int ig, |
14 | 15 | const math::XYZVectorD& tkp, |
15 | 16 | const math::XYZTLorentzVectorD& tkm) |
16 | | - : Core(ipart, p), ivert(iv), igenpart(ig), tkposition(tkp), tkmomentum(tkm) {} |
| 17 | + : Core(ipart, p), ivert(iv), igenpart(ig), tkposition(tkp), tkmomentum(tkm), crossedBoundary_(false) {} |
17 | 18 |
|
18 | | -SimTrack::SimTrack(const CoreSimTrack& t, int iv, int ig) : Core(t), ivert(iv), igenpart(ig) {} |
| 19 | +SimTrack::SimTrack(const CoreSimTrack& t, int iv, int ig) : Core(t), ivert(iv), igenpart(ig), crossedBoundary_(false) {} |
19 | 20 |
|
20 | 21 | std::ostream& operator<<(std::ostream& o, const SimTrack& t) { |
21 | 22 | return o << (SimTrack::Core)(t) << ", " << t.vertIndex() << ", " << t.genpartIndex(); |
|
0 commit comments