StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StjTrackToTLorentzVector.cxx
1 // $Id: StjTrackToTLorentzVector.cxx,v 1.1 2008/11/27 07:09:38 tai Exp $
2 // Copyright (C) 2008 Tai Sakuma <sakuma@bnl.gov>
3 #include "StjTrackToTLorentzVector.h"
4 
5 #include <StjTrackList.h>
6 
8 
9 TLorentzVector StjTrackToTLorentzVector::operator()(const StjTrack& track)
10 {
11  TLorentzVector p4;
12  p4.SetPtEtaPhiM(track.pt, track.eta, track.phi, _mass);
13  return p4;
14 }