Skip to content

Commit

Permalink
Add RooFunctorPdfBinding for lining at JLAB
Browse files Browse the repository at this point in the history
  • Loading branch information
dglazier committed Jan 21, 2021
1 parent 4274604 commit 69f3450
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/EIC_JPAC_X3872.C
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void EIC_JPAC_X3872(string ampPar="high",double ebeamE = 5, double pbeamE = 41,
generator().SetNEvents_via_LuminosityTime(lumi,24*60*60*nDays);
//or can just do generator().SetNEvents(1E6);
auto fastIntegral=production->IntegrateCrossSectionFast();
std::cout<<" check fast cross section "<<fastIntegral<<std::endl;
std::cout<<" check fast cross section "<<fastIntegral<<std::endl;
// ---------------------------------------------------------------------------
// Generate events
// ---------------------------------------------------------------------------
Expand Down
4 changes: 4 additions & 0 deletions examples/Load.C
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ using namespace jpacPhoto;


void Load(){

RooFunctorPdfBinding forLinkingatJLAB; //not sure why, but will not load without this on ifarm...


gSystem->Load("libEG");

TString JPAC = gSystem->Getenv("JPACPHOTO");
Expand Down

0 comments on commit 69f3450

Please sign in to comment.