Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://theory.sinp.msu.ru/pipermail/comphep-common/2009/000147.html
Дата изменения: Thu Apr 18 22:50:41 2013 Дата индексирования: Fri Feb 28 06:34:39 2014 Кодировка: |
-------- Original Message -------- Subject: Re: [Comphep-devel] Fwd: [Comphep-common] transverse mass Date: Sat, 22 Aug 2009 12:08:29 +0100 From: Alexander Sherstnev <a.sherstnev1 at physics.ox.ac.uk> To: Shao-Feng Ge <gesf02 at mails.tsinghua.edu.cn> CC: comphep-devel <comphep-devel at theory.sinp.msu.ru> Dear Shao-Feng, yes, the transverse mass is not a built-in variable in CompHEP (you can look at them by pressing F1 if you in the edit mode of the CompHEP cut table). So, you have to define it in userFun.c in your _working directory_, not in your CompHEP installation area. There is a couple of subtleties concerning the definition. You have to call the new variable with the predefined first letter - U, for example, Umt or Utrm, etc. The name is used in the CompHEP cut table, but in your code in file userFun.c the first letter is omitted. It means in the file you have variables "mt" and "trm". As soon as you write the code in userFun.c, execute "make" in the directory results in order re-link n_comphep.exe Best regards, Alexander. > -------- Original Message -------- > Subject: [Comphep-common] transverse mass > Date: Sat, 22 Aug 2009 06:28:03 +0800 (CST) > From: Shao-Feng Ge<gesf02 at mails.tsinghua.edu.cn> > Reply-To: gesf02 at mails.thu.edu.cn > To: comphep-common at theory.sinp.msu.ru > > > Hi everyone; > > I'm trying to add cuts on transverse mass and also plot it's distribution. > But I found that this kinematic function is not incorporated in CompHEP. > I'm wondering if any one of you has tried this before. I tried to add this > function. But it seems the manual is too old. I followed the corresponding > instruction but it doesn't work. > > I want to know which source file I should modify. There are two usrFun.c > files. > One in the working directory and the other in the installation directory. > That would be great if anyone of you can provide me an example or useful > manual. The version I'm using is 4.4p3-gcc411. > > Thanks! > > Shao-Feng > > > > > > > _______________________________________________ > Comphep-common mailing list > Comphep-common at theory.sinp.msu.ru > http://theory.sinp.msu.ru/mailman/listinfo/comphep-common > _______________________________________________ > Comphep-devel mailing list > Comphep-devel at theory.sinp.msu.ru > http://theory.sinp.msu.ru/mailman/listinfo/comphep-devel > -- Alexander Sherstnev, R.Peierls Centre for Theoretical Physics, University of Oxford, and SINP, Moscow State University http://www-thphys.physics.ox.ac.uk/people/AlexanderSherstnev/ _______________________________________________ Comphep-devel mailing list Comphep-devel at theory.sinp.msu.ru http://theory.sinp.msu.ru/mailman/listinfo/comphep-devel