public:
// general geometry info
- static const int fgkEMCALModules = 22; // number of modules, adapted for DCAL
+ static const int fgkEMCALModules = 20; // number of modules, 12 for EMCal + 8 for DCAL
static const int fgkEMCALRows = 24; // number of rows per module for EMCAL
static const int fgkEMCALCols = 48; // number of columns per module for EMCAL
{ return ( (iSM%2==0) ? iCol/2 : AliEMCALGeoParams::fgkEMCALLEDRefs - 1 - iCol/2 ); }
// also a few readout related variables:
- static const int fgkLastAltroDDL = 43; // 0..23 (i.e. 24) for EMCAL; 24..43 (i.e. 20) allocated for DCAL
+ static const int fgkLastAltroDDL = 39; // 0..23 (i.e. 24) for EMCAL; 24..39 (i.e. 16) allocated for DCAL
static const int fgkSampleMax = 1023; // highest possible sample value (10-bit = 0x3ff)
static const int fgkOverflowCut = 950; // saturation starts around here; also exist as private constant in AliEMCALRawUtils, should probably be replaced
static const int fgkSampleMin = 0; // lowest possible sample value
//TH1F * htemp; //a tempory histrogram for getting the mean and sigma
//Double_t fMean; //mean value
//Double_t fWidth; //sigma of the distribution
- static const Int_t fgknSM = 12; //! number of current SM
+ static const Int_t fgknSM = 20; //! number of current SM; EMCal + DCal
// TLine ** fLine ; //! line to distinguish the different SM
// TLine ** fHref ; //! Line marking the average value for each SM
TText ** fTextSM ; //! Text info for each SM
fFittingAlgorithm(0),
fRawAnalyzer(0),
fRawAnalyzerTRU(0),
- fGeom(0),
- fSuperModules(22), // FIXME!!! number of SuperModules; updated to 22 for DCal
+ fGeom(0),
+ fSuperModules(20), // number of SuperModules; updated to 20 for EMCal + DCal
fFirstPedestalSample(0),
fLastPedestalSample(3),
fFirstPedestalSampleTRU(0),
fRawAnalyzerTRU->SetFixTau(kTRUE);
fRawAnalyzerTRU->SetTau(2.5); // default for TRU shaper
- fGeom = new AliEMCALGeometry("EMCAL_COMPLETE12SMV1_DCAL", "EMCAL");
+ fGeom = new AliEMCALGeometry("EMCAL_COMPLETE12SMV1_DCAL_8SM", "EMCAL");
// for (Int_t sm = 0 ; sm < fSuperModules ; sm++){
// fTextSM[sm] = NULL ;
// }
return;
}
- static const Int_t nDDL = 22*2; // 22 SM for DCal hardcoded for now. Buffers allocated dynamically, when needed, so just need an upper limit here
+ static const Int_t nDDL = 20*2; // 20 SM for EMCal + DCal hardcoded for now. Buffers allocated dynamically, when needed, so just need an upper limit here
AliAltroBuffer* buffers[nDDL];
for (Int_t i=0; i < nDDL; i++)
buffers[i] = 0;
if (!reader) {Error("Raw2Digits", "no raw reader found !");return;}
AliEMCALTriggerSTURawStream inSTU(reader);
AliCaloRawStreamV3 in(reader,"EMCAL",fMapping);
- reader->Select("EMCAL",0,43); // 43 = AliEMCALGeoParams::fgkLastAltroDDL
+ reader->Select("EMCAL",0,39); // 39 = AliEMCALGeoParams::fgkLastAltroDDL
fTriggerRawDigitMaker->Reset();
fTriggerRawDigitMaker->SetIO(reader, in, inSTU, digitsTRG, trgData);
fRawAnalyzer->SetIsZeroSuppressed(true); // TMP - should use stream->IsZeroSuppressed(), or altro cfg registers later