CMS 3D CMS Logo

VMStubTE.cc
Go to the documentation of this file.
2 
3 using namespace std;
4 using namespace trklet;
5 
6 VMStubTE::VMStubTE(const Stub* stub, FPGAWord finephi, FPGAWord bend, FPGAWord vmbits, FPGAWord allstubindex) {
7  stub_ = stub;
8  finephi_ = finephi;
9  bend_ = bend;
10  vmbits_ = vmbits;
11  allStubIndex_ = allstubindex;
12 }
13 
15  string stub = allStubIndex_.str();
16  stub += "|";
17  stub += bend_.str();
18  stub += "|";
19  stub += finephi_.str();
20  stub += "|";
21  stub += vmbits_.str();
22 
23  return stub;
24 }
#define str(s)