Changeset View
Changeset View
Standalone View
Standalone View
EvtGenBase/EvtPDL.hh
Show All 19 Lines | |||||
#ifndef EVTPDL_HH | #ifndef EVTPDL_HH | ||||
#define EVTPDL_HH | #define EVTPDL_HH | ||||
#include "EvtGenBase/EvtId.hh" | #include "EvtGenBase/EvtId.hh" | ||||
#include "EvtGenBase/EvtPartProp.hh" | #include "EvtGenBase/EvtPartProp.hh" | ||||
#include "EvtGenBase/EvtSpinType.hh" | #include "EvtGenBase/EvtSpinType.hh" | ||||
#include "EvtGenBase/EvtStringHash.hh" | #include "EvtGenBase/EvtStringHash.hh" | ||||
#include <iosfwd> | |||||
#include <map> | #include <map> | ||||
abudinen: Just a curiosity, why is this needed here? | |||||
#include <vector> | |||||
#include <string> | #include <string> | ||||
#include <iostream> | #include <vector> | ||||
const int SPIN_NAME_LENGTH = 100; | const int SPIN_NAME_LENGTH = 100; | ||||
class EvtPDL final { | class EvtPDL final { | ||||
public: | public: | ||||
EvtPDL(); | EvtPDL(); | ||||
void read( const std::string& fname ); | void read( const std::string& fname ); | ||||
Show All 38 Lines | public: | ||||
static void includeDecayFactor( EvtId i, bool yesno ); | static void includeDecayFactor( EvtId i, bool yesno ); | ||||
static void changeLS( EvtId i, std::string& newLS ); | static void changeLS( EvtId i, std::string& newLS ); | ||||
static void setPWForDecay( EvtId i, int spin, EvtId d1, EvtId d2 ); | static void setPWForDecay( EvtId i, int spin, EvtId d1, EvtId d2 ); | ||||
static void setPWForBirthL( EvtId i, int spin, EvtId par, EvtId othD ); | static void setPWForBirthL( EvtId i, int spin, EvtId par, EvtId othD ); | ||||
private: | private: | ||||
void setUpConstsPdt(); | void setUpConstsPdt(); | ||||
static unsigned int _firstAlias; | static unsigned int m_firstAlias; | ||||
static int _nentries; | static int m_nentries; | ||||
static std::vector<EvtPartProp>& partlist() | static std::vector<EvtPartProp>& partlist() | ||||
{ | { | ||||
static std::vector<EvtPartProp> s_partlist; | static std::vector<EvtPartProp> s_partlist; | ||||
return s_partlist; | return s_partlist; | ||||
} | } | ||||
static std::map<std::string, int> _particleNameLookup; | static std::map<std::string, int> m_particleNameLookup; | ||||
}; // EvtPDL.h | }; // EvtPDL.h | ||||
#endif | #endif |
Just a curiosity, why is this needed here?