26 : rctEmCandsLabel(iConfig.getParameter<
edm::InputTag>(
"rctEmCandsLabel")),
27 rctRegionsLabel(iConfig.getParameter<
edm::InputTag>(
"rctRegionsLabel")) {
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.);
35 22, 0., 22., 18, 0., 18.);
37 "emNonIsoOccupancy2D",
"emNonIsoOccupancy2D", 22, 0., 22., 18, 0., 18.);
41 fs->
make<TH2F>(
"regionSumEtWeighted2D",
"regionSumEtWeighted2D", 22, 0.,
44 22, 0., 22., 18, 0., 18.);
61 #ifdef THIS_IS_AN_EVENT_EXAMPLE 66 #ifdef THIS_IS_AN_EVENTSETUP_EXAMPLE 68 iSetup.
get<SetupRecord>().
get(pSetup);
75 L1CaloEmCollection::const_iterator em;
76 L1CaloRegionCollection::const_iterator rgn;
81 for (em = rctEmCands->begin(); em != rctEmCands->end(); em++) {
82 if ((*em).rank() > 0) {
84 h_emIeta->Fill((*em).regionId().ieta());
85 h_emIphi->Fill((*em).regionId().iphi());
86 if ((*em).isolated()) {
88 (*em).regionId().iphi());
91 (*em).regionId().iphi());
96 for (rgn = rctRegions->begin(); rgn != rctRegions->end(); rgn++) {
97 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