StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StDetectorDbMaker
St_istPedNoiseC.h
1
#ifndef St_istPedNoiseC_h
2
#define St_istPedNoiseC_h
3
4
#include "TChair.h"
5
#include "tables/St_istPedNoise_Table.h"
6
7
class
St_istPedNoiseC
:
public
TChair
{
8
public
:
9
static
St_istPedNoiseC
* instance();
10
istPedNoise_st *Struct(Int_t i = 0)
const
{
return
((St_istPedNoise*) Table())->GetTable()+i;}
11
UInt_t getNumRows()
const
{
return
GetNRows();}
12
unsigned
short
* cmNoise(Int_t i = 0)
const
{
return
Struct(i)->cmNoise;}
13
unsigned
short
* pedestal(Int_t i = 0)
const
{
return
Struct(i)->pedestal;}
14
unsigned
short
* rmsNoise(Int_t i = 0)
const
{
return
Struct(i)->rmsNoise;}
15
protected
:
16
St_istPedNoiseC
(St_istPedNoise *table=0) :
TChair
(table) {}
17
virtual
~
St_istPedNoiseC
() {fgInstance = 0;}
18
private
:
19
static
St_istPedNoiseC
* fgInstance;
20
ClassDefChair(St_istPedNoise, istPedNoise_st )
21
ClassDef(
St_istPedNoiseC
,1)
//C++ TChair for istPedNoise table class
22
};
23
#endif
St_istPedNoiseC
Definition:
St_istPedNoiseC.h:7
TChair
Definition:
TChair.h:27
Generated by
1.8.5