emcTowerContainer.C

Go to the documentation of this file.
00001 #include "emcTowerContainer.h"
00002 #include "emcTowerContent.h"
00003 #include <iostream>
00004 
00005 ClassImp(emcTowerContainer)
00006 
00007   using namespace std;
00008 
00009 //_____________________________________________________________________________
00010 emcTowerContainer::~emcTowerContainer()
00011 {
00012 }
00013 
00014 //_____________________________________________________________________________
00015 emcTowerContainer& 
00016 emcTowerContainer::operator=(const emcTowerContainer&)
00017 {
00018   return *this;
00019 }
00020   
00021 //_____________________________________________________________________________
00022 int
00023 emcTowerContainer::isValid() const
00024 {
00025   cerr << "emcTowerContainer::isValid : should be implemented in daughter class"
00026        << endl;
00027   return 0;
00028 }
00029 
00030 //_____________________________________________________________________________
00031 void
00032 emcTowerContainer::identify(ostream&) const
00033 {
00034   cerr << "emcTowerContainer::identify : should be implemented in daughter class"
00035        << endl;
00036 }
00037 
00038 //_____________________________________________________________________________
00039 void
00040 emcTowerContainer::print(ostream& os, int level) const
00041 {
00042   for ( unsigned int i = 0; i < size() ; ++i ) 
00043     {
00044       getTower(i)->print(os,level);
00045     }
00046 }
00047 
00048 //_____________________________________________________________________________
00049 void
00050 emcTowerContainer::Reset()
00051 {
00052   cerr << "emcTowerContainer::Reset : should be implemented in daughter class"
00053        << endl;
00054 }