Line data Source code
1 : /**************************************************************************
2 : * Copyright(c) 1998-2016, 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 : #include "AliGenToyEventHeader.h"
17 : #include <map>
18 : #include <string>
19 :
20 : AliGenToyEventHeader::AliGenToyEventHeader(const char* name) :
21 0 : AliGenEventHeader(name),
22 0 : fCentrality(-1.),
23 0 : fParameters()
24 0 : {
25 :
26 0 : }
27 :
28 : AliGenToyEventHeader::AliGenToyEventHeader(const AliGenToyEventHeader &rhs) :
29 0 : AliGenEventHeader(rhs),
30 0 : fCentrality(rhs.fCentrality),
31 0 : fParameters(rhs.fParameters)
32 0 : {
33 :
34 0 : }
35 :
36 : AliGenToyEventHeader::~AliGenToyEventHeader()
37 0 : {
38 :
39 0 : }
40 :
41 : AliGenToyEventHeader& AliGenToyEventHeader::operator=(const AliGenToyEventHeader& rhs)
42 : {
43 0 : if (this != &rhs) {
44 0 : fCentrality = rhs.fCentrality;
45 0 : fParameters = rhs.fParameters;
46 0 : }
47 :
48 0 : return *this;
49 : }
50 :
|