/*
$Log$
+Revision 1.12 1999/11/02 16:35:56 fca
+New version of TRD introduced
+
Revision 1.11 1999/11/01 20:41:51 fca
Added protections against using the wrong version of FRAME
hits[3] = 0;
// The sector number
- Float_t phi = hits[1] != 0 ? TMath::Atan2(hits[0],hits[1]) : (hits[0] > 0 ? 180. : 0.);
+ Float_t phi = hits[1] != 0 ? kRaddeg*TMath::ATan2(hits[0],hits[1]) : (hits[0] > 0 ? 180. : 0.);
vol[0] = ((Int_t) (phi / 20)) + 1;
// The chamber number
/*
$Log$
+Revision 1.15 1999/11/02 17:20:19 fca
+initialise nbytes before using it
+
Revision 1.14 1999/11/02 17:15:54 fca
Correct ansi scoping not accepted by HP compilers
hits[3] = qTot;
// The sector number
- Float_t phi = pos[1] != 0 ? TMath::Atan2(pos[0],pos[1]) : (pos[0] > 0 ? 180. : 0.);
+ Float_t phi = pos[1] != 0 ? kRaddeg*TMath::ATan2(pos[0],pos[1]) : (pos[0] > 0 ? 180. : 0.);
vol[0] = ((Int_t) (phi / 20)) + 1;
// The chamber number