26 : m_rctEmCands(consumes(iConfig.getParameter<
edm::
InputTag>(
"rctEmCandsLabel"))),
27 m_rctRegions(consumes(iConfig.getParameter<
edm::
InputTag>(
"rctRegionsLabel"))) {
32 h_emRank =
fs->make<TH1F>(
"emRank",
"emRank", 64, 0., 64.);
33 h_emIeta =
fs->make<TH1F>(
"emOccupancyIeta",
"emOccupancyIeta", 22, 0., 22.);
34 h_emIphi =
fs->make<TH1F>(
"emOccupancyIphi",
"emOccupancyIphi", 18, 0., 18.);
35 h_emIsoOccIetaIphi =
fs->make<TH2F>(
"emIsoOccupancy2D",
"emIsoOccupancy2D", 22, 0., 22., 18, 0., 18.);
38 h_regionSum =
fs->make<TH1F>(
"regionSum",
"regionSum", 100, 0., 100.);
39 h_regionSumIetaIphi =
fs->make<TH2F>(
"regionSumEtWeighted2D",
"regionSumEtWeighted2D", 22, 0., 22., 18, 0., 18.);
40 h_regionOccIetaIphi =
fs->make<TH2F>(
"regionOccupancy2D",
"regionOccupancy2D", 22, 0., 22., 18, 0., 18.);
60 for (
auto em = rctEmCands->begin(); em != rctEmCands->end(); em++) {
61 if ((*em).rank() > 0) {
63 h_emIeta->Fill((*em).regionId().ieta());
64 h_emIphi->Fill((*em).regionId().iphi());
65 if ((*em).isolated()) {
73 for (
auto rgn = rctRegions->begin(); rgn != rctRegions->end(); rgn++) {
74 if ((*rgn).et() > 0) {
static const std::string kSharedResource
void analyze(const edm::Event &, const edm::EventSetup &) override
TH2F * h_regionOccIetaIphi
~L1RCTRelValAnalyzer() override
edm::EDGetTokenT< L1CaloRegionCollection > m_rctRegions
L1RCTRelValAnalyzer(const edm::ParameterSet &)
TH2F * h_emNonIsoOccIetaIphi
edm::EDGetTokenT< L1CaloEmCollection > m_rctEmCands
TH2F * h_emIsoOccIetaIphi
TH2F * h_regionSumIetaIphi