StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMuMcVertex.cxx
1 // $Id: StMuMcVertex.cxx,v 1.2 2012/05/07 14:47:06 fisyak Exp $
2 #include "StMuMcVertex.h"
3 #include "Stiostream.h"
4 #include "TString.h"
5 #include "TMath.h"
6 ClassImp(StMuMcVertex);
7 //________________________________________________________________________________
8 ostream& operator<<(ostream& os, const StMuMcVertex& v) {
9  os << Form("Mc:%4i NoTk:%4i T:%4i",v.Id(),v.NoDaughters(),TMath::Nint(1e7*v.Time()));
10  os << Form(" xyz:%8.3f %8.3f %8.3f",v.XyzV().x(),v.XyzV().y(),v.XyzV().z());
11  return os;
12 }
13 //________________________________________________________________________________
14 void StMuMcVertex::Print(Option_t *option) const {cout << *this << endl;}
15 //________________________________________________________________________________
16 // $Log: StMuMcVertex.cxx,v $
17 // Revision 1.2 2012/05/07 14:47:06 fisyak
18 // Add handles for track to fast detector matching
19 //
20 // Revision 1.1 2011/10/17 00:19:14 fisyak
21 // Active handing of IdTruth
22 //