/////////////////////////////////////////////////////////////////////////////// // description of CMX D-hit /////////////////////////////////////////////////////////////////////////////// #include ClassImp(TCmxdHit) //_____________________________________________________________________________ TCmxdHit::TCmxdHit() { fSideNumber = -1; } //_____________________________________________________________________________ TCmxdHit::~TCmxdHit() { } //_____________________________________________________________________________ void TCmxdHit::Clear(Option_t* opt) { // clear hit, such that it looks unused } //_____________________________________________________________________________ void TCmxdHit::Print(Option_t* opt) const { // print the D-hit data if (strcmp(opt,"banner") == 0) { printf("-------------------------------------------------------\n"); printf(" D: Side Wedge Layer LeadingEdge Width \n"); printf("-------------------------------------------------------\n"); } else { printf(" %5i %5i %5i %5i %5i\n", SideNumber(), WedgeNumber(), LayerNumber(), LeadingEdge(), Width()); } }