26 rctEmCandsLabel(iConfig.getParameter<edm::InputTag>(
"rctEmCandsLabel")),
27 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. );
40 h_regionSum = fs->
make<TH1F>(
"regionSum",
"regionSum", 100, 0., 100. );
42 0., 22., 18, 0., 18. );
44 22, 0., 22., 18, 0., 18. );
66 #ifdef THIS_IS_AN_EVENT_EXAMPLE
71 #ifdef THIS_IS_AN_EVENTSETUP_EXAMPLE
73 iSetup.
get<SetupRecord>().
get(pSetup);
80 L1CaloEmCollection::const_iterator em;
81 L1CaloRegionCollection::const_iterator rgn;
86 for (em=rctEmCands->begin(); em!=rctEmCands->end(); em++)
91 h_emIeta->Fill( (*em).regionId().ieta() );
92 h_emIphi->Fill( (*em).regionId().iphi() );
96 (*em).regionId().iphi() );
101 (*em).regionId().iphi() );
106 for (rgn=rctRegions->begin(); rgn!=rctRegions->end(); rgn++){
107 if ( (*rgn).et() > 0 )
TH2F * h_regionOccIetaIphi
T * make(const Args &...args) const
make new ROOT object
virtual void analyze(const edm::Event &, const edm::EventSetup &)
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