Public Types | |
enum | MomentumUnits { DEFAULT_MOMENTUM =-1, MEV, GEV } |
Public Member Functions | |
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 | IPHEKL_setPi0KLnoEmission (int m) |
static bool | IPHQRK_setQarknoEmission (int MODCOR, int PDGID) |
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 | setPairEmission (bool ifpair) |
static void | setPhotonEmission (bool ifphot) |
static void | setMeCorrectionWtForScalar (bool corr) |
static void | setMeCorrectionWtForW (bool corr) |
static void | setMeCorrectionWtForZ (bool corr) |
static void | setTopProcessRadiation (bool top) |
static void | setMomentumUnit (MomentumUnits unit) |
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 | setEventNo (int iEvt) |
Static Public Attributes | |
static const int | VER_MAJOR =3 |
static const int | VER_MINOR =64 |
static const int | DAT_DAY =18 |
static const int | DAT_MONTH =2 |
static const int | DAT_YEAR =20 |
static enum Photospp::Photos::MomentumUnits | momentumUnit = Photos::DEFAULT_MOMENTUM |
static int | EventNo =0 |
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 bool | IfPair =false |
static bool | IfPhot =true |
static int | historyEntriesStatus = 3 |
static double(* | randomDouble )() = PhotosRandom::randomReal |
Private Member Functions | |
Photos (const Photos &) | |
Photos & | operator= (const Photos &) |
Static Private Attributes | |
static Photos | _instance |
enum MomentumUnits |
|
static |
If event record allows it, create history entries of particles before Photos processing
Definition at line 343 of file Photos.cxx.
References Photos::historyEntriesStatus, Photos::ignoreParticlesOfStatus(), and Photos::isCreateHistoryEntries.
|
static |
Remove 'status' from the list of ignored status codes
Definition at line 373 of file Photos.cxx.
References Photos::ignoreStatusCodeList.
|
static |
Force processing of a whole decay branch
Definition at line 286 of file Photos.cxx.
References Photos::forceBremList.
|
static |
Force processing of a single decay
Definition at line 270 of file Photos.cxx.
References Photos::forceBremList.
|
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 458 of file Photos.cxx.
References Photos::forceMassList.
|
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 155 of file Photos.h.
References Photos::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.
Definition at line 452 of file Photos.cxx.
References Photos::forceMassList.
|
static |
Ignore particles with given status code
Definition at line 356 of file Photos.cxx.
References Photos::ignoreStatusCodeList.
|
static |
Prints info on Photos initialization (reinitialization) status
Definition at line 181 of file Photos.cxx.
References Photos::IfPair, Photos::IfPhot, Photos::meCorrectionWtForScalar, Photos::meCorrectionWtForW, and Photos::meCorrectionWtForZ.
|
static |
Initalize Photos with the parameters previously set via the setter methods
Definition at line 53 of file Photos.cxx.
References Photos::IfPair, Photos::IfPhot, Photos::initializeKinematicCorrections(), Photos::IPHEKL_setPi0KLnoEmission(), Photos::maxWtInterference(), Photos::meCorrectionWtForW, Photos::meCorrectionWtForZ, Photos::setExponentiation(), and Photos::suppressBremForDecay().
|
inlinestatic |
|
static |
Block emissions id decays pi0 and K_L -> gamma e+ e- 1 = no suppression 2 (default) = suppressed emissions in K_L -> gamma e+ e- ... and all pi0 decays
Definition at line 304 of file Photos.cxx.
References Photos::forceBremForDecay(), and Photos::suppressBremForDecay().
|
static |
Returns 'true' if status code is ignored
Definition at line 387 of file Photos.cxx.
References Photos::ignoreStatusCodeList.
|
inlinestatic |
|
static |
Process decay of whole decay branch starting from given particle
Definition at line 231 of file Photos.cxx.
References PhotosBranch::createBranches(), and PhotosParticle::getDecayTree().
|
static |
Process decay of single particle
Definition at line 225 of file Photos.cxx.
References PhotosBranch::getSuppressionStatus(), and PhotosBranch::process().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
Set exponentiation mode
Definition at line 403 of file Photos.cxx.
References Photos::initializeKinematicCorrections(), Photos::setDoubleBrem(), Photos::setInfraredCutOff(), and Photos::setQuatroBrem().
|
inlinestatic |
|
inlinestatic |
|
static |
Switch for complete effects of matrix element (in scalar to 2 scalars decays)
Definition at line 435 of file Photos.cxx.
References Photos::meCorrectionWtForScalar.
|
static |
Switch for complete effects of matrix element (in leptonic W decays)
Definition at line 426 of file Photos.cxx.
References Photos::meCorrectionWtForW.
|
static |
Switch for complete effects of matrix element (in leptonic Z decays)
Definition at line 431 of file Photos.cxx.
References Photos::meCorrectionWtForZ.
|
inlinestatic |
set energy momentum conservation threshold
Definition at line 174 of file Photos.h.
References Photos::momentum_conservation_threshold.
|
inlinestatic |
|
static |
|
static |
|
inlinestatic |
|
static |
Substitute build-in generator with external one
Definition at line 397 of file Photos.cxx.
References Photos::randomDouble.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Suppress all processing. Only forced decays will be processed.
Definition at line 62 of file Photos.h.
References Photos::isSuppressed.
|
static |
Suppress processing of whole decay branch
Definition at line 254 of file Photos.cxx.
References Photos::supBremList.
|
static |
Suppress processing of a single decay
Definition at line 238 of file Photos.cxx.
References Photos::supBremList.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |