Changeset View
Changeset View
Standalone View
Standalone View
src/EvtGenBase/EvtCPUtil.cpp
Show All 38 Lines | EvtCPUtil::EvtCPUtil( int mixingType ) | ||||
_enableFlip = false; | _enableFlip = false; | ||||
_mixingType = mixingType; | _mixingType = mixingType; | ||||
} | } | ||||
EvtCPUtil* EvtCPUtil::getInstance() | EvtCPUtil* EvtCPUtil::getInstance() | ||||
{ | { | ||||
static EvtCPUtil* theCPUtil = nullptr; | static EvtCPUtil* theCPUtil = nullptr; | ||||
if ( theCPUtil == nullptr ) { | if ( !theCPUtil ) { | ||||
theCPUtil = new EvtCPUtil( 1 ); | theCPUtil = new EvtCPUtil( 1 ); | ||||
} | } | ||||
return theCPUtil; | return theCPUtil; | ||||
} | } | ||||
//added two functions for finding the fraction of B0 tags for decays into | //added two functions for finding the fraction of B0 tags for decays into | ||||
//both CP eigenstates and non-CP eigenstates -- NK, Jan. 27th, 1998 | //both CP eigenstates and non-CP eigenstates -- NK, Jan. 27th, 1998 | ||||
▲ Show 20 Lines • Show All 522 Lines • Show Last 20 Lines |