53 verbose_(iConfig.getParameter<
int>(
"verbose")) {
54 produces<l1t::MuonStubCollection>();
101 for (
auto& stub : stubsEndcap) {
102 if (stub.tfLayer() == 0) {
105 }
else if (stub.tfLayer() == 1) {
108 }
else if (stub.tfLayer() == 2) {
111 }
else if (stub.tfLayer() == 3) {
118 stubs.push_back(stub);
121 for (
auto& stub : stubsBarrel) {
122 if (stub.tfLayer() == 0) {
125 }
else if (stub.tfLayer() == 1) {
128 }
else if (stub.tfLayer() == 2) {
131 }
else if (stub.tfLayer() == 3) {
138 stubs.push_back(stub);
141 iEvent.put(std::make_unique<l1t::MuonStubCollection>(stubs));
153 desc.add<
int>(
"verbose", 0);
160 psd0.
add<
unsigned int>(
"verbose", 0);
161 psd0.
add<
int>(
"minBX", 0);
162 psd0.
add<
int>(
"maxBX", 0);
163 psd0.
add<
double>(
"coord1LSB", 0.02453124992);
164 psd0.
add<
double>(
"eta1LSB", 0.024586688);
165 psd0.
add<
double>(
"coord2LSB", 0.02453124992);
166 psd0.
add<
double>(
"eta2LSB", 0.024586688);
167 psd0.
add<
double>(
"phiMatch", 0.05);
168 psd0.
add<
double>(
"etaMatch", 0.1);
173 psd0.
add<
int>(
"verbose", 0);
174 psd0.
add<
int>(
"minPhiQuality", 0);
175 psd0.
add<
int>(
"minThetaQuality", 0);
176 psd0.
add<
int>(
"minBX", 0);
177 psd0.
add<
int>(
"maxBX", 0);
178 psd0.
add<
double>(
"phiLSB", 0.02453124992);
179 psd0.
add<
int>(
"phiBDivider", 16);
180 psd0.
add<
double>(
"etaLSB", 0.024586688);
181 psd0.
add<std::vector<int>>(
184 -46, -45, -43, -41, -39, -37, -35, -30, -28, -26, -23, -20, -18, -15, -9, -6, -3, -1,
185 1, 3, 6, 9, 15, 18, 20, 23, 26, 28, 30, 35, 37, 39, 41, 43, 45, 1503,
187 psd0.
add<std::vector<int>>(
190 -41, -39, -38, -36, -34, -32, -30, -26, -24, -22, -20, -18, -15, -13, -8, -5, -3, -1,
191 1, 3, 5, 8, 13, 15, 18, 20, 22, 24, 26, 30, 32, 34, 36, 38, 39, 1334,
193 psd0.
add<std::vector<int>>(
196 -35, -34, -32, -31, -29, -27, -26, -22, -20, -19, -17, -15, -13, -11, -6, -4, -2, -1,
197 1, 2, 4, 6, 11, 13, 15, 17, 19, 20, 22, 26, 27, 29, 31, 32, 34, 1148,
199 psd0.
add<std::vector<int>>(
"coarseEta_1",
205 psd0.
add<std::vector<int>>(
"coarseEta_2",
211 psd0.
add<std::vector<int>>(
"coarseEta_3",
217 psd0.
add<std::vector<int>>(
"coarseEta_4",
223 psd0.
add<std::vector<int>>(
"phiOffset",
232 descriptions.
add(
"gmtStubs",
desc);
Phase2L1TGMTStubProducer(const edm::ParameterSet &)
edm::EDGetTokenT< RPCDigiCollection > srcRPC_
L1TMuon::GeometryTranslator * translator_
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< MuonDigiCollection< CSCDetId, CSCCorrelatedLCTDigi > > srcCSC_
T const * product() const
L1TPhase2GMTEndcapStubProcessor * procEndcap_
l1t::MuonStubCollection makeStubs(const MuonDigiCollection< CSCDetId, CSCCorrelatedLCTDigi > &csc, const MuonDigiCollection< RPCDetId, RPCDigi > &rpc, const L1TMuon::GeometryTranslator *t, const edm::EventSetup &iSetup)
L1TMuon::GeometryTranslator GeometryTranslator
~Phase2L1TGMTStubProducer() override
void checkAndUpdateGeometry(const edm::EventSetup &)
void beginStream(edm::StreamID) override
ParameterDescriptionBase * add(U const &iLabel, T const &value)
std::vector< MuonStub > MuonStubCollection
void produce(edm::Event &, const edm::EventSetup &) override
void endStream() override
l1t::MuonStubCollection makeStubs(const L1Phase2MuDTPhContainer *, const L1MuDTChambThContainer *)
L1TPhase2GMTBarrelStubProcessor * procBarrel_
edm::EDGetTokenT< L1MuDTChambThContainer > srcDTTheta_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< L1Phase2MuDTPhContainer > srcDT_
A container for a generic type of digis indexed by some index, implemented with a map<IndexType...