File indexing completed on 2024-04-06 12:21:48
0001 #ifndef L1Trigger_TrackFindingTMTT_InputData_h
0002 #define L1Trigger_TrackFindingTMTT_InputData_h
0003
0004 #include "FWCore/Utilities/interface/EDGetToken.h"
0005 #include "L1Trigger/TrackFindingTMTT/interface/TP.h"
0006 #include "L1Trigger/TrackFindingTMTT/interface/TrackerModule.h"
0007 #include "L1Trigger/TrackFindingTMTT/interface/Stub.h"
0008 #include "FWCore/Framework/interface/Frameworkfwd.h"
0009 #include <list>
0010
0011 namespace tmtt {
0012
0013 class Settings;
0014 class StubWindowSuggest;
0015 class DegradeBend;
0016
0017
0018
0019
0020 class InputData {
0021 public:
0022 InputData(const edm::Event& iEvent,
0023 const edm::EventSetup& iSetup,
0024 const Settings* settings,
0025 StubWindowSuggest* stubWindowSuggest,
0026 const DegradeBend* degradeBend,
0027 const TrackerGeometry* trackerGeometry,
0028 const TrackerTopology* trackerTopology,
0029 const std::list<TrackerModule>& listTrackerModule,
0030 const edm::EDGetTokenT<TrackingParticleCollection> tpToken,
0031 const edm::EDGetTokenT<TTStubDetSetVec> stubToken,
0032 const edm::EDGetTokenT<TTStubAssMap> stubTruthToken,
0033 const edm::EDGetTokenT<TTClusterAssMap> clusterTruthToken,
0034 const edm::EDGetTokenT<reco::GenJetCollection> genJetToken);
0035
0036
0037 const std::list<TrackerModule>& trackerModules() const { return trackerModules_; };
0038
0039
0040 const std::list<TP>& getTPs() const { return vTPs_; }
0041
0042 const std::list<Stub*>& stubs() const { return vStubs_; }
0043
0044 const std::list<const Stub*>& stubsConst() const { return vStubsConst_; }
0045
0046
0047
0048
0049 const std::list<Stub>& allStubs() const { return vAllStubs_; }
0050
0051 private:
0052 bool enableMCtruth_;
0053
0054 std::list<TrackerModule> trackerModules_;
0055
0056 std::list<TP> vTPs_;
0057 std::list<Stub*> vStubs_;
0058 std::list<const Stub*> vStubsConst_;
0059
0060
0061
0062
0063 std::list<Stub> vAllStubs_;
0064
0065
0066 StubWindowSuggest* stubWindowSuggest_;
0067
0068 const DegradeBend* degradeBend_;
0069 };
0070
0071 }
0072 #endif