CMS 3D CMS Logo

buildtestMPlex.h
Go to the documentation of this file.
1 #ifndef RecoTracker_MkFitCMS_interface_buildtestMPlex_h
2 #define RecoTracker_MkFitCMS_interface_buildtestMPlex_h
3 
7 
8 #include <sys/time.h>
9 
10 namespace mkfit {
11 
12  class IterationConfig;
13  class MkBuilder;
14 
15  void runBuildingTestPlexDumbCMSSW(Event& ev, const EventOfHits& eoh, MkBuilder& builder);
16 
17  double runBuildingTestPlexBestHit(Event& ev, const EventOfHits& eoh, MkBuilder& builder);
18  double runBuildingTestPlexStandard(Event& ev, const EventOfHits& eoh, MkBuilder& builder);
19  double runBuildingTestPlexCloneEngine(Event& ev, const EventOfHits& eoh, MkBuilder& builder);
20 
21  std::vector<double> runBtpCe_MultiIter(Event& ev, const EventOfHits& eoh, MkBuilder& builder, int n);
22 
23  inline double dtime() {
24  double tseconds = 0.0;
25  struct timeval mytime;
26  gettimeofday(&mytime, (struct timezone*)nullptr);
27  tseconds = (double)(mytime.tv_sec + mytime.tv_usec * 1.0e-6);
28  return (tseconds);
29  }
30 
31 } // end namespace mkfit
32 #endif
double runBuildingTestPlexStandard(Event &ev, const EventOfHits &eoh, MkBuilder &builder)
void runBuildingTestPlexDumbCMSSW(Event &ev, const EventOfHits &eoh, MkBuilder &builder)
double runBuildingTestPlexCloneEngine(Event &ev, const EventOfHits &eoh, MkBuilder &builder)
double dtime()
std::vector< double > runBtpCe_MultiIter(Event &ev, const EventOfHits &eoh, MkBuilder &builder, int n)
double runBuildingTestPlexBestHit(Event &ev, const EventOfHits &eoh, MkBuilder &builder)