5 #include "TMatrixDEigen.h" 6 #include "TMatrixDSym.h" 7 #include "TDecompSVD.h" 10 #include "TGeoSphere.h" 11 #include "TGeoMatrix.h" 12 #include "TEveGeoNode.h" 13 #include "TEveVSDStructs.h" 44 TEveGeoManagerHolder gmgr(TEveGeoShape::GetGeoMangeur());
45 TEvePointSet* pointSet =
new TEvePointSet();
46 pointSet->SetMainColor(
item()->defaultDisplayProperties().
color());
51 TGeoSphere * sphere =
new TGeoSphere(0, 0.002);
53 TEveGeoShape * shape =
new TEveGeoShape();
54 sphere->SetBoxDimensions(2.5,2.5,2.5);
55 shape->SetShape(sphere);
56 shape->SetMainColor(
item()->defaultDisplayProperties().
color());
57 shape->SetMainTransparency(10);
59 TEveTrans &
t = shape->RefMainTrans();
69 TMatrixD mm = svd.GetU();
76 TVectorD vv ( eig.GetEigenValuesRe()) ;
77 t.Scale(
sqrt(vv(0))*1000.,
sqrt(vv(1))*1000.,
sqrt(vv(2))*1000.);
78 t.SetPos(v.
vx(),v.
vy(),v.
vz());
82 pointSet->SetNextPoint( v.
vx(), v.
vy(), v.
vz() );
90 trk->SetMainColor(
item()->defaultDisplayProperties().
color());
const fireworks::Context & context() const
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static const int kAllRPZBits
const VTX & secondaryVertex(unsigned int index) const
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
math::Error< dimension >::type Error
covariance error matrix (3x3)
virtual double vy() const
y coordinate of vertex position
const FWEventItem * item() const
const FWSecVertexCandidateProxyBuilder & operator=(const FWSecVertexCandidateProxyBuilder &)
virtual size_t numberOfDaughters() const
number of daughters
virtual double vz() const
z coordinate of vertex position
unsigned int nVertices() const
virtual ~FWSecVertexCandidateProxyBuilder()
TEveTrack * prepareCandidate(const reco::Candidate &track, TEveTrackPropagator *propagator)
static int position[264][3]
virtual double vx() const
x coordinate of vertex position
virtual const Candidate * daughter(size_type) const
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode) ...
FWSecVertexCandidateProxyBuilder()