*
*/
+ Reset();
memcpy(fFEEConfig, source.fFEEConfig, sizeof(AliTOFFEEConfig));
memcpy(fFEElightConfig, source.fFEElightConfig, sizeof(AliTOFFEElightConfig));
}
//_______________________________________________________________
+void
+AliTOFFEEReader::ResetTriggerMaskArray()
+{
+ /*
+ *
+ * reset trigger mask array
+ *
+ */
+
+ for (Int_t iddl = 0; iddl < GetNumberOfDDLs(); iddl++)
+ fTriggerMask[iddl] = 0x0;
+}
+
+//_______________________________________________________________
+
void
AliTOFFEEReader::Reset()
{
fMatchingWindow[iIndex] = 0;
fLatencyWindow[iIndex] = 0;
}
+
+ for (Int_t iddl = 0; iddl < GetNumberOfDDLs(); iddl++)
+ fTriggerMask[iddl] = 0x0;
}
//_______________________________________________________________
AliInfo("parsing TOF FEElight config");
+ Reset();
+
AliTOFcalibHisto calibHisto;
calibHisto.LoadCalibHisto();
fMatchingWindow[index] = channelConfig->GetMatchingWindow();
fLatencyWindow[index] = channelConfig->GetLatencyWindow();
}
+
+ AliTOFFEEtriggerConfig *triggerConfig = NULL;
+ for (Int_t iddl = 0; iddl < GetNumberOfDDLs(); iddl++) {
+ triggerConfig = fFEElightConfig->GetTriggerConfig(iddl);
+ fTriggerMask[iddl] = triggerConfig->GetStatusMap();
+ }
return nEnabled;
}
//_______________________________________________________________
Int_t
-AliTOFFEEReader::GetMatchingWindow(Int_t iDDL, Int_t iTRM, Int_t iChain, Int_t iTDC, Int_t iChannel) const
+AliTOFFEEReader::GetMatchingWindow(Int_t iDDL, Int_t iTRM, Int_t, Int_t, Int_t) const
{
/*
*
AliTOFCrateConfig *crateConfig;
AliTOFTRMConfig *trmConfig;
- iChain = 0; iTDC = 0; iChannel = 0; /* dummy for the time being */
-
/* get and check fee config */
if (!(feeConfig = GetFEEConfig()))
return 0;