[Rivet-svn] r4162 - trunk/src/Analyses

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Mon Feb 18 14:56:35 GMT 2013


Author: hoeth
Date: Mon Feb 18 14:56:35 2013
New Revision: 4162

Log:
fixing parts of last commit

Modified:
   trunk/src/Analyses/LHCB_2012_I1119400.cc

Modified: trunk/src/Analyses/LHCB_2012_I1119400.cc
==============================================================================
--- trunk/src/Analyses/LHCB_2012_I1119400.cc	Mon Feb 18 14:43:54 2013	(r4161)
+++ trunk/src/Analyses/LHCB_2012_I1119400.cc	Mon Feb 18 14:56:35 2013	(r4162)
@@ -72,15 +72,15 @@
 
       // booking histograms
       for (it=_ratiotype.begin(); it!=_ratiotype.end(); it++) {
-        _h_ratio_lowpt [it->first] = Scatter2DPtr(_hepdataid[it->first], 1, 1);
-        _h_ratio_midpt [it->first] = Scatter2DPtr(_hepdataid[it->first], 1, 2);
-        _h_ratio_highpt[it->first] = Scatter2DPtr(_hepdataid[it->first], 1, 3);
-        _h_num_lowpt   [it->first] = Histo1DPtr  (_hepdataid[it->first], 1, 1, "num_l_"+it->first);
-        _h_num_midpt   [it->first] = Histo1DPtr  (_hepdataid[it->first], 1, 2, "num_m_"+it->first);
-        _h_num_highpt  [it->first] = Histo1DPtr  (_hepdataid[it->first], 1, 3, "num_h_"+it->first);
-        _h_den_lowpt   [it->first] = Histo1DPtr  (_hepdataid[it->first], 1, 1, "den_l_"+it->first);
-        _h_den_midpt   [it->first] = Histo1DPtr  (_hepdataid[it->first], 1, 2, "den_m_"+it->first);
-        _h_den_highpt  [it->first] = Histo1DPtr  (_hepdataid[it->first], 1, 3, "den_h_"+it->first);
+        _h_ratio_lowpt [it->first] = bookScatter2D(_hepdataid[it->first], 1, 1);
+        _h_ratio_midpt [it->first] = bookScatter2D(_hepdataid[it->first], 1, 2);
+        _h_ratio_highpt[it->first] = bookScatter2D(_hepdataid[it->first], 1, 3);
+        _h_num_lowpt   [it->first] = bookHisto1D  (_hepdataid[it->first], 1, 1, "num_l_"+it->first);
+        _h_num_midpt   [it->first] = bookHisto1D  (_hepdataid[it->first], 1, 2, "num_m_"+it->first);
+        _h_num_highpt  [it->first] = bookHisto1D  (_hepdataid[it->first], 1, 3, "num_h_"+it->first);
+        _h_den_lowpt   [it->first] = bookHisto1D  (_hepdataid[it->first], 1, 1, "den_l_"+it->first);
+        _h_den_midpt   [it->first] = bookHisto1D  (_hepdataid[it->first], 1, 2, "den_m_"+it->first);
+        _h_den_highpt  [it->first] = bookHisto1D  (_hepdataid[it->first], 1, 3, "den_h_"+it->first);
       }
 
       addProjection(ChargedFinalState(_eta_min, _eta_max, _pt_min*GeV), "CFS");


More information about the Rivet-svn mailing list