1 /**************************************************************************
2 * Copyright(c) 1998-2006, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
18 /////////////////////////////////////////////////////////////
20 // Base class for AOD reconstructed2-prong decay
21 // strongly based on AliAODRecoDecayHF2Prong
22 // Author: Ramona Lea (ramona.lea@cern.ch)
23 /////////////////////////////////////////////////////////////
25 #include <TDatabasePDG.h>
26 #include "AliAODRecoDecayLF.h"
27 #include "AliAODRecoDecayLF2Prong.h"
29 ClassImp(AliAODRecoDecayLF2Prong)
31 //--------------------------------------------------------------------------
32 AliAODRecoDecayLF2Prong::AliAODRecoDecayLF2Prong() :
36 // Default Constructor
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)
46 // Constructor with AliAODVertex for decay vertex
50 //--------------------------------------------------------------------------
51 AliAODRecoDecayLF2Prong::AliAODRecoDecayLF2Prong(AliAODVertex *vtx2,
52 Double_t *d0,Double_t *d0err,Float_t dca) :
53 AliAODRecoDecayLF(vtx2,2,0,d0,d0err)
56 // Constructor with AliAODVertex for decay vertex and without prongs momenta
60 //--------------------------------------------------------------------------
61 AliAODRecoDecayLF2Prong::AliAODRecoDecayLF2Prong(const AliAODRecoDecayLF2Prong &source) :
62 AliAODRecoDecayLF(source)
68 //--------------------------------------------------------------------------
69 AliAODRecoDecayLF2Prong &AliAODRecoDecayLF2Prong::operator=(const AliAODRecoDecayLF2Prong &source)
72 // assignment operator
74 if(&source == this) return *this;
76 AliAODRecoDecayLF::operator=(source);