#include <IORawData/Ecal2004TBInputService/interface/TRawScaler.h>
Public Member Functions | |
Int_t | Compare (const TObject *obj) const |
Int_t | GetN () const |
Int_t | GetValue (Short_t i) |
Int_t * | GetValues () |
Bool_t | IsSortable () const |
virtual void | Print (const char *opt=0) const |
void | SetValues (Int_t *) |
TRawScaler (Int_t, Int_t *) | |
TRawScaler (Int_t) | |
TRawScaler () | |
virtual | ~TRawScaler () |
Static Public Attributes | |
static Int_t | fgNScalers |
Protected Attributes | |
Int_t | fN |
Int_t | fValues [12] |
Definition at line 5 of file TRawScaler.h.
TRawScaler::TRawScaler | ( | ) |
TRawScaler::TRawScaler | ( | Int_t | n | ) |
TRawScaler::TRawScaler | ( | Int_t | , | |
Int_t * | ||||
) |
virtual TRawScaler::~TRawScaler | ( | ) | [inline, virtual] |
Int_t TRawScaler::Compare | ( | const TObject * | obj | ) | const [inline] |
Definition at line 20 of file TRawScaler.h.
References fN.
00020 { 00021 if (fN < ((TRawScaler*)obj)->fN) 00022 return -1; 00023 else if (fN > ((TRawScaler*)obj)->fN) 00024 return 1; 00025 else 00026 return 0; }
Int_t TRawScaler::GetN | ( | ) | const [inline] |
Int_t TRawScaler::GetValue | ( | Short_t | i | ) | [inline] |
Int_t* TRawScaler::GetValues | ( | ) | [inline] |
Bool_t TRawScaler::IsSortable | ( | ) | const [inline] |
void TRawScaler::Print | ( | const char * | opt = 0 |
) | const [virtual] |
Definition at line 45 of file TRawScaler.cc.
References GenMuonPlsPt100GeV_cfg::cout, lat::endl(), fN, fValues, and j.
00045 { 00046 //Prints everything 00047 Short_t j; 00048 cout << endl; 00049 cout << "TRawScaler number : " << fN << endl; 00050 cout << endl; 00051 cout << "TRawScaler: "; 00052 for (j=0;j<12;j++) cout << " " << fValues[j]; 00053 cout << endl; 00054 cout << endl; 00055 }
void TRawScaler::SetValues | ( | Int_t * | ) |
Int_t TRawScaler::fgNScalers [static] |
Definition at line 14 of file TRawScaler.h.
Int_t TRawScaler::fN [protected] |
Definition at line 9 of file TRawScaler.h.
Referenced by Compare(), GetN(), Print(), and TRawScaler().
Int_t TRawScaler::fValues[12] [protected] |
Definition at line 10 of file TRawScaler.h.
Referenced by GetValue(), GetValues(), Print(), and TRawScaler().