Dear all,
I am trying to create a RooBinomial class - please see attached files. I am using root 6.26/06 and
I have recycled as mush as I could the RooPoisson class.
When I try to compile it I get the following error:
$ root -l
root [0] gROOT->ProcessLineSync(".x RooBinomial.cxx+")
Info in <TMacOSXSystem::ACLiC>: creating shared library /Users/mbomben/work/root_macros/./RooBinomial_cxx.so
In file included from input_line_9:6:
In file included from ././RooBinomial.cxx:17:
/Users/mbomben/work/root_macros/RooBinomial.h:56:85: error: no type named 'DataMap' in namespace 'RooBatchCompute'
void computeBatch(cudaStream_t*, double* output, size_t nEvents, RooBatchCompute::DataMap&) const override;
~~~~~~~~~~~~~~~~~^
In file included from input_line_9:6:
././RooBinomial.cxx:126:103: error: no type named 'DataMap' in namespace 'RooBatchCompute'
void RooBinomial::computeBatch(cudaStream_t* stream, double* output, size_t nEvents, RooBatchCompute::DataMap& dataMap) const
~~~~~~~~~~~~~~~~~^
././RooBinomial.cxx:129:46: error: no member named 'Binomial' in namespace 'RooBatchCompute'
dispatch->compute(stream, RooBatchCompute::Binomial, output, nEvents, dataMap, {&*k,&*p,&*_norm},
~~~~~~~~~~~~~~~~~^
Error in <ACLiC>: Executing '/Users/mbomben/miniconda3/envs/root_62606/bin/rootcling -v0 "--lib-list-prefix=/Users/mbomben/work/root_macros/RooBinomial_cxx_ACLiC_map" -f "/Users/mbomben/work/root_macros/RooBinomial_cxx_ACLiC_dict.cxx" -I$ROOTSYS/include -I"/Users/mbomben/miniconda3/envs/root_62606/etc/" -I"/Users/mbomben/miniconda3/envs/root_62606/etc//cling" -I"/Users/mbomben/miniconda3/envs/root_62606/etc//cling/plugins/include" -I"/Users/mbomben/miniconda3/envs/root_62606/include/" -I"/Users/mbomben/miniconda3/envs/root_62606/include" -D__ACLIC__ -I/Users/mbomben/work/root_macros "/Users/mbomben/work/root_macros/./RooBinomial.cxx" "/Users/mbomben/work/root_macros/RooBinomial_cxx_ACLiC_linkdef.h"' failed!
(long) 0
I have looked into RooBatchCompute
but I could not find DataMap
; plus I don’t understand how
to add Binomial
in namespace 'RooBatchCompute'
Any help will be greatly appreciated
Best regards,
Marco Bomben
RooBinomial.cxx (8.6 KB)
RooBinomial.h (2.5 KB)