27 : rctEmCandsLabel(iConfig.getParameter<edm::
InputTag>(
"rctEmCandsLabel")),
28 rctRegionsLabel(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.);
39 h_regionSumIetaIphi = fs->
make<TH2F>(
"regionSumEtWeighted2D",
"regionSumEtWeighted2D", 22, 0., 22., 18, 0., 18.);
55 #ifdef THIS_IS_AN_EVENT_EXAMPLE
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
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