AliPhysics  vAN-20150427 (e6e7aad)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliEMCalTriggerEventData.cxx
Go to the documentation of this file.
1 /**************************************************************************
2  * Copyright(c) 1998-2014, 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  * Event Data used in exchange to the different analysis components
17  *
18  * Author:
19  * Markus Fasel
20  */
22 
24 
25 namespace EMCalTriggerPtAnalysis {
26 
27 //______________________________________________________________________________
28 AliEMCalTriggerEventData::AliEMCalTriggerEventData() :
29  TObject(),
30  fRecEvent(NULL),
31  fMCEvent(NULL),
32  fClusterContainer(NULL),
33  fTrackContainer(NULL),
34  fParticleContainer(NULL),
35  fTriggerPatchContainer(NULL),
36  fJetContainerMC(NULL),
37  fJetContainerData(NULL)
38 {
39  /*
40  * Default constructor
41  */
42 }
43 
44 //______________________________________________________________________________
45 AliEMCalTriggerEventData::AliEMCalTriggerEventData(const AliEMCalTriggerEventData &ref) :
46  TObject(ref),
47  fRecEvent(ref.fRecEvent),
48  fMCEvent(ref.fMCEvent),
49  fClusterContainer(ref.fClusterContainer),
50  fTrackContainer(ref.fTrackContainer),
51  fParticleContainer(ref.fParticleContainer),
52  fTriggerPatchContainer(ref.fTriggerPatchContainer),
53  fJetContainerMC(ref.fJetContainerMC),
54  fJetContainerData(ref.fJetContainerData)
55 {
56  /*
57  * copy constructor
58  */
59 }
60 
61 //______________________________________________________________________________
62 AliEMCalTriggerEventData &AliEMCalTriggerEventData::operator=(const AliEMCalTriggerEventData &ref) {
63  /*
64  * assignment operator
65  */
66  TObject::operator=(ref);
67  if(this != &ref){
68  fRecEvent = ref.fRecEvent;
69  fMCEvent = ref.fMCEvent;
70  fClusterContainer = ref.fClusterContainer;
71  fTrackContainer = ref.fTrackContainer;
72  fParticleContainer = ref.fParticleContainer;
73  fTriggerPatchContainer = ref.fTriggerPatchContainer;
74  fJetContainerMC = ref.fJetContainerMC;
75  fJetContainerData = ref.fJetContainerData;
76  }
77  return *this;
78 }
79 
80 } /* namespace EMCalTriggerPtAnalysis */
ClassImp(EMCalTriggerPtAnalysis::AliEMCalTriggerEventData) namespace EMCalTriggerPtAnalysis