AliPhysics  58f3d52 (58f3d52)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliPicoJet.cxx
Go to the documentation of this file.
1 #include <TLorentzVector.h>
2 
3 #include "AliEmcalJet.h"
4 
5 #include "AliPicoJet.h"
6 
7 ClassImp(AliPicoJet)
8 
9 //_____________________________________________________________________________
11 TObject(),
12 fKine(),
13 fArea(0.),
14 fLeadingPt()
15 {
16 //
17 // AliPicoJet::AliPicoJet
18 //
19 }
20 
21 //_____________________________________________________________________________
22 AliPicoJet::AliPicoJet(AliEmcalJet const *pJet, Double_t dLeadingPt) :
23 TObject(),
24 fKine(pJet->Px(), pJet->Py(), pJet->Pz(), pJet->E()),
25 fArea(pJet->Area()),
26 fLeadingPt(dLeadingPt)
27 {
28 //
29 // AliPicoJet::AliPicoJet
30 //
31 }
32 
33 //_____________________________________________________________________________
35 TObject(src),
36 fKine(src.fKine),
37 fArea(src.fArea),
38 fLeadingPt(src.fLeadingPt)
39 {
40 //
41 // AliPicoJet::AliPicoJet
42 //
43 }
44 
45 //_____________________________________________________________________________
47 {
48 //
49 // AliPicoJet::operator=
50 //
51 
52  if (&src==this) return *this;
53 
54  TObject::operator=(src);
55 
56  fKine = src.fKine;
57  fArea = src.fArea;
58 
59  fLeadingPt = src.fLeadingPt;
60 
61  return *this;
62 }
63 
64 //_____________________________________________________________________________
66 {
67 //
68 // AliPicoJet::~AliPicoJet
69 //
70 }
double Double_t
Definition: External.C:58
AliPicoJet & operator=(const AliPicoJet &src)
Definition: AliPicoJet.cxx:46
Double_t fArea
Definition: AliPicoJet.h:28
virtual ~AliPicoJet()
Definition: AliPicoJet.cxx:65
TLorentzVector fKine
Definition: AliPicoJet.h:26
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:51
Double_t fLeadingPt
Definition: AliPicoJet.h:29