File indexing completed on 2024-04-06 12:22:06
0001 #include "L1Trigger/TrackFindingTracklet/interface/VMStubTE.h"
0002
0003 using namespace std;
0004 using namespace trklet;
0005
0006 VMStubTE::VMStubTE(const Stub* stub, FPGAWord finephi, FPGAWord bend, FPGAWord vmbits, FPGAWord allstubindex) {
0007 stub_ = stub;
0008 finephi_ = finephi;
0009 bend_ = bend;
0010 vmbits_ = vmbits;
0011 allStubIndex_ = allstubindex;
0012 }
0013
0014 std::string VMStubTE::str() const {
0015 string stub = allStubIndex_.str();
0016 stub += "|";
0017 stub += bend_.str();
0018 stub += "|";
0019 stub += finephi_.str();
0020 stub += "|";
0021 stub += vmbits_.str();
0022
0023 return stub;
0024 }