]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliCaloBunchInfo.cxx
added settings for magnetic field
[u/mrichter/AliRoot.git] / EMCAL / AliCaloBunchInfo.cxx
1 /**************************************************************************
2  * This file is property of and copyright by                              *
3  * the Relativistic Heavy Ion Group (RHIG), Yale University, US, 2009     *
4  *                                                                        *
5  * Primary Author: Per Thomas Hille <p.t.hille@fys.uio.no>                *
6  *                                                                        *
7  * Contributors are mentioned in the code where appropriate.              *
8  * Please report bugs to p.t.hille@fys.uio.no                             *
9  *                                                                        *
10  * Permission to use, copy, modify and distribute this software and its   *
11  * documentation strictly for non-commercial purposes is hereby granted   *
12  * without fee, provided that the above copyright notice appears in all   *
13  * copies and that both the copyright notice and this permission notice   *
14  * appear in the supporting documentation. The authors make no claims     *
15  * about the suitability of this software for any purpose. It is          *
16  * provided "as is" without express or implied warranty.                  *
17  **************************************************************************/
18
19
20 #include "AliCaloBunchInfo.h"
21
22 // Container class to hold information 
23 // about  of bunches.
24 // Used by the
25 // AliCaloRawAnalyzer
26 // classes
27 AliCaloBunchInfo::AliCaloBunchInfo( UInt_t start, Int_t length, const UShort_t * data ) :  fStartTimebin(start),
28                                                                                              fLength(length),
29                                                                                              fkData(data)
30 {
31
32
33 }
34
35
36
37 AliCaloBunchInfo::~AliCaloBunchInfo()
38 {
39
40   
41 }
42
43
44
45 AliCaloBunchInfo::AliCaloBunchInfo( const AliCaloBunchInfo  & rhs) :fStartTimebin( rhs.fStartTimebin ),
46                                                                        fLength(  rhs.fLength ),
47                                                                        fkData( rhs.fkData )
48 {
49   
50   
51 }
52
53
54
55
56 AliCaloBunchInfo&  AliCaloBunchInfo::operator = ( const  AliCaloBunchInfo & rhs)
57 {
58   //This is just to get of compliation warning. Its not really needed
59   if(this != & rhs) 
60     {
61       fStartTimebin  = rhs.fStartTimebin;
62       fLength = rhs.fLength;
63       fkData = rhs.fkData;      
64     }
65   return *this;
66 }
67