]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALPreprocessor.cxx
Input number added to Print
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALPreprocessor.cxx
index fdbcc6031abe2a9b2d2e6d9f642ca8395971e72a..82dceb8dbdcdf94e97117ba22277091fd02fbc73 100644 (file)
@@ -61,7 +61,7 @@ const int kReturnCodeNoInfo = 9;
 const int kReturnCodeNoObject = 2;
 const int kReturnCodeNoEntries = 1;
 
-const int kNTRU = 32; // From 2012; 10 + 2/3 SuperModules (SM) * 3 TRU per SM
+const int kNTRU = 62; // EMCAL  (10 SM + 2/3) + (DCAL 10 SM) * 3 TRU per SM
 
 ClassImp(AliEMCALPreprocessor)
   
@@ -326,6 +326,11 @@ UInt_t AliEMCALPreprocessor::MapTemperature(TMap* dcsAliasMap)
 //______________________________________________________________________________________________
 UInt_t AliEMCALPreprocessor::MapTriggerConfig(TMap* dcsAliasMap)
 { // extract DCS trigger info
+       
+       
+       AliInfo("Print DCS alias map content");
+       dcsAliasMap->Print();
+       
   AliInfo(Form("Get TRU info from DCS DPs.\n"));
   Int_t i, iTRU;
   const Int_t bufsize = 1000;
@@ -464,7 +469,7 @@ UInt_t AliEMCALPreprocessor::MapTriggerConfig(TMap* dcsAliasMap)
   AliInfo(Form("TRU info retrieved.\n"));
                
   // STU
-       for (int i = 0; i < 3; i++) {
+  for (i = 0; i < 3; i++) {
                for (int j = 0; j < 2; j++) {
                        arrSTUG[i][j] = (TObjArray*)dcsAliasMap->GetValue(Form("EMC_STU_G%c%d", i + 65, j));
                        arrSTUJ[i][j] = (TObjArray*)dcsAliasMap->GetValue(Form("EMC_STU_J%c%d", i + 65, j));