31 h_emRank = fs->
make<TH1F>(
"emRank",
"emRank", 64, 0., 64.);
32 h_emIeta = fs->
make<TH1F>(
"emOccupancyIeta",
"emOccupancyIeta", 22, 0., 22.);
33 h_emIphi = fs->
make<TH1F>(
"emOccupancyIphi",
"emOccupancyIphi", 18, 0., 18.);
38 h_regionSumIetaIphi = fs->
make<TH2F>(
"regionSumEtWeighted2D",
"regionSumEtWeighted2D", 22, 0., 22., 18, 0., 18.);
54 #ifdef THIS_IS_AN_EVENT_EXAMPLE 59 #ifdef THIS_IS_AN_EVENTSETUP_EXAMPLE 61 iSetup.
get<SetupRecord>().
get(pSetup);
68 L1CaloEmCollection::const_iterator em;
69 L1CaloRegionCollection::const_iterator rgn;
74 for (em = rctEmCands->begin(); em != rctEmCands->end(); em++) {
75 if ((*em).rank() > 0) {
77 h_emIeta->Fill((*em).regionId().ieta());
78 h_emIphi->Fill((*em).regionId().iphi());
79 if ((*em).isolated()) {
87 for (rgn = rctRegions->begin(); rgn != rctRegions->end(); rgn++) {
88 if ((*rgn).et() > 0) {
void analyze(const edm::Event &, const edm::EventSetup &) override
TH2F * h_regionOccIetaIphi
T * make(const Args &...args) const
make new ROOT object
~L1RCTRelValAnalyzer() override
L1RCTRelValAnalyzer(const edm::ParameterSet &)
TH2F * h_emNonIsoOccIetaIphi
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
edm::InputTag rctEmCandsLabel
edm::InputTag rctRegionsLabel
TH2F * h_emIsoOccIetaIphi
TH2F * h_regionSumIetaIphi