Go to the documentation of this file.
69 emToken_{consumes<L1CaloEmCollection>(ps.getParameter<
edm::InputTag>(
"emTag"))},
70 rgnPutToken_{produces<CaloRegionBxCollection>()},
71 emPutToken_{produces<CaloEmCandBxCollection>()} {}
88 for (
auto const& em : ems) {
97 regions.setBXRange(firstBx, lastBx);
99 const ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<double> >
p4(0, 0, 0, 0);
102 for (
auto const& em : ems) {
110 CaloEmCand EmCand(
p4, (
int)em.rank(), (
int)em.regionId().ieta(), (
int)em.regionId().iphi(), (
int)em.index());
112 EmCand.
setHwIso((
int)em.isolated());
120 for (
auto const& rgn : rgns) {
127 bool tauVeto = rgn.fineGrain();
128 int hwQual = (
int)tauVeto;
136 (
int)rgn.id().ieta(),
137 (
int)rgn.id().iphi(),
const edm::EDGetTokenT< L1CaloRegionCollection > rgnToken_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
L1TCaloRCTToUpgradeConverter(const edm::ParameterSet &ps)
const edm::EDPutTokenT< CaloEmCandBxCollection > emPutToken_
#define DEFINE_FWK_MODULE(type)
T getParameter(std::string const &) const
const edm::EDGetTokenT< L1CaloEmCollection > emToken_
const edm::EDPutTokenT< CaloRegionBxCollection > rgnPutToken_
void setBXRange(int bxFirst, int bxLast)
void addDefault(ParameterSetDescription const &psetDescription)
void push_back(int bx, T object)