1 #ifndef _Photos_h_included_
2 #define _Photos_h_included_
17 #include "PhotosParticle.h"
18 #include "PhotosRandom.h"
34 static const int VER_MAJOR=3, VER_MINOR=61;
35 static const int DAT_DAY =29, DAT_MONTH=9, DAT_YEAR=15;
38 static enum MomentumUnits { DEFAULT_MOMENTUM=-1, MEV, GEV } momentumUnit;
75 static bool IPHQRK_setQarknoEmission(
int MODCOR,
int PDGID);
94 static void setSeed(
int iseed1,
int iseed2) { PhotosRandom::setSeed(iseed1,iseed2); }
115 static void setCorrectionWtForW(
bool corr) { phokey.ifw=(int)corr; }
146 static void setStopAtCriticalError(
bool stop);
171 static void forceMass(
int pdgid,
double mass);
static vector< int > * ignoreStatusCodeList
static void setPhotonEmission(bool ifphot)
static void setPairEmission(bool ifpair)
static void IPHEKL_setPi0KLnoEmission(int m)
static bool meCorrectionWtForZ
static void maxWtInterference(double interference)
static void setMomentumUnit(MomentumUnits unit)
static bool isStatusCodeIgnored(int status)
static void forceMassFromEventRecord(int pdgid)
static vector< vector< int > * > * forceBremList
static void setInfraredCutOff(double cut_off)
static vector< vector< int > * > * supBremList
static void forceMass(int pdgid, double mass)
static void ignoreParticlesOfStatus(int status)
static bool meCorrectionWtForScalar
static void suppressBremForDecay(int count, int motherID,...)
static bool massFrom4Vector
static vector< pair< int, double > * > * forceMassList
static void forceBremForDecay(int count, int motherID,...)
static void initializeKinematicCorrections(int flag)
static double(* randomDouble)()
static void createHistoryEntries(bool flag, int status)
static void setInterference(bool interference)
static void setExponentiation(bool expo)
static void setMomentumConservationThreshold(double threshold)
static void setEventNo(int iEvt)
static void processParticle(PhotosParticle *p)
static void forceMassFrom4Vector(bool flag)
Controls the configuration and initialization of Photos.
static void setMeCorrectionWtForW(bool corr)
Abstract base class for particle in the event. This class also handles boosting.
static void forceBremForBranch(int count, int motherID,...)
static double momentum_conservation_threshold
static void processBranch(PhotosParticle *p)
static void suppressBremForBranch(int count, int motherID,...)
static void setMeCorrectionWtForScalar(bool corr)
static void setDoubleBrem(bool doub)
static void setMeCorrectionWtForZ(bool corr)
static void setTopProcessRadiation(bool top)
static void setQuatroBrem(bool quatroBrem)
static void suppressAll()
static bool meCorrectionWtForW
static void setRandomGenerator(double(*gen)())
static void setSeed(int iseed1, int iseed2)
static int historyEntriesStatus
static void deIgnoreParticlesOfStatus(int status)
static void setAlphaQED(double alpha)
static bool isCreateHistoryEntries