Int_t npoints = 1;
Float_t adcmax = 1024;
- if (response) adcmax = response->MaxAdc();
+ if (response&&chamber<11) adcmax = response->MaxAdc();
for (Int_t digit = 0; digit < ndigits; digit++) {
mdig = (AliMUONDigit*)muonDigits->UncheckedAt(digit);
if (mdig->Cathode() != cathode-1) continue;
-
+
//
// First get all needed parameters
//
if (color > 282) color = 282;
if (chamber > 10) { // trigger chamber
+
Int_t sumCharge = 0;
for (Int_t icharge = 0; icharge < 10; icharge++) {
sumCharge = sumCharge+mdig->TrackCharge(icharge);
points->SetHitIndex(-1);
points->SetTrackIndex(-1);
points->SetDigitIndex(digit);
- points->SetPoint(0,xpad,ypad,zpos);
-
+ points->SetPoint(0,xpad,ypad,zpos);
+
Int_t lineColor = (zpad-zpos > 0) ? 2:3;
marker=new TMarker3DBox(xpad,ypad,zpos,dpx,dpy,0,0,0);
// Transform from real to pad coordinates
virtual void GetPadC(Int_t ix, Int_t iy, Float_t &x, Float_t &y);
virtual void GetPadC(Int_t ix, Int_t iy, Float_t &x, Float_t &y, Float_t &z)
- {z=0; GetPadC(ix, iy, x , y);}
+ {z=-10000.; GetPadC(ix, iy, x , y);}
// Draw the segmentation zones
virtual void Draw(const char *opt = "") const;
// Transform from real to pad coordinates
virtual void GetPadC(Int_t ix,Int_t iy,Float_t &x,Float_t &y);
virtual void GetPadC(Int_t ix, Int_t iy, Float_t &x, Float_t &y, Float_t &z)
- {z=0; GetPadC(ix, iy, x , y);}
+ {z=-10000.; GetPadC(ix, iy, x , y);}
// Pad size Dx*Dy
virtual void SetPadSize(Float_t dp1, Float_t dp2);
// Strip size by Module