source: trunk/MagicSoft/Mars/manalysis/MPedestalCam.cc@ 708

Last change on this file since 708 was 698, checked in by tbretz, 24 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1/////////////////////////////////////////////////////////////////////////////
2// //
3// MPedestalCam //
4// //
5// Hold the Pedestal information for all pixels in the camera //
6// //
7/////////////////////////////////////////////////////////////////////////////
8#include "MPedestalCam.h"
9
10#include "MLog.h"
11
12ClassImp(MPedestalCam)
13
14MPedestalCam::MPedestalCam(const char *name, const char *title)
15{
16 *fName = name ? name : "MPedestalCam";
17 *fTitle = title ? title : "Storage container for all Pedestal Information in the camera";
18
19 fArray = new TClonesArray("MPedestalPix", 577);
20
21 //
22 // TClonesArray: The 'new operator with placement' must be used
23 //
24 for (int i=0; i<577; i++)
25 new ((*fArray)[i]) MPedestalPix;
26}
27
28MPedestalCam::~MPedestalCam()
29{
30 delete fArray;
31}
32
Note: See TracBrowser for help on using the repository browser.