-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fast shower01 #2886
Fast shower01 #2886
Conversation
A new Pull Request was created by @Vlandr57 for CMSSW_6_2_X_SLHC. Fast shower01 It involves the following packages: FastSimulation/CaloHitMakers @cmsbuild, @Degano, @giamman, @lveldere, @nclopezo can you please review it and eventually sign? Thanks. |
@@ -387,7 +387,7 @@ | |||
else | |||
{ | |||
double x0=segiterator->x0FromCm(dist); | |||
if(x0<maxX0_) maxX0_=x0; | |||
if(x0>maxX0_) maxX0_=x0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, can you please comment on this change? Was the previous behaviour wrong?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change was introduced by Maxime Gouzevitch and his comment below:
This is a feature. Those lines was designed to decide if a detailed shower tail
shall be used or not. It is a question of speed vs details. It looks like in
version before a detailed shower tail was always called and the condiotion line 390
was useless. Now it allow to decide if one need or not detailed shower tail.
Florian may explain better the point why those lines have to be changed:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot.
Andrea
Andrea Giammanco
Office phone: +32 10 478185
Mobiles: +32 493 581662 (BE), +41 76 2323672 (CH), +39 349 5552471 (IT), +972 546307196 (IL)
From: Vlandr57 [notifications@github.com]
Sent: 17 March 2014 12:37
To: cms-sw/cmssw
Cc: Andrea Giammanco
Subject: Re: [cmssw] Fast shower01 (#2886)
In FastSimulation/CaloHitMakers/src/EcalHitMaker.cc:
@@ -387,7 +387,7 @@
else
{
double x0=segiterator->x0FromCm(dist);
if(x0<maxX0_) maxX0_=x0;
if(x0>maxX0_) maxX0_=x0;
This change was introduced by Maxime Gouzevitch and his comment below:
This is a feature. Those lines was designed to decide if a detailed shower tail
shall be used or not. It is a question of speed vs details. It looks like in
version before a detailed shower tail was always called and the condiotion line 390
was useless. Now it allow to decide if one need or not detailed shower tail.
Florian may explain better the point why those lines have to be changed:
—
Reply to this email directly or view it on GitHubhttps://github.com//pull/2886/files#r10652815.
+1 On Mon, 17 Mar 2014, cmsbuild wrote:
|
merge tests run with only known failures |
+1 |
Preparation for Shashlik shower in ECAL for FastSim