Dear Experts,
I’ve tried on my MAC the RooClassFactory.h in place of RooGenericPdf.h
The code compiles, but when I try to run it I get the following message:
Can you please help me to figure this out ?
Many thanks,
- Mauro.
[ExtractYield::MakeAngWithEffPDF] @@@ 2D angularefficiency p.d.f. @@@
(9/16 * (2/3((FsS) + (AsS20.89sqrt(3(FsS)(1-(FsS))(1/2 + TMath::ATan(FlS)/TMath::Pi())))CosThetaKArb) * (1-CosThetaMuArbCosThetaMuArb) + (1-(FsS)) * (2*(1/2 + TMath::ATan(FlS)/TMath::Pi())CosThetaKArbCosThetaKArb * (1-CosThetaMuArbCosThetaMuArb) + 1/2(1-(1/2 + TMath::ATan(FlS)/TMath::Pi())) * (1-CosThetaKArbCosThetaKArb) * (1+CosThetaMuArbCosThetaMuArb) + 4/3*(3/4*(1 - (1/2 + TMath::ATan(FlS)/TMath::Pi())) * 2TMath::ATan(AfbS)/TMath::Pi()) * (1-CosThetaKArbCosThetaKArb) * CosThetaMuArb))) * ((P0 + P1CosThetaKArb + P2CosThetaKArbCosThetaKArb + P3CosThetaKArbCosThetaKArbCosThetaKArb) + (P4 + P5CosThetaKArb + P6CosThetaKArbCosThetaKArb + P7CosThetaKArbCosThetaKArbCosThetaKArb) * CosThetaMuArb + (P8 + P9CosThetaKArb + P10CosThetaKArbCosThetaKArb + P11CosThetaKArbCosThetaKArbCosThetaKArb) * CosThetaMuArbCosThetaMuArb + (P12 + P13CosThetaKArb + P14CosThetaKArbCosThetaKArb + P15CosThetaKArbCosThetaKArbCosThetaKArb) * CosThetaMuArbCosThetaMuArbCosThetaMuArb + (P16 + P17CosThetaKArb + P18CosThetaKArbCosThetaKArb + P19CosThetaKArbCosThetaKArbCosThetaKArb) * CosThetaMuArbCosThetaMuArbCosThetaMuArbCosThetaMuArb + (P20 + P21CosThetaKArb + P22CosThetaKArbCosThetaKArb + P23CosThetaKArbCosThetaKArbCosThetaKArb) * CosThetaMuArbCosThetaMuArbCosThetaMuArbCosThetaMuArbCosThetaMuArb)
Info in TMacOSXSystem::ACLiC: creating shared library /Users/dinardo/Documents/MyDocuments/CMS/PhysicsAnalysis/B0Analysis/B0KstMuMu/plugins/RooAngleSPdf_cxx.so
ld: can’t link with bundle (MH_BUNDLE) only dylibs (MH_DYLIB) file ‘/System/Library/Extensions/AppleIntelHD5000GraphicsGLDriver.bundle/Contents/MacOS/AppleIntelHD5000GraphicsGLDriver’ for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error in : Compilation failed!
*** Break *** segmentation violation
Generating stack trace…
0x000000010e22c636 in RooClassFactory::makePdfInstance(char const*, char const*, char const*, RooArgList const&, char const*) (in libRooFitCore.so) (RooClassFactory.cxx:332)
0x000000010e22c587 in RooClassFactory::makePdfInstance(char const*, char const*, RooArgList const&, char const*) (in libRooFitCore.so) (RooClassFactory.cxx:293)
0x000000010c2cbc72 in MakeAngWithEffPDF(TF2*, RooRealVar*, RooRealVar*, unsigned int, bool, RooArgSet*, RooArgSet*, std::__1::vector<double, std::__1::allocator >, int, bool) (in ExtractYield) + 9426
0x000000010c31e60c in InstantiateMass2AnglesFit(RooAbsPdf**, bool, RooRealVar, RooRealVar*, RooRealVar*, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, unsigned int, std::__1::vecto
0x000000010c33a09d in IterativeMass2AnglesFitq2Bins(RooDataSet*, bool, double, double, double, RooRealVar*, RooRealVar*, RooRealVar*, int, unsigned int, std::__1::vector<TH1D*, std::__1::allocator<TH1D*> >*, std::__1::vect
0x000000010c346b30 in main (in ExtractYield) + 26096
0x00007fff93ec7255 in start (in libdyld.dylib) + 1
OS version: 10.12.1
clang version:
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin16.1.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin