WCSimRecoObjectTable.cc

Go to the documentation of this file.
00001 
00002 #include "WCSimRecoObjectTable.hh"
00003 
00004 #include <iostream>
00005 #include <cassert>
00006 
00007 ClassImp(WCSimRecoObjectTable)
00008 
00009 static WCSimRecoObjectTable* fgRecoObjectTable = 0;
00010 
00011 WCSimRecoObjectTable* WCSimRecoObjectTable::Instance()
00012 {
00013   if( !fgRecoObjectTable ){
00014     fgRecoObjectTable = new WCSimRecoObjectTable();
00015   }
00016 
00017   if( !fgRecoObjectTable ){
00018     assert(fgRecoObjectTable);
00019   }
00020 
00021   if( fgRecoObjectTable ){
00022 
00023   }
00024 
00025   return fgRecoObjectTable;
00026 }
00027 
00028 WCSimRecoObjectTable::WCSimRecoObjectTable()
00029 {
00030   this->Reset();
00031 }
00032 
00033 WCSimRecoObjectTable::~WCSimRecoObjectTable()
00034 {
00035   
00036 }
00037 
00038 void WCSimRecoObjectTable::Reset()
00039 {
00040   numDigits = 0;
00041   numClusters = 0;
00042   numClusterDigits = 0;
00043   numVertices = 0;
00044   numRings = 0;
00045   numEvents = 0;
00046 }
00047 
00048 void WCSimRecoObjectTable::Print()
00049 {
00050   std::cout << " *** WCSimRecoObjectTable::Print() *** " << std::endl;
00051   std::cout << numDigits << "\t Digits " << std::endl;
00052   std::cout << numClusterDigits << "\t ClusterDigits " << std::endl;
00053   std::cout << numClusters << "\t Clusters " << std::endl;
00054   std::cout << numVertices << "\t Vertices " << std::endl;
00055   std::cout << numRings << "\t Rings " << std::endl;
00056   std::cout << numEvents << "\t Events " << std::endl;
00057 }