21 std::cout <<
"CaloTower Monitor phi min/max set to " << phiMin_ <<
"/" <<
phiMax_ << std::endl;
60 "Calo tower Mean Energy vs. Eta",
79 "Calo tower Mean Energy vs. Eta",
86 "Hcal Time vs. Ecal time",
89 "Calotower Time vs. Ecal time",
92 "CaloTower Time vs. Hcal time",
95 "Hcal Energy vs. Ecal energy",
98 "Calotower Energy vs. Ecal energy",
101 "CaloTower Energy vs. Hcal energy",
102 100,0,100,100,0,100);
115 float hcalenergy[90]={0.};
116 float ecalenergy[90]={0.};
117 int etacounts[90]={0};
120 it!=calotower.
end();++it)
130 double eta=it->eta();
131 double phi=it->phi();
134 phi+=2*3.14159265359;
135 iphi = int(phi/.087)+1;
138 if (fabs(eta)<=4.716)
148 hcalenergy[ieta+42]+=it->hadEnergy();
149 ecalenergy[ieta+42]+=it->emEnergy();
150 etacounts[ieta+42]++;
183 for (
int i=0;
i<90;++
i)
185 if (etacounts[
i]==0)
continue;
196 double myeta=fabs(eta);
197 int neg=int(eta/myeta);
200 return (1+
int(myeta/.087))*neg;
206 if (fabs(eta)<=2.043)
208 if (fabs(eta)<=2.172)
210 if (fabs(eta)<=2.322)
219 if (fabs(eta)<=2.853)
221 if (fabs(eta)<=2.964)
223 if (fabs(eta)<=3.139)
226 if (fabs(eta)<=3.314)
228 if (fabs(eta)<=3.489)
230 if (fabs(eta)<=3.664)
232 if (fabs(eta)<=3.839)
234 if (fabs(eta)<=4.013)
237 if (fabs(eta)<=4.191)
239 if (fabs(eta)<=4.363)
241 if (fabs(eta)<=4.538)
243 if (fabs(eta)<=4.716)
245 if (fabs(eta)<=4.889)
247 if (fabs(eta)<=5.191)
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * time_CaloTowervsHcal
MonitorElement * hcalEnergy
MonitorElement * bookProfile(Args &&...args)
void setup(const edm::ParameterSet &ps, DQMStore::IBooker &ib)
MonitorElement * hcalEnergyMap
virtual void setup(const edm::ParameterSet &ps, DQMStore::IBooker &ib)
MonitorElement * energy_CaloTowervsHcal
MonitorElement * bookInt(Args &&...args)
std::vector< CaloTower >::const_iterator const_iterator
MonitorElement * caloTowerTime
MonitorElement * ecalOccMap
MonitorElement * hcalMeanEnergyEta
MonitorElement * caloTowerEnergy
MonitorElement * caloTowerOccMap
MonitorElement * caloTowerEnergyMap
MonitorElement * time_HcalvsEcal
MonitorElement * book1D(Args &&...args)
const_iterator end() const
MonitorElement * energy_HcalvsEcal
MonitorElement * energy_CaloTowervsEcal
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
MonitorElement * ecalEnergy
MonitorElement * caloTowerMeanEnergyEta
MonitorElement * time_CaloTowervsEcal
MonitorElement * hcalTime
MonitorElement * ecalMeanEnergyEta
MonitorElement * ecalEnergyMap
MonitorElement * ecalTime
const_iterator begin() const
MonitorElement * hcalOccMap