![]() |
![]() |
#include <IORawData/Ecal2004TBInputService/interface/TRawPattern.h>
Public Member Functions | |
virtual void | Clear (const char *opt="") |
Int_t | GetNValues () |
Int_t | GetValue (Short_t j) |
Int_t * | GetValues () |
void | Init () |
virtual void | Print (const char *opt=0) const |
void | SetValues (Int_t, Int_t *) |
Int_t | TestBit (Int_t unit, Short_t bit) |
TRawPattern (Int_t, Int_t *) | |
TRawPattern () | |
virtual | ~TRawPattern () |
Protected Attributes | |
Int_t | fNValue |
Int_t * | fValues |
Definition at line 5 of file TRawPattern.h.
TRawPattern::TRawPattern | ( | ) |
TRawPattern::TRawPattern | ( | Int_t | , | |
Int_t * | ||||
) |
TRawPattern::~TRawPattern | ( | ) | [virtual] |
void TRawPattern::Clear | ( | const char * | opt = "" |
) | [virtual] |
Definition at line 34 of file TRawPattern.cc.
References fValues, and Init().
Referenced by ~TRawPattern().
Int_t TRawPattern::GetNValues | ( | ) | [inline] |
Int_t TRawPattern::GetValue | ( | Short_t | j | ) | [inline] |
Int_t* TRawPattern::GetValues | ( | ) | [inline] |
void TRawPattern::Print | ( | const char * | opt = 0 |
) | const [virtual] |
Definition at line 40 of file TRawPattern.cc.
References GenMuonPlsPt100GeV_cfg::cout, lat::endl(), fNValue, fValues, and j.
00040 { 00041 Short_t j; 00042 cout << endl; 00043 00044 for (j=0;j<fNValue;j++) cout << " " << fValues[j]; 00045 cout << endl; 00046 cout << endl; 00047 }
void TRawPattern::SetValues | ( | Int_t | , | |
Int_t * | ||||
) |
Int_t TRawPattern::TestBit | ( | Int_t | unit, | |
Short_t | bit | |||
) | [inline] |
Definition at line 22 of file TRawPattern.h.
References fValues.
00023 { return ( fValues[unit] & (1<<bit) ); }
Int_t TRawPattern::fNValue [protected] |
Int_t* TRawPattern::fValues [protected] |
Definition at line 10 of file TRawPattern.h.
Referenced by Clear(), GetValue(), GetValues(), Init(), Print(), and TestBit().