]>
Commit | Line | Data |
---|---|---|
9dc4f671 | 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 | // Comment describing what this class does needed! | |
17 | ||
18 | #include "AliJJet.h" | |
19 | ||
20 | AliJJet::AliJJet(): | |
21 | AliJBaseTrack(), | |
22 | fArea(0), | |
23 | fConstituents() | |
24 | {;} | |
25 | ||
26 | ||
27 | AliJJet::AliJJet(float px,float py, float pz, float e, Int_t id, Short_t ptype, Char_t charge): | |
28 | AliJBaseTrack( px, py, pz, e, id, ptype, charge ), | |
29 | fArea(0), | |
30 | fConstituents() | |
31 | {;} | |
32 | ||
33 | AliJJet::AliJJet(const AliJJet& a): | |
34 | AliJBaseTrack( a ), | |
35 | fArea( a.fArea ), | |
36 | fConstituents( a.fConstituents ) | |
37 | {;} | |
38 | ||
39 | AliJJet::AliJJet(const TLorentzVector & a): | |
40 | AliJBaseTrack( a ), | |
41 | fArea(0), | |
42 | fConstituents() | |
43 | {;} | |
44 | ||
45 | ||
46 | AliJJet& AliJJet::operator=(const AliJJet& trk){ | |
47 | //operator = | |
48 | if(this != &trk){ | |
49 | AliJBaseTrack::operator=(trk); | |
50 | fArea = trk.fArea; | |
51 | fConstituents = trk.fConstituents; | |
52 | } | |
53 | return *this; | |
54 | } | |
55 | ||
56 | ClassImp(AliJJet) |