Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F10881758
D118.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D118.id.diff
View Options
diff --git a/History.md b/History.md
--- a/History.md
+++ b/History.md
@@ -11,6 +11,11 @@
===
## R02-0X-00
+22 May 2024 Fernando Abudinen
+* D118: Removed obsolete `ISR` attribute for photons. It was redundant as it was supposed to be
+ the contrary of the `FSR` attribute. It was never used and could lead to confusion.
+ - The `FSR` attribute is now set to 0 by default at initialisation for `EvtPhotonParticle`.
+
21 May 2024 Fernando Abudinen
* D115: Introduced Sherpa's PHOTONS++ generator
as alternative for final-state radiation simulation.
diff --git a/src/EvtGenBase/EvtPhotonParticle.cpp b/src/EvtGenBase/EvtPhotonParticle.cpp
--- a/src/EvtGenBase/EvtPhotonParticle.cpp
+++ b/src/EvtGenBase/EvtPhotonParticle.cpp
@@ -43,6 +43,7 @@
setpart_num( part_n );
setLifetime();
+ setAttribute( "FSR", 0 );
}
EvtVector4C EvtPhotonParticle::epsParentPhoton( int i ) const
diff --git a/src/EvtGenExternal/EvtPHOTOS.cpp b/src/EvtGenExternal/EvtPHOTOS.cpp
--- a/src/EvtGenExternal/EvtPHOTOS.cpp
+++ b/src/EvtGenExternal/EvtPHOTOS.cpp
@@ -213,7 +213,6 @@
gamma->setFSRP4toZero();
// Set its particle attribute to specify it is a FSR photon
gamma->setAttribute( "FSR", 1 ); // it is a FSR photon
- gamma->setAttribute( "ISR", 0 ); // it is not an ISR photon
// Let the mother know about this new photon
gamma->addDaug( theParticle );
}
diff --git a/src/EvtGenExternal/EvtSherpaPhotons.cpp b/src/EvtGenExternal/EvtSherpaPhotons.cpp
--- a/src/EvtGenExternal/EvtSherpaPhotons.cpp
+++ b/src/EvtGenExternal/EvtSherpaPhotons.cpp
@@ -287,7 +287,6 @@
gamma->init( m_gammaId, newP4 );
gamma->setFSRP4toZero();
gamma->setAttribute( "FSR", 1 );
- gamma->setAttribute( "ISR", 0 );
gamma->addDaug( theParticle );
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, May 2, 6:48 AM (7 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4968988
Default Alt Text
D118.id.diff (1 KB)
Attached To
D118: Remove obsolete ISR flag.
Event Timeline
Log In to Comment