Go to the documentation of this file.
16 GsftrackRefPF_(gsfref),
17 GsftrackRef_(gsfref->gsfTrackRef()),
22 throw cms::Exception(
"NullRef") <<
" PFBlockElementGsfTrack constructed from a null reference to PFGsfRecTrack.";
39 double ptin = pin.pt();
40 double etain = pin.eta();
41 double phiin = pin.phi();
42 double ptout = pout.pt();
43 double etaout = pout.eta();
44 double phiout = pout.phi();
45 out << setprecision(0);
46 out << tab << setw(7) <<
"charge=" << setw(3) <<
charge;
47 out << setprecision(3);
48 out << setiosflags(ios::right);
50 out <<
", Inner pT =" << setw(7) << ptin;
51 out <<
" Inner (eta,phi)= (";
54 out <<
", Outer pT =" << setw(7) << ptout;
55 out <<
" Outer (eta,phi)= (";
GsfPFRecTrackRef GsftrackRefPF_
reference to the corresponding GSF track (transient)
bool isNull() const
Checks for null.
math::XYZTLorentzVector Pin_
The CorrespondingKFTrackRef is needeed.
math::XYZTLorentzVector Pout_
const math::XYZPoint & position() const
cartesian position (x, y, z)
void setTrackType(TrackType trType, bool value) override
\set the trackType
bool isValid() const
is this point valid ?
Abstract base class for a PFBlock element (track, cluster...)
math::XYZPointF positionAtECALEntrance_
position at ECAL entrance
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
A PFTrack holds several trajectory points, which basically contain the position and momentum of a tra...
void Dump(std::ostream &out=std::cout, const char *tab=" ") const override
print the object inside the element