← Back to team overview

kaliveda-dev team mailing list archive

[Blueprint ecode-e-gt-csimax] Particles with Ecsi > EmaxCsI have special ecode

 

Blueprint changed by John Frankland:

Whiteboard set to:
void KVINDRAReconNuc::CheckCsIEnergy()
{
	// Check calculated CsI energy loss of particle.
	// If it is greater than the maximum theoretical energy loss
	// (depending on the length of CsI, the Z & A of the particle)
	// we set the energy calibration code to kECode3 (historical VEDA code
	// for particles with E_csi > E_max_csi)
	
	KVDetector* csi = GetCsI();
	if(csi && (csi->GetEnergy() > csi->GetMaxDeltaE(GetZ(), GetA()))) SetECode(kECode3);
}

-- 
Particles with Ecsi > EmaxCsI have special ecode
https://blueprints.launchpad.net/kaliveda/+spec/ecode-e-gt-csimax