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
StSvtClassLibrary
StSvtHybridPixels.hh
1
/***************************************************************************
2
*
3
* $Id: StSvtHybridPixels.hh,v 1.3 2000/11/30 20:39:12 caines Exp $
4
*
5
* Author: Marcelo Munhoz
6
***************************************************************************
7
*
8
* Description: SVT Hybrid Array of Pixels
9
*
10
***************************************************************************
11
*
12
* $Log: StSvtHybridPixels.hh,v $
13
* Revision 1.3 2000/11/30 20:39:12 caines
14
* Changed to allow us of database
15
*
16
* Revision 1.1.1.1 2000/03/10 14:26:21 munhoz
17
* SVT Class Library
18
*
19
**************************************************************************/
20
21
#ifndef STSVTHYBRIDPIXELS_HH
22
#define STSVTHYBRIDPIXELS_HH
23
24
#include "TArrayF.h"
25
#include "StSvtHybridObject.hh"
26
27
class
StSvtHybridPixels
:
public
StSvtHybridObject
,
public
TArrayF
28
{
29
public
:
30
StSvtHybridPixels
();
31
StSvtHybridPixels
(
int
barrel,
int
ladder,
int
wafer,
int
hybrid,
int
size = 0,
float
* x = 0);
32
virtual
~
StSvtHybridPixels
();
33
34
StSvtHybridPixels
& operator = (
StSvtHybridPixels
&);
35
StSvtHybridPixels
& operator + (
StSvtHybridPixels
&);
36
37
Float_t getPixelContent(
int
anode,
int
time);
38
void
addToPixel(
int
anode,
int
time,
float
x);
39
void
addToPixel(
int
index,
float
x);
40
41
int
getNumberOfAnodes() {
return
mNumberOfAnodes;}
42
int
getNumberOfTimeBins() {
return
mNumberOfTimeBins;}
43
int
getTotalNumberOfPixels() {
return
mTotalNumberOfPixels;}
44
int
getPixelIndex(
int
anode,
int
time);
45
46
void
reset();
47
48
protected
:
49
50
int
mNumberOfAnodes;
// Number of Anodes in one hybrid (= 240)
51
int
mNumberOfTimeBins;
// Number of Time Bins in one hybrid (= 128)
52
53
int
mTotalNumberOfPixels;
// Total Number of Pixels (= 240*128)
54
55
ClassDef(
StSvtHybridPixels
,1)
56
};
57
58
#endif
StSvtHybridPixels
Definition:
StSvtHybridPixels.hh:27
StSvtHybridObject
Definition:
StSvtHybridObject.hh:27
Generated by
1.8.5