FairRoot/PandaRoot
|
#include <Photos.h>
Public Member Functions | |
Photos & | getInstance () |
Photos & | getInstance () |
Static Public Member Functions | |
static void | initialize () |
static void | iniInfo () |
static void | processParticle (PhotosParticle *p) |
static void | processBranch (PhotosParticle *p) |
static void | suppressBremForDecay (int count, int motherID,...) |
static void | suppressBremForBranch (int count, int motherID,...) |
static void | suppressAll () |
static void | forceBremForDecay (int count, int motherID,...) |
static void | forceBremForBranch (int count, int motherID,...) |
static void | createHistoryEntries (bool flag, int status) |
static void | ignoreParticlesOfStatus (int status) |
static void | deIgnoreParticlesOfStatus (int status) |
static bool | isStatusCodeIgnored (int status) |
static void | setRandomGenerator (double(*gen)()) |
static void | setSeed (int iseed1, int iseed2) |
static void | maxWtInterference (double interference) |
static void | setInfraredCutOff (double cut_off) |
static void | setAlphaQED (double alpha) |
static void | setInterference (bool interference) |
static void | setDoubleBrem (bool doub) |
static void | setQuatroBrem (bool quatroBrem) |
static void | setCorrectionWtForW (bool corr) |
static void | setExponentiation (bool expo) |
static void | setMeCorrectionWtForScalar (bool corr) |
static void | setMeCorrectionWtForW (bool corr) |
static void | setMeCorrectionWtForZ (bool corr) |
static void | setTopProcessRadiation (bool top) |
static void | setStopAtCriticalError (bool stop) |
static void | initializeKinematicCorrections (int flag) |
static void | forceMassFrom4Vector (bool flag) |
static void | forceMassFromEventRecord (int pdgid) |
static void | forceMass (int pdgid, double mass) |
static void | setMomentumConservationThreshold (double threshold) |
static void | initialize () |
static void | iniInfo () |
static void | processParticle (PhotosParticle *p) |
static void | processBranch (PhotosParticle *p) |
static void | suppressBremForDecay (int count, int motherID,...) |
static void | suppressBremForBranch (int count, int motherID,...) |
static void | suppressAll () |
static void | forceBremForDecay (int count, int motherID,...) |
static void | forceBremForBranch (int count, int motherID,...) |
static void | createHistoryEntries (bool flag, int status) |
static void | ignoreParticlesOfStatus (int status) |
static void | deIgnoreParticlesOfStatus (int status) |
static bool | isStatusCodeIgnored (int status) |
static void | setRandomGenerator (double(*gen)()) |
static void | setSeed (int iseed1, int iseed2) |
static void | maxWtInterference (double interference) |
static void | setInfraredCutOff (double cut_off) |
static void | setAlphaQED (double alpha) |
static void | setInterference (bool interference) |
static void | setDoubleBrem (bool doub) |
static void | setQuatroBrem (bool quatroBrem) |
static void | setCorrectionWtForW (bool corr) |
static void | setExponentiation (bool expo) |
static void | setMeCorrectionWtForScalar (bool corr) |
static void | setMeCorrectionWtForW (bool corr) |
static void | setMeCorrectionWtForZ (bool corr) |
static void | setTopProcessRadiation (bool top) |
static void | setStopAtCriticalError (bool stop) |
static void | initializeKinematicCorrections (int flag) |
static void | forceMassFrom4Vector (bool flag) |
static void | forceMassFromEventRecord (int pdgid) |
static void | forceMass (int pdgid, double mass) |
static void | setMomentumConservationThreshold (double threshold) |
Static Public Attributes | |
static const int | VER_MAJOR =3 |
static const int | VER_MINOR =52 |
static const int | DAT_DAY =4 |
static const int | DAT_MONTH =11 |
static const int | DAT_YEAR =12 |
static bool | isSuppressed =false |
static bool | massFrom4Vector =true |
static vector< vector< int > * > * | supBremList = 0 |
static vector< vector< int > * > * | forceBremList = 0 |
static vector< pair< int, double > * > * | forceMassList = 0 |
static vector< int > * | ignoreStatusCodeList = 0 |
static double | momentum_conservation_threshold = 0.1 |
static bool | meCorrectionWtForScalar =false |
static bool | meCorrectionWtForZ =false |
static bool | meCorrectionWtForW =false |
static bool | isCreateHistoryEntries =false |
static int | historyEntriesStatus = 3 |
static double(* | randomDouble )() = PhotosRandom::randomReal |
Private Member Functions | |
Photos () | |
~Photos () | |
Photos (const Photos &) | |
Photos & | operator= (const Photos &) |
Photos () | |
~Photos () | |
Photos (const Photos &) | |
Photos & | operator= (const Photos &) |
Static Private Attributes | |
static Photos | _instance |
|
private |
Definition at line 33 of file Photos.cxx.
References phokey_, setAlphaQED(), setCorrectionWtForW(), setDoubleBrem(), setInfraredCutOff(), setInterference(), setQuatroBrem(), and setTopProcessRadiation().
|
private |
|
private |
|
inlineprivate |
Definition at line 198 of file 3.52/src/photosCInterfaces/Photos.h.
|
private |
|
static |
If event record allows it, create history entries of particles before Photos processing
Definition at line 289 of file Photos.cxx.
References historyEntriesStatus, ignoreParticlesOfStatus(), isCreateHistoryEntries, status, and Photospp::Log::Warning().
|
static |
If event record allows it, create history entries of particles before Photos processing
|
static |
Remove 'status' from the list of ignored status codes
|
static |
Remove 'status' from the list of ignored status codes
Definition at line 319 of file Photos.cxx.
References i, and ignoreStatusCodeList.
|
static |
Force processing of a whole decay branch
Definition at line 273 of file Photos.cxx.
References count, forceBremList, i, and v.
|
static |
Force processing of a whole decay branch
|
static |
Force processing of a single decay
|
static |
Force processing of a single decay
Definition at line 257 of file Photos.cxx.
References count, forceBremList, i, and v.
|
static |
When particles with PDGID and -PDGID will be processed by Photos, their mass value will be given by user instead of being calculated from 4-vector.
This works only if 'forceMassFrom4Vector' is set to 'true' (default) This routine may be executed several times with different PDGID values.
Definition at line 394 of file Photos.cxx.
References forceMassList, and Photospp::Log::Warning().
|
static |
When particles with PDGID and -PDGID will be processed by Photos, their mass value will be given by user instead of being calculated from 4-vector.
This works only if 'forceMassFrom4Vector' is set to 'true' (default) This routine may be executed several times with different PDGID values.
|
inlinestatic |
Force mass value to be sqrt(e^2-p^2) for all particle momenta taken from event record. May be important for numerical stability. May lead to faulty results due to rounding errors for hiper-relativistic electron, for example.
Definition at line 131 of file 3.52/src/photosCInterfaces/Photos.h.
References massFrom4Vector.
|
inlinestatic |
Force mass value to be sqrt(e^2-p^2) for all particle momenta taken from event record. May be important for numerical stability. May lead to faulty results due to rounding errors for hiper-relativistic electron, for example.
Definition at line 131 of file Photos.h.
References massFrom4Vector.
|
static |
When particles with PDGID and -PDGID will be processed by Photos, their mass value will be taken from event record instead of being calculated from 4-vector.
This works only if 'forceMassFrom4Vector' is set to 'true' (default) This routine may be executed several times with different PDGID values.
|
static |
When particles with PDGID and -PDGID will be processed by Photos, their mass value will be taken from event record instead of being calculated from 4-vector.
This works only if 'forceMassFrom4Vector' is set to 'true' (default) This routine may be executed several times with different PDGID values.
Definition at line 388 of file Photos.cxx.
References forceMassList.
|
inline |
Get instance of Photos
Definition at line 193 of file 3.52/src/photosCInterfaces/Photos.h.
References _instance.
|
inline |
|
static |
Ignore particles with given status code
Definition at line 302 of file Photos.cxx.
References i, ignoreStatusCodeList, and Photospp::Log::Warning().
Referenced by createHistoryEntries().
|
static |
Ignore particles with given status code
|
static |
Prints info on Photos initialization (reinitialization) status
Definition at line 170 of file Photos.cxx.
References meCorrectionWtForScalar, meCorrectionWtForW, meCorrectionWtForZ, phocop_, and phokey_.
|
static |
Prints info on Photos initialization (reinitialization) status
|
static |
Initalize Photos with the parameters previously set via the setter methods
Definition at line 48 of file Photos.cxx.
References DAT_DAY, DAT_MONTH, DAT_YEAR, i, Photospp::PhotosRandom::initialize(), initializeKinematicCorrections(), iphekl_(), iphqrk_(), maxWtInterference(), meCorrectionWtForW, meCorrectionWtForZ, phocop_, phokey_, pholun_, phosta_, phpico_, setExponentiation(), suppressBremForDecay(), VER_MAJOR, and VER_MINOR.
|
static |
Initalize Photos with the parameters previously set via the setter methods
|
inlinestatic |
Initialize kinematic corrections
Definition at line 125 of file 3.52/src/photosCInterfaces/Photos.h.
References phcork_().
|
inlinestatic |
Initialize kinematic corrections
Definition at line 125 of file Photos.h.
References phcork_().
Referenced by initialize(), and setExponentiation().
|
static |
Returns 'true' if status code is ignored
Definition at line 333 of file Photos.cxx.
References i, and ignoreStatusCodeList.
Referenced by Photospp::PhotosHepMCParticle::checkMomentumConservation(), and Photospp::PhotosHepMCParticle::getDaughters().
|
static |
Returns 'true' if status code is ignored
|
inlinestatic |
|
inlinestatic |
Maximum interference weight
Definition at line 82 of file 3.52/src/photosCInterfaces/Photos.h.
References phokey_.
|
static |
Process decay of whole decay branch starting from given particle
Definition at line 218 of file Photos.cxx.
References Photospp::PhotosBranch::createBranches(), Photospp::PhotosParticle::getDecayTree(), and i.
|
static |
Process decay of whole decay branch starting from given particle
|
static |
Process decay of single particle
|
static |
Process decay of single particle
Definition at line 212 of file Photos.cxx.
References b, Photospp::PhotosBranch::getSuppressionStatus(), and Photospp::PhotosBranch::process().
|
inlinestatic |
|
inlinestatic |
Coupling constant alpha QED
Definition at line 88 of file 3.52/src/photosCInterfaces/Photos.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 100 of file 3.52/src/photosCInterfaces/Photos.h.
References phokey_.
|
inlinestatic |
|
inlinestatic |
Set double bremsstrahlung generation
Definition at line 94 of file 3.52/src/photosCInterfaces/Photos.h.
References phokey_.
|
static |
Set exponentiation mode
Definition at line 349 of file Photos.cxx.
References initializeKinematicCorrections(), phokey_, setDoubleBrem(), setInfraredCutOff(), and setQuatroBrem().
Referenced by initialize().
|
static |
Set exponentiation mode
|
inlinestatic |
Minimal energy (in units of decaying particle mass) for photons to be explicitly generated
Definition at line 85 of file 3.52/src/photosCInterfaces/Photos.h.
References phocop_.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Key for interference, matrix element weight
Definition at line 91 of file 3.52/src/photosCInterfaces/Photos.h.
References phokey_.
|
static |
Switch for complete effects of matrix element (in scalar to 2 scalars decays)
|
static |
Switch for complete effects of matrix element (in scalar to 2 scalars decays)
Definition at line 371 of file Photos.cxx.
References corr, and meCorrectionWtForScalar.
|
static |
Switch for complete effects of matrix element (in leptonic W decays)
Definition at line 362 of file Photos.cxx.
References corr, and meCorrectionWtForW.
|
static |
Switch for complete effects of matrix element (in leptonic W decays)
|
static |
Switch for complete effects of matrix element (in leptonic Z decays)
Definition at line 367 of file Photos.cxx.
References corr, and meCorrectionWtForZ.
|
static |
Switch for complete effects of matrix element (in leptonic Z decays)
|
inlinestatic |
set energy momentum conservation threshold
Definition at line 150 of file Photos.h.
References momentum_conservation_threshold, and threshold.
|
inlinestatic |
set energy momentum conservation threshold
Definition at line 150 of file 3.52/src/photosCInterfaces/Photos.h.
References momentum_conservation_threshold, and threshold.
|
inlinestatic |
|
inlinestatic |
Set bremsstrahlung generation up to multiplicity of 4
Definition at line 97 of file 3.52/src/photosCInterfaces/Photos.h.
References phokey_.
|
static |
Substitute build-in generator with external one
|
static |
Substitute build-in generator with external one
Definition at line 343 of file Photos.cxx.
References randomDouble, and Photospp::PhotosRandom::randomReal().
|
inlinestatic |
Seed for RANMAR used by fortran part of the Photos
Definition at line 79 of file 3.52/src/photosCInterfaces/Photos.h.
References Photospp::PhotosRandom::setSeed().
|
inlinestatic |
Seed for RANMAR used by fortran part of the Photos
Definition at line 79 of file Photos.h.
References Photospp::PhotosRandom::setSeed().
|
static |
|
static |
Definition at line 376 of file Photos.cxx.
References Photospp::Log::Info(), and phosta_.
|
inlinestatic |
Set photon emission in top pair production in quark (gluon) pair annihilation
Definition at line 115 of file 3.52/src/photosCInterfaces/Photos.h.
References phokey_.
|
inlinestatic |
|
inlinestatic |
Suppress all processing. Only forced decays will be processed.
Definition at line 54 of file 3.52/src/photosCInterfaces/Photos.h.
References isSuppressed.
|
inlinestatic |
Suppress all processing. Only forced decays will be processed.
Definition at line 54 of file Photos.h.
References isSuppressed.
|
static |
Suppress processing of whole decay branch
|
static |
Suppress processing of whole decay branch
Definition at line 241 of file Photos.cxx.
References count, i, supBremList, and v.
|
static |
Suppress processing of a single decay
|
static |
Suppress processing of a single decay
Definition at line 225 of file Photos.cxx.
References count, i, supBremList, and v.
Referenced by initialize().
|
staticprivate |
Definition at line 201 of file Photos.h.
Referenced by getInstance().
|
static |
Definition at line 32 of file Photos.h.
Referenced by initialize().
|
static |
Definition at line 32 of file Photos.h.
Referenced by initialize().
|
static |
Definition at line 32 of file Photos.h.
Referenced by initialize().
|
static |
List of forced decays
Definition at line 163 of file Photos.h.
Referenced by Photospp::PhotosBranch::checkList(), Photospp::PhotosBranch::createBranches(), forceBremForBranch(), and forceBremForDecay().
|
static |
List of forced mass values
Definition at line 166 of file Photos.h.
Referenced by forceMass(), and forceMassFromEventRecord().
|
static |
Status of history entries
Definition at line 187 of file Photos.h.
Referenced by createHistoryEntries(), and Photospp::PhotosHepMCParticle::createHistoryEntry().
|
static |
List of ignored status codes
Definition at line 169 of file Photos.h.
Referenced by deIgnoreParticlesOfStatus(), ignoreParticlesOfStatus(), and isStatusCodeIgnored().
|
static |
Flag for creating historic entries
Definition at line 184 of file Photos.h.
Referenced by createHistoryEntries().
|
static |
Is in suppressed mode
Definition at line 154 of file Photos.h.
Referenced by Photospp::PhotosBranch::createBranches(), and suppressAll().
|
static |
Is mass from 4-vector or from event record
Definition at line 157 of file Photos.h.
Referenced by forceMassFrom4Vector().
|
static |
Flag for complete effects of matrix element (in scalars decays)
Definition at line 175 of file Photos.h.
Referenced by iniInfo(), and setMeCorrectionWtForScalar().
|
static |
Flag for complete effects of matrix element (in leptonic W decays)
Definition at line 181 of file Photos.h.
Referenced by iniInfo(), initialize(), and setMeCorrectionWtForW().
|
static |
Flag for complete effects of matrix element (in leptonic Z decays)
Definition at line 178 of file Photos.h.
Referenced by iniInfo(), initialize(), and setMeCorrectionWtForZ().
|
static |
Threshold for momentum conservation check
Definition at line 172 of file Photos.h.
Referenced by Photospp::PhotosHepMCParticle::checkMomentumConservation(), and setMomentumConservationThreshold().
|
static |
Pointer to random generator function
Definition at line 190 of file Photos.h.
Referenced by Photospp::phoranc_(), and setRandomGenerator().
|
static |
List of suppressed decays
Definition at line 160 of file Photos.h.
Referenced by Photospp::PhotosBranch::checkList(), suppressBremForBranch(), and suppressBremForDecay().
|
static |
Definition at line 31 of file Photos.h.
Referenced by initialize().
|
static |
Definition at line 31 of file Photos.h.
Referenced by initialize().