38 <<
"please add it to config file";
39 iniE = tfile->
make<TH1D>(
"iniE",
"Incident Energy (GeV)", 4000, 0., em1);
40 iEta = tfile->
make<TH1D>(
"iEta",
"Eta at incidence ", 300, 0., 3.);
41 iPhi = tfile->
make<TH1D>(
"iPhi",
"Phi at incidence ", 300, -1., 1.);
42 edepS= tfile->
make<TH1D>(
"edepS",
"Energy deposit == Total",4000, 0., em1);
43 edecS= tfile->
make<TH1D>(
"edecS",
"Energy deposit == ECal ",300, -2., 28.);
44 edhcS= tfile->
make<TH1D>(
"edhcS",
"Energy deposit == HCal ",4000, 0., em2);
45 edepN= tfile->
make<TH1D>(
"edepN",
"Etot/Ebeam ", 200, -2.5, 2.5);
46 edecN= tfile->
make<TH1D>(
"edecN",
"Eecal/Ebeam ", 200, -2.5, 2.5);
47 edhcN= tfile->
make<TH1D>(
"edhcN",
"Ehcal/Ebeam ", 200, -2.5, 2.5);
48 edehS= tfile->
make<TH2D>(
"edehS",
"Hcal vs Ecal", 100,0.,em1, 100, 0.,em2);
51 tree_ = tfile->
make<TTree>(
"TB06Sim",
"TB06Sim");
52 tree_->Branch(
"eBeam_", &eBeam_,
"eBeam_/D");
80 edm::LogInfo(
"HcalTBSim") <<
"HcalTB06Histo::fillPrimary: Energy " 81 << energy <<
" Eta " << eta <<
" Phi " <<
phi;
93 edm::LogInfo(
"HcalTBSim") <<
"HcalTB06Histo:::fillEdep: Simulated Total " 94 << etots <<
" ECal " << eecals <<
" HCal " 102 edehS->Fill(eecals, ehcals);
106 std::vector<double>& etrig) {
124 edm::LogInfo(
"HcalTBSim") <<
"HcalTB06Histo:::fillTree: Energies " 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)