Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:05:23

0001 #include "DataFormats/TrajectorySeed/interface/TrajectorySeed.h"
0002 #include "DataFormats/TrackingRecHit/interface/InvalidTrackingRecHit.h"
0003 #include "DataFormats/TrackerRecHit2D/interface/SiStripMatchedRecHit2D.h"
0004 #include <vector>
0005 
0006 int main() {
0007   typedef std::vector<TrajectorySeed> TV;
0008 
0009   // absurd: just for test
0010   TrajectorySeed::RecHitContainer c;
0011   c.reserve(1000);
0012   for (int i = 0; i != 100; ++i)
0013     c.push_back(new SiStripMatchedRecHit2D);
0014 
0015   for (int j = 0; j != 100; ++j) {
0016     TV v;
0017     for (int i = 0; i != 1000; ++i)
0018       v.push_back(TrajectorySeed(PTrajectoryStateOnDet(), c, anyDirection));
0019   }
0020 
0021   return 0;
0022 }