3std::map<string, double> parityC::_parityCMap_;
7 string location = getenv(
"BESEVTGENROOT");
8 location +=
"/share/_parityC.list_";
10 cout<<
"The _parity.list_ location is "<<location<<endl;
12 ifstream file(location.c_str());
15 if(file==0){cout<<
" parity::readParity: No particle parity list are available"<<endl;abort();}
18 pair<string, double>
prt(parname,pval);
22 _parityCMap_.insert(
prt);
28 thepar = _parityCMap_[parname];
static void readParityC()
static double getC(string parname)