コード例 #1
0
ファイル: KVPhoswich.cpp プロジェクト: pwigg/kaliveda
//_____________________________________________________________________________________
void KVPhoswich::SetEnergy(Double_t e)
{
   //Set energy lost in both layers

   GetAbsorber(0)->SetEnergyLoss(e / 2.);
   GetAbsorber(1)->SetEnergyLoss(e / 2.);
}
コード例 #2
0
ファイル: KVPhoswich.cpp プロジェクト: pwigg/kaliveda
//___________________________________________________________________________________
Double_t KVPhoswich::GetEnergy()
{
   //Override KVDetector::GetEnergy to return total energy lost in both layers

   return (GetAbsorber(0)->GetEnergyLoss() +
           GetAbsorber(1)->GetEnergyLoss());
}
コード例 #3
0
ファイル: KVBIC.cpp プロジェクト: GiuseppePast/kaliveda
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);
}
コード例 #4
0
ファイル: KVBIC.cpp プロジェクト: GiuseppePast/kaliveda
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);
}
コード例 #5
0
ファイル: KVBIC.cpp プロジェクト: GiuseppePast/kaliveda
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);
}