+ // Int_t modmin[]={0,80,240,324,500,1282};
+ // Int_t modmax[]={79,239,323,499,1281,2269};
+
+
+ Int_t modmin[6], modmax[6];
+ Int_t Nladder[6], Ndetector[6];
+ AliITSgeom *g1 = ITS->GetITSgeom();
+
+ for(Int_t i=0; i<6; i++) {
+ Nladder[i]=g1->GetNladders(i+1);
+ Ndetector[i]=g1->GetNdetectors(i+1);
+ //cout<<Nladder[i]<<" "<<Ndetector[i]<<"\n";
+ }
+ for(Int_t i=0; i<6; i++) {
+ modmin[i]=g1->GetModuleIndex(i+1,1,1);
+ modmax[i]=g1->GetModuleIndex(i+1,Nladder[i],Ndetector[i]);
+ //cout<<modmin[i]<<" "<<modmax[i]<<"\n";
+ }
+
+