Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

TScalerEvent.cxx

Go to the documentation of this file.
00001 //  TScalerEvent.cxx.
00013 #include <iostream>
00014 
00015 #include "TScalerEvent.h"
00016 
00017 using std::cout;
00018 using std::endl;
00019 
00020 // Class implementation tag for ROOT.
00021 //
00022 ClassImp(TScalerEvent)
00023 
00024 TScalerEvent::TScalerEvent()
00025 {
00028 }
00029 
00030 TScalerEvent::~TScalerEvent()
00031 {
00034 }
00035 
00036 void TScalerEvent::Clear(const Char_t *option)
00037 {
00041   fScalers.clear();
00042 }
00043 
00044 void TScalerEvent::Print(const Char_t *option) const
00045 {
00050   cout << "TScalerEvent:" << endl
00051        << "Scalers = " << fScalers.size() << endl;
00052   if (option[0] == 'a')
00053     for (UInt_t i = 0; i < fScalers.size(); i++)
00054       fScalers[i].Print("scaler: ");
00055 }

Generated on Mon Jan 8 11:54:31 2007 for DragonRoot by  doxygen 1.3.9.1