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.);
55 #ifdef THIS_IS_AN_EVENT_EXAMPLE 57 iEvent.getByLabel(
"example", pIn);
60 #ifdef THIS_IS_AN_EVENTSETUP_EXAMPLE 62 iSetup.
get<SetupRecord>().
get(pSetup);
69 L1CaloEmCollection::const_iterator em;
70 L1CaloRegionCollection::const_iterator rgn;
75 for (em = rctEmCands->begin(); em != rctEmCands->end(); em++) {
76 if ((*em).rank() > 0) {
78 h_emIeta->Fill((*em).regionId().ieta());
79 h_emIphi->Fill((*em).regionId().iphi());
80 if ((*em).isolated()) {
88 for (rgn = rctRegions->begin(); rgn != rctRegions->end(); rgn++) {
89 if ((*rgn).et() > 0) {
void analyze(const edm::Event &, const edm::EventSetup &) override
TH2F * h_regionOccIetaIphi
~L1RCTRelValAnalyzer() override
L1RCTRelValAnalyzer(const edm::ParameterSet &)
TH2F * h_emNonIsoOccIetaIphi
edm::InputTag rctEmCandsLabel
edm::InputTag rctRegionsLabel
TH2F * h_emIsoOccIetaIphi
TH2F * h_regionSumIetaIphi