]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/STEER/AliPlaneEff.cxx
Setting of aliases to rawReader done only once. Base decision on cosmic or calib...
[u/mrichter/AliRoot.git] / STEER / STEER / AliPlaneEff.cxx
1 /**************************************************************************
2  * Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
3  *                                                                        *
4  * Author: The ALICE Off-line Project.                                    *
5  * Contributors are mentioned in the code where appropriate.              *
6  *                                                                        *
7  * Permission to use, copy, modify and distribute this software and its   *
8  * documentation strictly for non-commercial purposes is hereby granted   *
9  * without fee, provided that the above copyright notice appears in all   *
10  * copies and that both the copyright notice and this permission notice   *
11  * appear in the supporting documentation. The authors make no claims     *
12  * about the suitability of this software for any purpose. It is          *
13  * provided "as is" without express or implied warranty.                  *
14  **************************************************************************/
15 ///////////////////////////////////////////////////////////////////////////
16 //  Virtual base Plane Efficiency class           
17 //  Specific detector implementation is done in  
18 //  AliITSPlaneEff                           
19 //  AliTRDPlaneEff                               
20 //  AliTOFPlaneEff                               
21 //
22 //  Author: G.E. Bruno 
23 //          giuseppe.bruno@ba.infn.it
24 //
25 ///////////////////////////////////////////////////////////////////////////
26
27
28 #include <TMath.h>
29 #include "AliPlaneEff.h"
30 #include "AliLog.h"
31 //#include "AliCDBManager.h"
32 //#include "AliCDBStorage.h"
33
34 ClassImp(AliPlaneEff)
35 //______________________________________________________________________
36 AliPlaneEff::AliPlaneEff(): TObject()/*,
37 fRunNumber(0), 
38 fCDBUri(""),
39 fInitCDBCalled(kFALSE)*/
40 {
41     // Default constructor
42     // Inputs:
43     //    none.
44     // Outputs:
45     //    none.
46     // Return:
47     //    a default constructed AliPlaneEff class
48  //InitCDB();
49 }
50 //______________________________________________________________________
51 AliPlaneEff::AliPlaneEff(const AliPlaneEff &s) : TObject(s)/*,
52 fRunNumber(s.fRunNumber),
53 fCDBUri(s.fCDBUri),
54 fInitCDBCalled(s.fInitCDBCalled)*/
55 {
56     //     Copy Constructor
57     // Inputs:
58     //    const AliPlaneEff &s  simulation class to copy from
59     // Outputs:
60     //    none.
61     // Return:
62     //    a standard constructed AliPlaneEff class with values the same
63     //    as that of s.
64
65 }
66 //_________________________________________________________________________
67 AliPlaneEff&  AliPlaneEff::operator=(const AliPlaneEff &source){
68     //    Assignment operator
69     // Inputs:
70     //    const AliPlaneEff &source  simulation class to copy from
71     // Outputs:
72     //    none.
73     // Return:
74     //    a standard constructed AliPlaneEff class with values the same
75     //    as that of s.
76     if(this != &source){
77        source.Copy(*this);
78     }
79     return *this;
80 }
81 //_____________________________________________________________
82 void AliPlaneEff::Copy(TObject &/*obj*/) const {
83   // copy this to obj
84 /*  ((AliPlaneEff& ) obj).fRunNumber            = fRunNumber;
85   ((AliPlaneEff& ) obj).fCDBUri         = fCDBUri;
86   ((AliPlaneEff& ) obj).fInitCDBCalled  = fInitCDBCalled;
87 */
88 }
89 //_________________________________________________________________________