#ifdef __GNUG__ #pragma implementation #endif #include "Stntuple/data/TPesCluster.hh" ClassImp(TPesCluster) //------------------------------------------------------------------------------ TPesCluster::TPesCluster() { // default constructor fCode = -1; fEnergy = -1; fCoord = -999; fChiSq = -1; } //------------------------------------------------------------------------------ TPesCluster::~TPesCluster() { } //_____________________________________________________________________________ void TPesCluster::Print(const char* Opt) const { char* s = strstr(Opt,":"); if (s) printf("%s",s+1); if ( (strcmp(Opt,"") == 0) || (strstr(Opt,"banner") != 0) ) { printf(" view side octant hit nhit E coord z "); printf(" Sig ChiSq\n"); } if ( (strcmp(Opt,"") == 0) || (strstr(Opt,"data") != 0) ) { printf(" %4i %4i %6i %4i %4i %9.3f %9.3f %8.3f %8.3f %8.3f\n", View(), Side(), Octant(), FirstHit(), NHit(), Energy(), LocalCoord(), Z(), Sigma(), ChiSq()); } }