2 #include <StjeTrackListToStMuTrackFourVecList.h>
3 #include <StMuTrackFourVec.h>
5 #include "StjTrackListToStMuTrackFourVecListTest.hh"
12 void StjTrackListToStMuTrackFourVecListTest::setUp()
17 void StjTrackListToStMuTrackFourVecListTest::tearDown()
22 void StjTrackListToStMuTrackFourVecListTest::testOne()
29 track.eta = 1.0071259;
30 track.phi = 1.1558674;
31 tlist.push_back(track);
33 FourList flist = ttof(tlist);
34 CPPUNIT_ASSERT_EQUAL( (
size_t)1, flist.size());
36 CPPUNIT_ASSERT_DOUBLES_EQUAL( 0.7650294 , p4->pt() , 1e-5);
37 CPPUNIT_ASSERT_DOUBLES_EQUAL( 1.0071259 , p4->eta() , 1e-5);
38 CPPUNIT_ASSERT_DOUBLES_EQUAL( 1.1558674 , p4->phi() , 1e-5);
39 CPPUNIT_ASSERT_DOUBLES_EQUAL( 0.1395700 , p4->mass() , 1e-5);