10 PFDisplacedVertexSeed::PFDisplacedVertexSeed() :
50 const set<TrackBaseRef, Compare>& newElements= displacedVertex.
elements();
63 for ( set<TrackBaseRef, Compare>::const_iterator il = newElements.begin(); il != newElements.end(); il++)
74 out<<
"\t--- DisplacedVertexSeed --- "<<endl;
75 out<<
"\tnumber of elements: "<<
elements_.size()<<endl;
77 out<<
"\t Seed Point x = " <<
seedPoint().x()
79 <<
"\t Seed Point z = " <<
seedPoint().z() << endl;
88 float innermost_radius =
sqrt(
Pi.x()*
Pi.x() +
Pi.y()*
Pi.y() +
Pi.z()*
Pi.z());
89 float outermost_radius =
sqrt(Po.x()*Po.x() + Po.y()*Po.y() + Po.z()*Po.z());
90 float innermost_rho =
sqrt(
Pi.x()*
Pi.x() +
Pi.y()*
Pi.y());
91 float outermost_rho =
sqrt(Po.x()*Po.x() + Po.y()*Po.y());
93 double pt = (*ie)->pt();
96 out<<
"ie = " << (*ie).key() <<
" pt = " << pt
97 <<
" innermost hit radius = " << innermost_radius <<
" rho = " << innermost_rho
98 <<
" outermost hit radius = " << outermost_radius <<
" rho = " << outermost_rho
101 out<<
"ie = " << (*ie).key() <<
" pt = " << pt
103 <<
" out hit pos x = " << Po.x() <<
" y = " << Po.y() <<
" z = " << Po.z()
T y() const
Cartesian y coordinate.
T x() const
Cartesian x coordinate.
std::set< TrackBaseRef, Compare > elements_
---—— MEMBERS ----—— ///
void addElement(TrackBaseRef)
Add a track Reference to the current Seed.
void mergeWith(const PFDisplacedVertexSeed &displacedVertex)
Merge two Seeds if their seed Points are close enough.
const std::set< TrackBaseRef, Compare > & elements() const
void Dump(std::ostream &out=std::cout) const
cout function
T z() const
Cartesian z coordinate.
GlobalPoint seedPoint_
Seed point which indicated the approximative position of the vertex.
const GlobalPoint & seedPoint() const
XYZPointD XYZPoint
point in space with cartesian internal representation
std::pair< OmniClusterRef, TrackingParticleRef > P
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalPoint
point in global coordinate system
bool isEmpty() const
Check if it is a new Seed.
std::set< reco::TrackBaseRef >::iterator IEset
-----— Useful Types -----— ///
const double totalWeight() const
void updateSeedPoint(const GlobalPoint &dcaPoint, const TrackBaseRef, const TrackBaseRef, double weight=1)