Esempio n. 1
0
//_____________________________________________________________________________________
void KVPhoswich::SetEnergy(Double_t e)
{
   //Set energy lost in both layers

   GetAbsorber(0)->SetEnergyLoss(e / 2.);
   GetAbsorber(1)->SetEnergyLoss(e / 2.);
}
Esempio n. 2
0
//___________________________________________________________________________________
Double_t KVPhoswich::GetEnergy()
{
   //Override KVDetector::GetEnergy to return total energy lost in both layers

   return (GetAbsorber(0)->GetEnergyLoss() +
           GetAbsorber(1)->GetEnergyLoss());
}
Esempio n. 3
0
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);
}
Esempio n. 4
0
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);
}
Esempio n. 5
0
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);
}