//_____________________________________________________________________________________ void KVPhoswich::SetEnergy(Double_t e) { //Set energy lost in both layers GetAbsorber(0)->SetEnergyLoss(e / 2.); GetAbsorber(1)->SetEnergyLoss(e / 2.); }
//___________________________________________________________________________________ Double_t KVPhoswich::GetEnergy() { //Override KVDetector::GetEnergy to return total energy lost in both layers return (GetAbsorber(0)->GetEnergyLoss() + GetAbsorber(1)->GetEnergyLoss()); }
void KVBIC::SetPressure(Float_t x) { //Changes pressure of all 3 gas-filled zones in the BIC GetAbsorber(1)->SetPressure(x); GetAbsorber(3)->SetPressure(x); GetAbsorber(5)->SetPressure(x); }
void KVBIC::SetTemperature(Double_t x) { //Changes temperature of all 3 gas-filled zones in the BIC GetAbsorber(1)->SetTemperature(x); GetAbsorber(3)->SetTemperature(x); GetAbsorber(5)->SetTemperature(x); }
void KVBIC::SetBombage(Float_t x) { //Change bombage of entrance/exit windows //This changes the effective thickness of gas between the external & internal entrance/exit windows fBomb = x; Float_t e = GetEffectiveEntryThickness(); GetAbsorber(1)->SetThickness(e); GetAbsorber(5)->SetThickness(e); }