26 iniE(0), iEta(0), iPhi(0), edepS(0), edecS(0), edhcS(0), edehS(0) {
37 <<
"please add it to config file";
38 iniE = tfile->
make<TH1D>(
"iniE",
"Incident Energy (GeV)", 4000, 0., em1);
39 iEta = tfile->
make<TH1D>(
"iEta",
"Eta at incidence ", 300, 0., 3.);
40 iPhi = tfile->
make<TH1D>(
"iPhi",
"Phi at incidence ", 300, -1., 1.);
41 edepS= tfile->
make<TH1D>(
"edepS",
"Energy deposit == Total",4000, 0., em1);
42 edecS= tfile->
make<TH1D>(
"edecS",
"Energy deposit == ECal ",4000, 0., em1);
43 edhcS= tfile->
make<TH1D>(
"edhcS",
"Energy deposit == HCal ",4000, 0., em2);
44 edehS= tfile->
make<TH2D>(
"edehS",
"Hcal vs Ecal", 100,0.,em1, 100, 0.,em2);
55 LogDebug(
"HcalTBSim") <<
"HcalTB06Histo::fillPrimary: Energy "
56 << energy <<
" Eta " << eta <<
" Phi " <<
phi;
64 LogDebug(
"HcalTBSim") <<
"HcalTB06Histo:::fillEdep: Simulated Total "
65 << etots <<
" ECal " << eecals <<
" HCal " << ehcals;
69 edehS->Fill(eecals, ehcals);
T getUntrackedParameter(std::string const &, T const &) const
void fillEdep(double etots, double eecals, double ehcals)
T * make(const Args &...args) const
make new ROOT object
Geom::Phi< T > phi() const
void fillPrimary(double energy, double eta, double phi)
HcalTB06Histo(const edm::ParameterSet &ps)