]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSBeamTestDig.cxx
beam test digitisation classes
[u/mrichter/AliRoot.git] / ITS / AliITSBeamTestDig.cxx
1 ////////////////////////////////////////////////////
2 //  Class to define                               //
3 //  beam test raw 2 dig conv.                     //
4 //  Origin: E. Crescio crescio@to.infn.it         //
5 //                                                //
6 ////////////////////////////////////////////////////
7
8 #include "AliITSBeamTestDig.h"
9
10 ClassImp(AliITSBeamTestDig)
11
12
13
14 //_____________________________________________________________
15   AliITSBeamTestDig::AliITSBeamTestDig(): TTask()
16 {
17   //
18   // Default constructor
19   //
20   fReaderDate=0;
21   fTreeD=0;
22   fBt=0;
23   fITSHeader=0;
24 }
25
26 //_____________________________________________________________
27   AliITSBeamTestDig::AliITSBeamTestDig(const Text_t* name, const Text_t* title): TTask(name,title)
28 {
29   //
30   // Standard constructor
31   //
32
33   fReaderDate=0;
34   fTreeD=0;
35   fBt=0;
36   fITSHeader=0;
37  
38 }
39
40 //______________________________________________________________________
41 AliITSBeamTestDig::AliITSBeamTestDig(const AliITSBeamTestDig &bt):TTask(bt){
42     // Copy constructor. 
43
44   fReaderDate=bt.fReaderDate;
45   fTreeD=bt.fTreeD;
46   fBt=bt.fBt;
47   fITSHeader=bt.fITSHeader;
48 }
49 //______________________________________________________________________
50 AliITSBeamTestDig& AliITSBeamTestDig::operator=(AliITSBeamTestDig &bt){
51     // Assignment operator. This is a function which is not allowed to be
52     // done to the ITS beam test dig. It exits with an error.
53     // Inputs:
54     if(this==&bt) return *this;
55     Error("operator=","You are not allowed to make a copy of the AliITSBeamTestDig");
56     exit(1);
57     return *this; //fake return
58 }
59
60
61   
62