]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSBeamTestDig.cxx
Avoid compiler warnings.
[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   fReader=0;
21   fTreeD=0;
22   fITSHeader=0;
23   fITSgeom=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   fReader=0;
34   fTreeD=0;
35   fITSHeader=0;
36   fITSgeom = 0;
37 }
38
39 //______________________________________________________________________
40 AliITSBeamTestDig::AliITSBeamTestDig(const AliITSBeamTestDig &bt):TTask(bt){
41     // Copy constructor. 
42
43   fReader=bt.fReader;
44   fTreeD=bt.fTreeD;
45   fITSHeader=bt.fITSHeader;
46   fITSgeom = bt.fITSgeom;
47 }
48 //______________________________________________________________________
49 AliITSBeamTestDig& AliITSBeamTestDig::operator=(const AliITSBeamTestDig &source){
50     // Assignment operator. This is a function which is not allowed to be
51     // done to the ITS beam test dig. It exits with an error.
52     // Inputs:
53     if(this==&source) return *this;
54     Error("operator=","You are not allowed to make a copy of the AliITSBeamTestDig");
55     exit(1);
56     return *this; //fake return
57 }
58
59
60   
61