7 : setup_(iConfig, iConsumes),
9 tokenDTPhi_(iConsumes.consumes<emtf::DTTag::digi_collection>(iConfig.getParameter<edm::
InputTag>(
"DTPhiInput"))),
11 iConsumes.consumes<emtf::DTTag::theta_digi_collection>(iConfig.getParameter<edm::
InputTag>(
"DTThetaInput"))),
12 tokenCSC_(iConsumes.consumes<emtf::CSCTag::digi_collection>(iConfig.getParameter<edm::
InputTag>(
"CSCInput"))),
13 tokenCSCComparator_(iConsumes.consumes<emtf::CSCTag::comparator_digi_collection>(
14 iConfig.getParameter<edm::
InputTag>(
"CSCComparatorInput"))),
15 tokenRPC_(iConsumes.consumes<emtf::RPCTag::digi_collection>(iConfig.getParameter<edm::
InputTag>(
"RPCInput"))),
16 tokenCPPF_(iConsumes.consumes<emtf::CPPFTag::digi_collection>(iConfig.getParameter<edm::
InputTag>(
"CPPFInput"))),
17 tokenGEM_(iConsumes.consumes<emtf::GEMTag::digi_collection>(iConfig.getParameter<edm::
InputTag>(
"GEMInput"))),
18 tokenME0_(iConsumes.consumes<emtf::ME0Tag::digi_collection>(iConfig.getParameter<edm::
InputTag>(
"ME0Input"))),
19 verbose_(iConfig.getUntrackedParameter<int>(
"verbosity")) {}
56 auto useDT =
iConfig.getParameter<
bool>(
"DTEnable");
57 auto useCSC =
iConfig.getParameter<
bool>(
"CSCEnable");
58 auto useRPC =
iConfig.getParameter<
bool>(
"RPCEnable");
59 auto useIRPC =
iConfig.getParameter<
bool>(
"IRPCEnable");
60 auto useCPPF =
iConfig.getParameter<
bool>(
"CPPFEnable");
61 auto useGEM =
iConfig.getParameter<
bool>(
"GEMEnable");
62 auto useME0 =
iConfig.getParameter<
bool>(
"ME0Enable");
68 if (useRPC && useCPPF) {
88 std::cout <<
"Num of TriggerPrimitive: " << muon_primitives.size() << std::endl;
89 for (
const auto&
p : muon_primitives) {
l1t::EMTFTrackCollection EMTFTrackCollection
void dump_fw_raw_input(const l1t::EMTFHitCollection &out_hits, const l1t::EMTFTrackCollection &out_tracks)
const edm::EDGetToken tokenCSC_
unsigned int get_pc_lut_version() const
const edm::EDGetToken tokenCPPF_
const edm::EDGetToken tokenDTPhi_
l1t::EMTFHitCollection EMTFHitCollection
PtAssignmentEngine * getPtAssignmentEngine() const
const edm::EDGetToken tokenDTTheta_
TrackFinder(const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iConsumes)
constexpr int MIN_TRIGSECTOR
const GeometryTranslator & getGeometryTranslator() const
const edm::EDGetToken tokenGEM_
unsigned get_pc_lut_version() const
unsigned int get_pc_lut_version_unchecked() const
void extractPrimitives(T tag, const GeometryTranslator *tp_geom, const edm::Event &iEvent, const edm::EDGetToken &token, TriggerPrimitiveCollection &out) const
const edm::EDGetToken tokenRPC_
const edm::ParameterSet & getConfig() const
const edm::EDGetToken tokenME0_
emtf::sector_array< SectorProcessor > sector_processors_
int get_pt_lut_version() const
unsigned get_fw_version() const
unsigned get_pt_lut_version() const
void process(const edm::Event &iEvent, const edm::EventSetup &iSetup, EMTFHitCollection &out_hits, EMTFTrackCollection &out_tracks)
constexpr int MAX_TRIGSECTOR
L1TMuon::TriggerPrimitiveCollection TriggerPrimitiveCollection
const ConditionHelper & getConditionHelper() const
void reload(const edm::Event &iEvent, const edm::EventSetup &iSetup)