Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F19312470
D118.1759222054.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D118.1759222054.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
Tue, Sep 30, 9:47 AM (19 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6568550
Default Alt Text
D118.1759222054.diff (1 KB)
Attached To
Mode
D118: Remove obsolete ISR flag.
Attached
Detach File
Event Timeline
Log In to Comment