1 /**************************************************************************
2 * Copyright(c) 1998-1999, 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 **************************************************************************/
16 // Secondary vertexing container to store secondary vertex characteristics of
17 // 2 or 3 particle sec vertex
18 // from example, qusi-invariant mass, signed Lxy are stored
21 #ifndef ALIHFESECVTXS_H
22 #define ALIHFESECVTXS_H
28 //________________________________________________________________
29 class AliHFEsecVtxs : public TObject {
33 AliHFEsecVtxs(const AliHFEsecVtxs &p); // copy constructor
34 AliHFEsecVtxs &operator=(const AliHFEsecVtxs &); // assignment operator
35 virtual ~AliHFEsecVtxs();
37 Int_t GetTrkLabel1() const {return fTrkLabel1;}
38 Int_t GetTrkLabel2() const {return fTrkLabel2;}
39 Int_t GetMCCode() const {return fMCCode;}
40 Double_t GetInvmass() const {return fInvmass;}
41 Double_t GetKFChi2() const {return fKFChi2;}
42 Double_t GetSignedLxy() const {return fSignedLxy;}
43 Double_t GetSignedLxy2() const {return fSignedLxy2;}
44 Double_t GetKFIP() const {return fKFIP;}
45 Double_t GetKFIP2() const {return fKFIP2;}
47 void SetTrkLabel1(Int_t label) {fTrkLabel1 = label;}
48 void SetTrkLabel2(Int_t label) {fTrkLabel2 = label;}
49 void SetInvmass(Double_t invmass) {fInvmass = invmass;}
50 void SetKFChi2(Double_t kfchi2) {fKFChi2 = kfchi2;}
51 void SetSignedLxy(Double_t signedlxy) {fSignedLxy = signedlxy;}
52 void SetSignedLxy2(Double_t signedlxy2) {fSignedLxy2 = signedlxy2;}
53 void SetKFIP(Double_t kfip) {fKFIP = kfip;}
54 void SetKFIP2(Double_t kfip2) {fKFIP2 = kfip2;}
55 void SetMCCode(Int_t mccode) {fMCCode = mccode;}
58 Int_t fTrkLabel1; // track 1 label associated to secvtx
59 Int_t fTrkLabel2; // track 2 label associated to secvtx
60 Int_t fMCCode; // track mc code
61 Double_t fInvmass; // secvtx invariant mass
62 Double_t fKFChi2; // secvtx chi2
63 Double_t fSignedLxy; // secvtx signed Lxy
64 Double_t fSignedLxy2; // recalculated secvtx signed Lxy
65 Double_t fKFIP; // secvtx impact parameter
66 Double_t fKFIP2; // recalculated secvtx impact parameter
70 ClassDef(AliHFEsecVtxs,1);