+void AliHMPIDHit::Draw(Option_t*)
+{
+// Draw option of the hits in the display
+ Int_t iMark;
+ switch(Pid()){
+ case 50000050: iMark=4; break;
+ case 50000051: iMark=27; break;
+ default: iMark=26; break;
+ }
+ TMarker *pMark=new TMarker(fLx,fLy,iMark); pMark->SetMarkerColor(kRed); pMark->Draw();
+}//Draw
+//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+void AliHMPIDHit::Hit2Sdi(TClonesArray *pSdiLst,Int_t iHow)const
+{
+// Adds sdigits of this hit to the list
+// Arguments: pSdiLst- sigits list where to add new sdgits
+// iHow- how many pads to check
+// Returns: none
+ Int_t pc,px,py;
+ AliHMPIDParam::Lors2Pad(fLx,fLy,pc,px,py); if(py<0) return; //check if the hit in dead zone. Should never happen during trasport!
+
+ AliHMPIDDigit dig;
+ Int_t iSdiCnt=pSdiLst->GetEntries(); //list of sdigits contains sdigits from previous ivocations of Hit2Sdi, do not override them
+
+ for(Int_t i=-iHow;i<=iHow;i++){ //horizontal loop
+ for(Int_t j=-iHow;j<=iHow;j++){ //vertical loop
+ if(dig.Set(fCh,pc,px+i,py+j,fTrack)) continue;
+ dig.SetQ(fQ*dig.IntMathieson(fLx,fLy));
+ new((*pSdiLst)[iSdiCnt++]) AliHMPIDDigit(dig);
+ }
+ }
+}//Hit2Sdi
+//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+void AliHMPIDHit::Print(Option_t *opt)const