#include <IORawData/Ecal2004TBInputService/interface/TRawPn.h>
Public Member Functions | |
Int_t | Compare (const TObject *obj) const |
Int_t | GetN () const |
Int_t | GetNSamples () |
Int_t | GetSample (Int_t k) const |
Int_t * | GetSamples (Int_t &) |
Int_t | GetVInj () |
Bool_t | IsSortable () const |
void | Print (const char *opt=0) const |
void | Remove () |
void | SetPn (Int_t, Int_t *) |
void | SetVInj (Int_t v) |
TRawPn (Int_t, Int_t, Int_t *) | |
TRawPn (Int_t) | |
TRawPn () | |
virtual | ~TRawPn () |
Static Public Attributes | |
static Int_t | fgNPns |
Protected Member Functions | |
void | Init () |
Protected Attributes | |
Int_t | fN |
Int_t | fNSample |
Int_t * | fSamples |
Int_t | fVInj |
Definition at line 5 of file TRawPn.h.
TRawPn::TRawPn | ( | ) |
TRawPn::TRawPn | ( | Int_t | n | ) |
TRawPn::TRawPn | ( | Int_t | , | |
Int_t | , | |||
Int_t * | ||||
) |
TRawPn::~TRawPn | ( | ) | [virtual] |
Int_t TRawPn::Compare | ( | const TObject * | obj | ) | const [inline] |
Int_t TRawPn::GetN | ( | ) | const [inline] |
Int_t TRawPn::GetNSamples | ( | ) | [inline] |
Definition at line 33 of file TRawPn.h.
References fNSample.
Referenced by Ecal2004TBSource::produce().
00033 { return fNSample; }
Int_t TRawPn::GetSample | ( | Int_t | k | ) | const [inline] |
Int_t * TRawPn::GetSamples | ( | Int_t & | n | ) |
Int_t TRawPn::GetVInj | ( | ) | [inline] |
Bool_t TRawPn::IsSortable | ( | ) | const [inline] |
void TRawPn::Print | ( | const char * | opt = 0 |
) | const |
Definition at line 51 of file TRawPn.cc.
References GenMuonPlsPt100GeV_cfg::cout, lat::endl(), fN, fNSample, fSamples, and j.
00051 { 00052 //Prints everything 00053 Int_t j; 00054 cout << endl; 00055 cout << "Pn number : " << fN << endl; 00056 cout << "Nb. of Samples: " << fNSample << endl; 00057 cout << "Samples: "; 00058 for (j=0;j<fNSample;j++) { 00059 cout << " " << fSamples[j]; 00060 if (!(j%8)) { 00061 cout << endl; 00062 cout << "Samples: "; 00063 } 00064 } 00065 cout << endl; 00066 cout << endl; 00067 }
void TRawPn::Remove | ( | ) |
void TRawPn::SetPn | ( | Int_t | , | |
Int_t * | ||||
) |
void TRawPn::SetVInj | ( | Int_t | v | ) | [inline] |
Int_t TRawPn::fgNPns [static] |
Int_t TRawPn::fN [protected] |
Int_t TRawPn::fNSample [protected] |
Definition at line 10 of file TRawPn.h.
Referenced by GetNSamples(), GetSamples(), Init(), and Print().
Int_t* TRawPn::fSamples [protected] |
Definition at line 11 of file TRawPn.h.
Referenced by GetSample(), GetSamples(), Init(), Print(), Remove(), and ~TRawPn().
Int_t TRawPn::fVInj [protected] |