]>
Commit | Line | Data |
---|---|---|
415d9f5c | 1 | /************************************************************************** |
2 | * Copyright(c) 1998-2007, 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 | /* $Id$ */ | |
17 | ||
18 | //------------------------------------------------------------------------- | |
19 | // Realisation of AliVParticle for MC Particles | |
20 | // Implementation wraps a TParticle and delegates the methods | |
21 | // Author: Andreas Morsch, CERN | |
22 | //------------------------------------------------------------------------- | |
23 | ||
24 | #include "AliMCParticle.h" | |
25 | ||
26 | ||
27 | ClassImp(AliMCParticle) | |
28 | ||
29 | AliMCParticle::AliMCParticle(): | |
30 | AliVParticle(), | |
31 | fParticle(0) | |
32 | { | |
33 | // Constructor | |
34 | } | |
35 | ||
36 | AliMCParticle::AliMCParticle(TParticle* part): | |
37 | AliVParticle(), | |
38 | fParticle(part) | |
39 | { | |
40 | // Constructor | |
41 | } | |
42 | ||
43 | ||
44 | AliMCParticle::AliMCParticle(const AliMCParticle& mcPart) : | |
45 | AliVParticle(mcPart), | |
46 | fParticle(0) | |
47 | { | |
48 | // Copy constructor | |
49 | } | |
50 | ||
51 | AliMCParticle& AliMCParticle::operator=(const AliMCParticle& mcPart) | |
52 | { if (this!=&mcPart) { | |
53 | AliVParticle::operator=(mcPart); | |
54 | } | |
55 | ||
56 | return *this; | |
57 | } |