本文整理汇总了C++中KVDetector::GetEIncOfMaxDeltaE方法的典型用法代码示例。如果您正苦于以下问题:C++ KVDetector::GetEIncOfMaxDeltaE方法的具体用法?C++ KVDetector::GetEIncOfMaxDeltaE怎么用?C++ KVDetector::GetEIncOfMaxDeltaE使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类KVDetector
的用法示例。
在下文中一共展示了KVDetector::GetEIncOfMaxDeltaE方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: CheckTheoreticalIdentificationThreshold
Bool_t KVIDTelescope::CheckTheoreticalIdentificationThreshold(KVNucleus* ION, Double_t EINC)
{
// Return kTRUE if energy of ION is > minimum incident energy required for identification
// This theoretical limit is defined here to be the incident energy for which the
// dE in the first detector of a dE-E telescope is maximum.
// If EINC>0 it is assumed to be the energy of the ion just before the first detector
// (case where ion would have to pass other detectors before reaching this telescope).
//
// If this is not a dE-E telescope, we return kTRUE by default.
if (GetSize() < 2) return kTRUE;
KVDetector* dEdet = GetDetector(1);
Double_t emin = dEdet->GetEIncOfMaxDeltaE(ION->GetZ(), ION->GetA());
if (EINC > 0.0) return (EINC > emin);
return (ION->GetEnergy() > emin);
}