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);
49 out << setiosflags(ios::fixed);
50 out <<
", Inner pT =" << setw(7) << ptin;
51 out <<
" Inner (eta,phi)= (";
54 out <<
", Outer pT =" << setw(7) << ptout;
55 out <<
" Outer (eta,phi)= (";
58 out << resetiosflags(ios::right | ios::fixed);
Abstract base class for a PFBlock element (track, cluster...)
const math::XYZPoint & position() const
cartesian position (x, y, z)
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
math::XYZTLorentzVector Pout_
bool isNull() const
Checks for null.
void Dump(std::ostream &out=std::cout, const char *tab=" ") const override
print the object inside the element
math::XYZPointF positionAtECALEntrance_
position at ECAL entrance
bool isValid() const
is this point valid ?
math::XYZTLorentzVector Pin_
The CorrespondingKFTrackRef is needeed.
void setTrackType(TrackType trType, bool value) override
the trackType
A PFTrack holds several trajectory points, which basically contain the position and momentum of a tra...
GsfPFRecTrackRef GsftrackRefPF_
reference to the corresponding GSF track (transient)