StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StSvtHybridPixels2.cc
1  /***************************************************************************
2  *
3  * $Id: StSvtHybridPixels2.cc,v 1.2 2003/09/02 17:59:06 perev Exp $
4  *
5  * Author: Marcelo Munhoz
6  ***************************************************************************
7  *
8  * Description: SVT Hybrid Array used for 2nd order pedestal correction
9  *
10  ***************************************************************************
11  *
12  * $Log: StSvtHybridPixels2.cc,v $
13  * Revision 1.2 2003/09/02 17:59:06 perev
14  * gcc 3.2 updates + WarnOff
15  *
16  * Revision 1.1.1.1 2000/03/10 14:26:21 munhoz
17  * SVT Class Library
18  *
19  **************************************************************************/
21 // //
22 // It is an array of 128 StSvtHybridPixels (capacitors), //
23 // where each one of these StSvtHybridPixels have 240 X 128 pixels (floats). //
24 // It is used to perform 2nd order pedestal correction, i.e., //
25 // to calculate the pedestals given its pixel and SCA capacitor read out. //
26 // //
28 
29 #include <Stiostream.h>
30 #include "StArray.h"
31 #include "StSvtHybridPixels.hh"
32 #include "StSvtHybridPixels2.hh"
33 
34 ClassImp(StSvtHybridPixels2)
35 
36 StSvtHybridPixels2::StSvtHybridPixels2(int barrel, int ladder, int wafer, int hybrid) :
37  StSvtHybridObject(barrel, ladder, wafer, hybrid)
38 {
39  // The same as StSvtHybridObject. It sets the numbr of SCA capacitors to 128
40 
41  mNumberOfCapacitors = 128;
42 
43  mPixels = new StObjArray(mNumberOfCapacitors);
44 }
45 
46 StSvtHybridPixels2::~StSvtHybridPixels2()
47 {
48  delete mPixels;
49 }
50 
51