StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
RunJetFinderTest.hh
1 // Copyright (C) 2008 Tai Sakuma <sakuma@bnl.gov>
2 #ifndef RUNJETFINDERTEST_HH
3 #define RUNJETFINDERTEST_HH
4 
5 #include <cppunit/extensions/HelperMacros.h>
6 
7 class RunJetFinderTest : public CPPUNIT_NS::TestFixture
8 {
9  CPPUNIT_TEST_SUITE( RunJetFinderTest );
10  CPPUNIT_TEST( testRun );
11  // CPPUNIT_TEST( testRunRepeat );
12  CPPUNIT_TEST_SUITE_END();
13 
14 public:
15  void setUp();
16  void tearDown();
17 
18  void testRun();
19  void testRunRepeat();
20 
21 private:
22 
23  StjFourVecList createFourVecList();
24  StjFourVec createFourVec(int runNumber, int eventId,
25  int fourvecId, int type, int detectorId, short trackId, int towerId, int mcparticleId,
26  double pt, double eta, double phi, double m,
27  double vertexZ);
28 
29  StjJetList createJetList();
30 
31  StjJet createJet(int runNumber, int eventId,
32  int jetId,
33  double pt, double eta, double phi, double m,
34  double neuRt,
35  double vertexZ, double detectorEta,
36  const StjFourVecList& fourVecList);
37 
38 };
39 
40 
41 #endif // RUNJETFINDERTEST_HH