[Rivet] dividing Profile1D histograms

Sercan Sen Sercan.Sen at cern.ch
Mon Oct 8 20:14:11 BST 2012


Hello, 

No problem with dividing two Histogram1D but is it possible to divide two Profile1D by using IHistogramFactory ? 

when I try to do this, it throws the error below.

==========
error: no matching function for call to ‘AIDA::IHistogramFactory::divide(const std::string, AIDA::IProfile1D&, AIDA::IProfile1D&)’
/afs/cern.ch/sw/lcg/external/MCGenerators_hepmc2.06.08/rivet/1.8.1/x86_64-slc5-gcc43-opt/include/LWH/AIHistogramFactory.h:47: note: candidates are: virtual AIDA::IDataPointSet* AIDA::IHistogramFactory::divide(const std::string&, const AIDA::IHistogram1D&, const AIDA::IHistogram1D&)
==========

/afs/cern.ch/sw/lcg/external/MCGenerators_hepmc2.06.08/rivet/1.8.1/x86_64-slc5-gcc43-opt/include/LWH/AIHistogramFactory.h

this has some commented lines such as,

    // virtual IDataPointSet * divide(const std::string &, const IProfile1D &,
    //                                const IProfile1D &) = 0;

Thanks, 
Sercan


More information about the Rivet mailing list