CMS 3D CMS Logo

TrackFinder.h
Go to the documentation of this file.
1 #ifndef L1TMuonEndCap_TrackFinder_h
2 #define L1TMuonEndCap_TrackFinder_h
3 
4 #include <memory>
5 #include <string>
6 #include <vector>
7 #include <array>
8 
13 
15 
16 
17 class TrackFinder {
18 public:
19  explicit TrackFinder(const edm::ParameterSet& iConfig, edm::ConsumesCollector&& iConsumes);
20  ~TrackFinder();
21 
22  void process(
23  // Input
24  const edm::Event& iEvent, const edm::EventSetup& iSetup,
25  // Output
26  EMTFHitCollection& out_hits,
27  EMTFTrackCollection& out_tracks
28  );
29 
30 private:
32 
34  unsigned int fw_version_;
35  unsigned int pt_lut_version_;
36  unsigned int pc_lut_version_;
37 
39 
41  std::unique_ptr<PtAssignmentEngine> pt_assign_engine_2016_;
42  std::unique_ptr<PtAssignmentEngine> pt_assign_engine_2017_;
43 
45 
47 
49 
50  int verbose_;
51 
53 
55 };
56 
57 #endif
unsigned int fw_version_
Definition: TrackFinder.h:34
bool useRPC_
Definition: TrackFinder.h:52
ConditionHelper condition_helper_
Definition: TrackFinder.h:33
GeometryTranslator geometry_translator_
Definition: TrackFinder.h:31
const edm::EDGetToken tokenCSC_
Definition: TrackFinder.h:48
bool useCSC_
Definition: TrackFinder.h:52
TrackFinder(const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iConsumes)
Definition: TrackFinder.cc:11
l1t::EMTFTrackCollection EMTFTrackCollection
Definition: Common.h:24
unsigned int pt_lut_version_
Definition: TrackFinder.h:35
int iEvent
Definition: GenABIO.cc:230
const edm::EDGetToken tokenGEM_
Definition: TrackFinder.h:48
const edm::ParameterSet config_
Definition: TrackFinder.h:46
const edm::EDGetToken tokenRPC_
Definition: TrackFinder.h:48
std::string era_
Definition: TrackFinder.h:54
l1t::EMTFHitCollection EMTFHitCollection
Definition: Common.h:20
unsigned int pc_lut_version_
Definition: TrackFinder.h:36
emtf::sector_array< SectorProcessor > sector_processors_
Definition: TrackFinder.h:44
std::array< T, NUM_SECTORS > sector_array
Definition: Common.h:66
SectorProcessorLUT sector_processor_lut_
Definition: TrackFinder.h:38
void process(const edm::Event &iEvent, const edm::EventSetup &iSetup, EMTFHitCollection &out_hits, EMTFTrackCollection &out_tracks)
Definition: TrackFinder.cc:106
std::unique_ptr< PtAssignmentEngine > pt_assign_engine_2017_
Definition: TrackFinder.h:42
std::unique_ptr< PtAssignmentEngine > pt_assign_engine_2016_
Definition: TrackFinder.h:41
bool useGEM_
Definition: TrackFinder.h:52
PtAssignmentEngine * pt_assign_engine_
Definition: TrackFinder.h:40