#ifdef __GNUG__ #pragma implementation #endif #include "Stntuple/data/TCprCluster.hh" ClassImp(TCprCluster) //------------------------------------------------------------------------------ TCprCluster::TCprCluster() { // default constructor fCode = -1; fCharge = -1; } //------------------------------------------------------------------------------ TCprCluster::~TCprCluster() { } //_____________________________________________________________________________ void TCprCluster::Print(const char* Opt) const { char* s = strstr(Opt,":"); if (s) printf("%s",s+1); if ( (strcmp(Opt,"") == 0) || (strstr(Opt,"banner") != 0) ) { printf(" w/e wed nwires Charge x Sig\n"); } if ( (strcmp(Opt,"") == 0) || (strstr(Opt,"data") != 0) ) { printf("%4i %4i %4i %9.3f %8.3f %8.3f\n", Side(), Wedge(), NWires(), Charge(), X(), SigmaX()); } }