Fix swap of ladders in DDL connection of SDD (F.Prino)
authorprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 11 Sep 2009 13:00:35 +0000 (13:00 +0000)
committerprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 11 Sep 2009 13:00:35 +0000 (13:00 +0000)
ITS/AliITSDDLModuleMapSDD.cxx
ITS/AliITSDDLModuleMapSDD.h

index 5fd1ebe..1a532a2 100644 (file)
@@ -231,6 +231,42 @@ void AliITSDDLModuleMapSDD::SetJun08Map(){
     }
   }
 }
+//______________________________________________________________________
+void AliITSDDLModuleMapSDD::SetJun09Map(){
+  // Fill DDL map according to 2009 cosmic run connection 
+  Int_t jun09map[kDDLsNumber][kModulesPerDDL] = 
+    {
+      {328,329,330,331,336,337,338,339,344,345,346,347}, //Crate TOP
+      {352,353,354,355,360,361,362,363,368,369,370,371},
+      {376,377,378,379,384,385,386,387,392,393,394,395},
+      {400,401,402,403,408,409,410,411,416,417,418,419},
+      {424,425,426,427,432,433,434,435,440,441,442,443},
+      {448,449,450,451,456,457,458,459,464,465,466,467},
+      {472,473,474,475,480,481,482,483,488,489,490,491},
+      {496,497,498,499,-1,-1,-1,-1,-1,-1,-1,-1},
+      {324,325,326,327,332,333,334,335,340,341,342,343},//Crate MED
+      {348,349,350,351,356,357,358,359,364,365,366,367},
+      {372,373,374,375,380,381,382,383,388,389,390,391},
+      {396,397,398,399,404,405,406,407,412,413,414,415},
+      {420,421,422,423,428,429,430,431,436,437,438,439},
+      {444,445,446,447,452,453,454,455,460,461,462,463},
+      {468,469,470,471,476,477,478,479,484,485,486,487},
+      {492,493,494,495,-1,-1,-1,-1,-1,-1,-1,-1},
+      {240,241,242,246,247,248,252,253,254,276,277,278},//Crate BOT
+      {264,265,266,270,271,272,258,259,260,282,283,284},
+      {288,289,290,294,295,296,300,301,302,306,307,308},
+      {312,313,314,318,319,320,-1,-1,-1,-1,-1,-1},
+      {315,316,317,321,322,323,-1,-1,-1,-1,-1,263},
+      {291,292,293,297,298,299,303,304,305,309,310,311},
+      {273,274,275,267,268,269,279,280,281,285,286,287},
+      {243,244,245,249,250,251,255,256,257,261,262,-1},
+    };
+  for(Int_t iddl=0;iddl<kDDLsNumber;iddl++){
+    for(Int_t ichan=0; ichan<kModulesPerDDL; ichan++){
+      fDDLModuleMap[iddl][ichan]=jun09map[iddl][ichan];
+    }
+  }
+}
 
 //______________________________________________________________________
 void AliITSDDLModuleMapSDD::SetDDLMap(AliITSDDLModuleMapSDD* ddlmap){
index ea9b657..76a597e 100644 (file)
@@ -29,6 +29,7 @@ class AliITSDDLModuleMapSDD : public TObject {
   void SetDec07part2Map();
   void SetFeb08Map();
   void SetJun08Map();
+  void SetJun09Map();
   void SetDDLMapElement(Int_t iDDL, Int_t iChan, Int_t iMod){fDDLModuleMap[iDDL][iChan]=iMod;}
   void SetDDLMap(AliITSDDLModuleMapSDD* ddlmap);
   void ReadDDLModuleMap(Char_t *ddlmapfile);