#include <IORawData/Ecal2004TBInputService/interface/TRawLaserPulse.h>
Public Member Functions | |
Int_t | GetNSamples () |
Int_t | GetSample (Int_t k) const |
Int_t * | GetSamples () |
void | Print () const |
void | Remove () |
void | SetLaserPulse (Int_t, Int_t *) |
TRawLaserPulse (Int_t, Int_t *) | |
TRawLaserPulse () | |
virtual | ~TRawLaserPulse () |
Protected Member Functions | |
void | Init () |
Protected Attributes | |
Int_t | fNSample |
Int_t * | fSamples |
Definition at line 5 of file TRawLaserPulse.h.
TRawLaserPulse::TRawLaserPulse | ( | ) |
TRawLaserPulse::TRawLaserPulse | ( | Int_t | , | |
Int_t * | ||||
) |
TRawLaserPulse::~TRawLaserPulse | ( | ) | [virtual] |
Int_t TRawLaserPulse::GetNSamples | ( | ) | [inline] |
Int_t TRawLaserPulse::GetSample | ( | Int_t | k | ) | const [inline] |
Int_t * TRawLaserPulse::GetSamples | ( | ) |
Definition at line 34 of file TRawLaserPulse.cc.
References fSamples.
00034 { 00035 return fSamples; 00036 }
void TRawLaserPulse::Print | ( | ) | const |
Definition at line 44 of file TRawLaserPulse.cc.
References GenMuonPlsPt100GeV_cfg::cout, lat::endl(), fNSample, fSamples, and j.
00044 { 00045 //Prints everything 00046 Int_t j; 00047 cout << endl; 00048 cout << "Nb. of Samples: " << fNSample << endl; 00049 cout << "Samples: "; 00050 for (j=0;j<fNSample;j++) { 00051 cout << " " << fSamples[j]; 00052 if (!(j%8)) { 00053 cout << endl; 00054 cout << "Samples: "; 00055 } 00056 } 00057 cout << endl; 00058 cout << endl; 00059 }
void TRawLaserPulse::Remove | ( | ) |
void TRawLaserPulse::SetLaserPulse | ( | Int_t | , | |
Int_t * | ||||
) |
Int_t TRawLaserPulse::fNSample [protected] |
Int_t* TRawLaserPulse::fSamples [protected] |
Definition at line 10 of file TRawLaserPulse.h.
Referenced by GetSample(), GetSamples(), Init(), Print(), Remove(), and ~TRawLaserPulse().