namespace
{
- Float_t TOFLIMIT = 75E-9;
-
AliMUON* muon()
{
return static_cast<AliMUON*>(gAlice->GetModule("MUON"));
}
}
+const Float_t
+AliMUONResponseTrigger::fgkTofLimit = 75E-9;
+
//------------------------------------------------------------------
AliMUONResponseTrigger::AliMUONResponseTrigger()
: AliMUONResponse()
//------------------------------------------------------------------
Int_t AliMUONResponseTrigger::DigitResponse(Int_t digit,
- AliMUONTransientDigit* /*where*/){
+ AliMUONTransientDigit* /*where*/) const
+{
// only digital (0/1) information available
if (digit)
Float_t tof = hit.Age();
Int_t twentyNano(100);
- if (tof<TOFLIMIT)
+ if (tof<fgkTofLimit)
{
twentyNano=1;
}