JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for NEUTRINO-MC-CORE Archives


NEUTRINO-MC-CORE Archives

NEUTRINO-MC-CORE Archives


NEUTRINO-MC-CORE@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

NEUTRINO-MC-CORE Home

NEUTRINO-MC-CORE Home

NEUTRINO-MC-CORE  February 2017

NEUTRINO-MC-CORE February 2017

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: CC QEL Double differential cross sections

From:

Costas Andreopoulos <[log in to unmask]>

Reply-To:

[log in to unmask]

Date:

Thu, 16 Feb 2017 14:48:03 +0000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (1 lines)

Could be a good idea actually. He seems to know the code inside out, he is very capable technically, and he is not snubbing small tasks.

If that group could be lured to take more active role in GENIE, I have no doubt they could make substantial contribution with some of the

more complex new model development work, or the comparisons. Theorists who can code efficiently in C++. Exactly what we miss!

cheers

C.



> In the meantime, we should just go ahead and invite Igor to join GENIE. He seems like a really useful and passionate user of the code. I'm only sort of half joking here...

> 

> pax

> Gabe

> 

>> On Feb 16, 2017, at 06:49, Costas Andreopoulos <[log in to unmask]> wrote:

>> 

>> Hi GENIE

>> 

>> Please see below. The first seems particularly severe, and probably explains some oddities we

>> saw when we used the configuration with the Nieves model to compare with bubble chamber data.

>> 

>> cheers

>> C

>> 

>> Begin forwarded message:

>> 

>> From: Игорь Какорин <[log in to unmask]<mailto:[log in to unmask]>>

>> Subject: Re: CC QEL Double differential cross sections

>> Date: 12 February 2017 at 20:56:15 GMT

>> To: "Roda, Marco" <[log in to unmask]<mailto:[log in to unmask]>>

>> Cc: "[log in to unmask]<mailto:[log in to unmask]>" <[log in to unmask]<mailto:[log in to unmask]>>

>> 

>> Hello Costas and Marco,

>> 

>> I would like to report you about some bugs in Nieves models.

>> The first and the most important bug is that NievesQELCC can't generate event "antineutrino on hydrogen", because of the condition in the line 141 of the file QELEventGenerator.cxx:

>> 140  // Skip if not a nuclear target

>> 141  if(interaction->InitState<http://classgenie_1_1interaction.html/#aafa184d80e706dc606f7dd335c4065a0>().Tgt<http://classgenie_1_1initialstate.html/#a480a87f76cce1bdf36a6767528b6a330>().IsNucleus<http://classgenie_1_1target.html/#a1349533340e11f54fa62e6f12e4f1866>())

>> 

>> The case 'not a nuclar target' is not processed at all.

>> 

>> The other bugs is memory leaks. To fix them you should:

>> 1.Add the following lines in the destructor INukeHadroData::~INukeHadroData() [INukeHadroData.cxx]:

>> // p/n+p/n hA x-section splines

>> delete fXSecPp_Tot;

>> delete fXSecPp_Elas;

>> delete fXSecPp_Reac;

>> delete fXSecPn_Tot;

>> delete fXSecPn_Elas;

>> delete fXSecPn_Reac;

>> delete fXSecNn_Tot;

>> delete fXSecNn_Elas;

>> delete fXSecNn_Reac;

>> 

>> 

>> // K+A x-section fraction splines

>> delete fFracKA_Tot;

>> delete fFracKA_Elas;

>> delete fFracKA_Inel;

>> delete fFracKA_Abs;

>> 

>> 2.Add the following lines in the destructor MECHadronTensor::~MECHadronTensor() [MECHadronTensor.cxx]:

>> vector<int>::const_iterator it=fKnownTensors.begin();

>> for( ; it!=fKnownTensors.end(); ++it)

>> {

>> MECHadronTensor::MECHadronTensorTable table = fTargetTensorTables[*it];

>> for(int tensorType = 0; tensorType <= MECHadronTensor::kMHTValenciaDeltapn; ++tensorType)

>>       {

>> vector<genie::BLI2DNonUnifGrid*> Grids = table.Table[(MECHadronTensor::MECHadronTensorType_t)tensorType];

>> for (vector<genie::BLI2DNonUnifGrid*>::iterator gridit = Grids.begin() ; gridit != Grids.end(); ++gridit)

>>           {

>> genie::BLI2DNonUnifGrid *hadTensorGrid = *gridit;

>> if(hadTensorGrid)

>>                       {

>> delete hadTensorGrid;

>> hadTensorGrid=0;

>> }

>>           }

>> }

>> }

>> 

>> 3.Add the line#136 in the method void QELEventGenerator::ProcessEventRecord(GHepRecord * evrec) const [QELEventGenerator.cxx] :

>> delete interaction;

>> 

>> (before the lines:

>> LOG("QELEvent", pWARN)

>>         << "Couldn't select a valid (pF, w, Q^2) tuple after " << iter << " iterations";

>>       evrec->EventFlags()->SetBitNumber(kKineGenErr, true);

>>       genie::exceptions::EVGThreadException exception;

>>       exception.SetReason("Couldn't select kinematics");

>>       exception.SwitchOnFastForward();

>> ).

>> 

>> 

>> Could you help me, please, and give an advise how to fix bug#1 correctly. I'm not an expert in Nieves model, so I don't have an idea how do it.

>> 

>> And one more question, which INTRANUKE is better to use (more robust and tested) default one,2014 or 2015?

>> 

>> 

>> Thanks in advance!

>> 

>> 

>> Sincerly yours,

>> Igor Kakorin

>> 



Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
October 2020
September 2020
August 2020
July 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
July 2018
June 2018
May 2018
April 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
August 2016
June 2016
April 2016
March 2016
February 2016
January 2016
December 2015
April 2015
March 2015
September 2014
July 2013
June 2013
May 2013
April 2013
March 2013
September 2012


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager