Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:26:39

0001 #include "FastSimulation/Event/interface/FSimVertex.h"
0002 
0003 /// Default constructor
0004 FSimVertex::FSimVertex() : SimVertex(), mom_(nullptr), id_(-1) { ; }
0005 
0006 /// constructor from the embedded vertex index in the FBaseSimEvent
0007 FSimVertex::FSimVertex(const XYZTLorentzVector& v, int im, int id, FBaseSimEvent* mom)
0008     :  //    SimVertex(Hep3Vector(v.vect(),v.e(),im), mom_(mom), id_(id)
0009       SimVertex(v.Vect(), v.T(), im, id),
0010       mom_(mom),
0011       id_(id),
0012       position_(v) {
0013   ;
0014 }
0015 
0016 std::ostream& operator<<(std::ostream& o, const FSimVertex& t) { return o << static_cast<SimVertex const&>(t); }