55 void endJob()
override;
103 produces<BXVector<l1t::EGamma>>();
104 produces<BXVector<l1t::Muon>>();
105 produces<BXVector<l1t::Tau>>();
106 produces<BXVector<l1t::Jet>>();
107 produces<BXVector<l1t::EtSum>>();
113 fEgHwPt = eg_params.getUntrackedParameter<vector<int>>(
"egHwPt");
114 fEgHwPhi = eg_params.getUntrackedParameter<vector<int>>(
"egHwPhi");
115 fEgHwEta = eg_params.getUntrackedParameter<vector<int>>(
"egHwEta");
116 fEgIso = eg_params.getUntrackedParameter<vector<int>>(
"egIso");
122 fMuHwPt = mu_params.getUntrackedParameter<vector<int>>(
"muHwPt");
123 fMuHwPhi = mu_params.getUntrackedParameter<vector<int>>(
"muHwPhi");
124 fMuHwEta = mu_params.getUntrackedParameter<vector<int>>(
"muHwEta");
125 fMuIso = mu_params.getUntrackedParameter<vector<int>>(
"muIso");
131 fTauHwPt = tau_params.getUntrackedParameter<vector<int>>(
"tauHwPt");
132 fTauHwPhi = tau_params.getUntrackedParameter<vector<int>>(
"tauHwPhi");
133 fTauHwEta = tau_params.getUntrackedParameter<vector<int>>(
"tauHwEta");
134 fTauIso = tau_params.getUntrackedParameter<vector<int>>(
"tauIso");
140 fJetHwPt = jet_params.getUntrackedParameter<vector<int>>(
"jetHwPt");
141 fJetHwPhi = jet_params.getUntrackedParameter<vector<int>>(
"jetHwPhi");
142 fJetHwEta = jet_params.getUntrackedParameter<vector<int>>(
"jetHwEta");
148 fEtSumHwPt = etsum_params.getUntrackedParameter<vector<int>>(
"etsumHwPt");
149 fEtSumHwPhi = etsum_params.getUntrackedParameter<vector<int>>(
"etsumHwPhi");
155 FakeInputProducer::~FakeInputProducer() {}
163 LogDebug(
"l1t|Global") <<
"FakeInputProducer::produce function called...\n";
177 for (
unsigned int it = 0; it < fEgBx.size(); it++) {
178 ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<double>>* egLorentz =
179 new ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<double>>();
180 l1t::EGamma fakeEG(*egLorentz, fEgHwPt.at(it), fEgHwEta.at(it), fEgHwPhi.at(it), 0, fEgIso.at(it));
181 egammas->push_back(fEgBx.at(it), fakeEG);
185 for (
unsigned int it = 0; it < fMuBx.size(); it++) {
186 ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<double>>* muLorentz =
187 new ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<double>>();
188 l1t::Muon fakeMU(*muLorentz, fMuHwPt.at(it), fMuHwEta.at(it), fMuHwPhi.at(it), 4, 0, 0, fMuIso.at(it));
189 muons->push_back(fMuBx.at(it), fakeMU);
193 for (
unsigned int it = 0; it < fTauBx.size(); it++) {
194 ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<double>>* tauLorentz =
195 new ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<double>>();
196 l1t::Tau fakeTAU(*tauLorentz, fTauHwPt.at(it), fTauHwEta.at(it), fTauHwPhi.at(it), 0, fTauIso.at(it));
197 taus->push_back(fTauBx.at(it), fakeTAU);
201 for (
unsigned int it = 0; it < fJetBx.size(); it++) {
202 ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<double>>* jetLorentz =
203 new ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<double>>();
204 l1t::Jet fakeJET(*jetLorentz, fJetHwPt.at(it), fJetHwEta.at(it), fJetHwPhi.at(it), 0);
205 jets->push_back(fJetBx.at(it), fakeJET);
209 for (
unsigned int it = 0; it < fEtSumBx.size(); it++) {
210 ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<double>>* etsumLorentz =
211 new ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<double>>();
214 etsums->push_back(fEtSumBx.at(it), fakeETSUM);
228 void FakeInputProducer::endJob() {}
233 LogDebug(
"l1t|Global") <<
"FakeInputProducer::beginRun function called...\n";