21 std::cout <<
"CaloTower Monitor phi min/max set to " << phiMin_ <<
"/" <<
phiMax_ << std::endl;
62 "Calo tower Mean Energy vs. Eta",
81 "Calo tower Mean Energy vs. Eta",
88 "Hcal Time vs. Ecal time",
91 "Calotower Time vs. Ecal time",
94 "CaloTower Time vs. Hcal time",
97 "Hcal Energy vs. Ecal energy",
100 "Calotower Energy vs. Ecal energy",
101 100,0,100,100,0,100);
103 "CaloTower Energy vs. Hcal energy",
104 100,0,100,100,0,100);
115 if(
fVerbosity)
std::cout <<
"<HcalCaloTowerMonitor::processEvent> DQMStore not instantiated!!!\n";
123 float hcalenergy[90]={0.};
124 float ecalenergy[90]={0.};
125 int etacounts[90]={0};
128 it!=calotower.
end();++it)
138 double eta=it->eta();
139 double phi=it->phi();
142 phi+=2*3.14159265359;
143 iphi = int(phi/.087)+1;
146 if (fabs(eta)<=4.716)
156 hcalenergy[ieta+42]+=it->hadEnergy();
157 ecalenergy[ieta+42]+=it->emEnergy();
158 etacounts[ieta+42]++;
191 for (
int i=0;
i<90;++
i)
193 if (etacounts[
i]==0)
continue;
204 double myeta=fabs(eta);
205 int neg=int(eta/myeta);
208 return (1+
int(myeta/.087))*neg;
214 if (fabs(eta)<=2.043)
216 if (fabs(eta)<=2.172)
218 if (fabs(eta)<=2.322)
227 if (fabs(eta)<=2.853)
229 if (fabs(eta)<=2.964)
231 if (fabs(eta)<=3.139)
234 if (fabs(eta)<=3.314)
236 if (fabs(eta)<=3.489)
238 if (fabs(eta)<=3.664)
240 if (fabs(eta)<=3.839)
242 if (fabs(eta)<=4.013)
245 if (fabs(eta)<=4.191)
247 if (fabs(eta)<=4.363)
249 if (fabs(eta)<=4.538)
251 if (fabs(eta)<=4.716)
253 if (fabs(eta)<=4.889)
255 if (fabs(eta)<=5.191)
void setup(const edm::ParameterSet &ps, DQMStore *dbe)
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * time_CaloTowervsHcal
MonitorElement * hcalEnergy
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
MonitorElement * hcalEnergyMap
MonitorElement * energy_CaloTowervsHcal
std::vector< CaloTower >::const_iterator const_iterator
MonitorElement * caloTowerTime
MonitorElement * ecalOccMap
MonitorElement * hcalMeanEnergyEta
MonitorElement * caloTowerEnergy
MonitorElement * caloTowerOccMap
MonitorElement * caloTowerEnergyMap
MonitorElement * time_HcalvsEcal
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
const_iterator end() const
MonitorElement * energy_HcalvsEcal
MonitorElement * energy_CaloTowervsEcal
MonitorElement * ecalEnergy
MonitorElement * caloTowerMeanEnergyEta
MonitorElement * time_CaloTowervsEcal
MonitorElement * hcalTime
MonitorElement * ecalMeanEnergyEta
MonitorElement * bookInt(const char *name)
Book int.
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
MonitorElement * ecalEnergyMap
void setCurrentFolder(const std::string &fullpath)
MonitorElement * ecalTime
const_iterator begin() const
virtual void setup(const edm::ParameterSet &ps, DQMStore *dbe)
MonitorElement * hcalOccMap