]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGLF/STRANGENESS/Hypernuclei/AliAODRecoDecayLF2Prong.cxx
.so cleanup: more gSystem->Load()
[u/mrichter/AliRoot.git] / PWGLF / STRANGENESS / Hypernuclei / AliAODRecoDecayLF2Prong.cxx
1 /**************************************************************************
2  * Copyright(c) 1998-2006, 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 //
20 // Base class for AOD reconstructed2-prong decay
21 // strongly based on AliAODRecoDecayHF2Prong  
22 // Author: Ramona Lea (ramona.lea@cern.ch)
23 /////////////////////////////////////////////////////////////
24
25 #include <TDatabasePDG.h>
26 #include "AliAODRecoDecayLF.h"
27 #include "AliAODRecoDecayLF2Prong.h"
28
29 ClassImp(AliAODRecoDecayLF2Prong)
30
31 //--------------------------------------------------------------------------
32 AliAODRecoDecayLF2Prong::AliAODRecoDecayLF2Prong() :
33   AliAODRecoDecayLF()
34 {
35   //
36   // Default Constructor
37   //
38 }
39 //--------------------------------------------------------------------------
40 AliAODRecoDecayLF2Prong::AliAODRecoDecayLF2Prong(AliAODVertex *vtx2,
41                                                  Double_t *px,Double_t *py,Double_t *pz,
42                                                  Double_t *d0,Double_t *d0err,Float_t dca) :
43   AliAODRecoDecayLF(vtx2,2,0,px,py,pz,d0,d0err)
44 {
45   //
46   // Constructor with AliAODVertex for decay vertex
47   //
48   SetDCA(dca);
49 }
50 //--------------------------------------------------------------------------
51 AliAODRecoDecayLF2Prong::AliAODRecoDecayLF2Prong(AliAODVertex *vtx2,
52                                                  Double_t *d0,Double_t *d0err,Float_t dca) :
53   AliAODRecoDecayLF(vtx2,2,0,d0,d0err)
54 {
55   //
56   // Constructor with AliAODVertex for decay vertex and without prongs momenta
57   //
58   SetDCA(dca);
59 }
60 //--------------------------------------------------------------------------
61 AliAODRecoDecayLF2Prong::AliAODRecoDecayLF2Prong(const AliAODRecoDecayLF2Prong &source) :
62   AliAODRecoDecayLF(source)
63 {
64   //
65   // Copy constructor
66   //
67 }
68 //--------------------------------------------------------------------------
69 AliAODRecoDecayLF2Prong &AliAODRecoDecayLF2Prong::operator=(const AliAODRecoDecayLF2Prong &source)
70 {
71   //
72   // assignment operator
73   //
74   if(&source == this) return *this;
75
76   AliAODRecoDecayLF::operator=(source);
77
78   return *this;
79 }