File indexing completed on 2024-04-06 12:19:34
0001 #ifndef jhugonLCTStudies_RunSRLUTs_h
0002 #define jhugonLCTStudies_RunSRLUTs_h
0003
0004 #include <string>
0005
0006 #include "L1Trigger/CSCTrackFinder/interface/CSCSectorReceiverLUT.h"
0007 #include "DataFormats/L1CSCTrackFinder/interface/L1CSCTrackCollection.h"
0008 #include "DataFormats/L1CSCTrackFinder/interface/TrackStub.h"
0009
0010 namespace csctf_analysis
0011 {
0012 typedef std::pair<csc::L1Track, std::vector<csctf::TrackStub> > TrackAndAssociatedStubs;
0013 typedef std::vector< TrackAndAssociatedStubs > TrackAndAssociatedStubsCollection;
0014
0015 class RunSRLUTs
0016 {
0017 public:
0018
0019 RunSRLUTs();
0020
0021 virtual ~RunSRLUTs();
0022
0023 void run(std::vector<csctf::TrackStub> *stub_list);
0024
0025 void makeTrackStubs(const CSCCorrelatedLCTDigiCollection * inClcts,std::vector<csctf::TrackStub> *outStubVec);
0026
0027 void makeAssociatedTrackStubs(const L1CSCTrackCollection * inTrackColl,TrackAndAssociatedStubsCollection *outTrkStubCol);
0028
0029 private:
0030
0031 CSCSectorReceiverLUT *srLUTs_[5];
0032 };
0033 }
0034 #endif