34 <<
mkTree_ <<
" EMax: " << em1 <<
":" << em2
42 <<
"please add it to config file";
43 iniE = tfile->
make<TH1D>(
"iniE",
"Incident Energy (GeV)", 4000, 0., em1);
44 iEta = tfile->
make<TH1D>(
"iEta",
"Eta at incidence ", 300, 0., 3.);
45 iPhi = tfile->
make<TH1D>(
"iPhi",
"Phi at incidence ", 300, -1., 1.);
46 edepS= tfile->
make<TH1D>(
"edepS",
"Energy deposit == Total",4000, 0., em1);
47 edecS= tfile->
make<TH1D>(
"edecS",
"Energy deposit == ECal ",300, -2., 28.);
48 edhcS= tfile->
make<TH1D>(
"edhcS",
"Energy deposit == HCal ",4000, 0., em2);
49 edepN= tfile->
make<TH1D>(
"edepN",
"Etot/Ebeam ", 200, -2.5, 2.5);
50 edecN= tfile->
make<TH1D>(
"edecN",
"Eecal/Ebeam ", 200, -2.5, 2.5);
51 edhcN= tfile->
make<TH1D>(
"edhcN",
"Ehcal/Ebeam ", 200, -2.5, 2.5);
52 emhcN= tfile->
make<TH1D>(
"emhcN",
"Ehcal/Ebeam MIP in Ecal", 200, -2.5, 2.5);
53 edehS= tfile->
make<TH2D>(
"edehS",
"Hcal vs Ecal", 100,0.,em1, 100, 0.,em2);
56 tree_ = tfile->
make<TTree>(
"TB06Sim",
"TB06Sim");
57 tree_->Branch(
"eBeam_", &eBeam_,
"eBeam_/D");
85 edm::LogInfo(
"HcalTBSim") <<
"HcalTB06Histo::fillPrimary: Energy " 86 << energy <<
" Eta " << eta <<
" Phi " <<
phi;
98 edm::LogInfo(
"HcalTBSim") <<
"HcalTB06Histo:::fillEdep: Simulated Total " 99 << etots <<
" ECal " << eecals <<
" HCal " 108 edehS->Fill(eecals, ehcals);
112 std::vector<double>& etrig) {
130 edm::LogInfo(
"HcalTBSim") <<
"HcalTB06Histo:::fillTree: Energies " T getParameter(std::string const &) const
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
void fillTree(std::vector< double > &ecalo, std::vector< double > &etrig)
void fillPrimary(double energy, double eta, double phi)
HcalTB06Histo(const edm::ParameterSet &ps)