]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG3/hfe/AliHFEsecVtxs.h
24a9449523936d231229f734c564b3b4578f911b
[u/mrichter/AliRoot.git] / PWG3 / hfe / AliHFEsecVtxs.h
1 /**************************************************************************
2  * Copyright(c) 1998-1999, 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 //  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
19 //
20
21 #ifndef ALIHFESECVTXS_H
22 #define ALIHFESECVTXS_H
23
24 #ifndef ROOT_TObject
25 #include <TObject.h>
26 #endif
27
28 //________________________________________________________________
29 class AliHFEsecVtxs : public TObject {
30
31         public: 
32                 AliHFEsecVtxs();
33                 AliHFEsecVtxs(const AliHFEsecVtxs &p); // copy constructor
34                 AliHFEsecVtxs &operator=(const AliHFEsecVtxs &); // assignment operator
35                 virtual ~AliHFEsecVtxs();
36
37                 Int_t GetTrkLabel1() const {return fTrkLabel1;}
38                 Int_t GetTrkLabel2() const {return fTrkLabel2;}
39                 Double_t GetInvmass() const {return fInvmass;}
40                 Double_t GetKFChi2() const {return fKFChi2;}
41                 Double_t GetSignedLxy() const {return fSignedLxy;}
42                 Double_t GetKFIP() const {return fKFIP;}
43
44                 void SetTrkLabel1(Int_t label) {fTrkLabel1 = label;}
45                 void SetTrkLabel2(Int_t label) {fTrkLabel2 = label;}
46                 void SetInvmass(Double_t invmass) {fInvmass = invmass;}
47                 void SetKFChi2(Double_t kfchi2) {fKFChi2 = kfchi2;}
48                 void SetSignedLxy(Double_t signedlxy) {fSignedLxy = signedlxy;}
49                 void SetKFIP(Double_t kfip) {fKFIP = kfip;}
50
51         protected:
52                 Int_t fTrkLabel1;    // track 1 label associated to secvtx 
53                 Int_t fTrkLabel2;    // track 2 label associated to secvtx
54                 Double_t fInvmass;   // secvtx invariant mass
55                 Double_t fKFChi2;    // secvtx chi2 
56                 Double_t fSignedLxy; // secvtx signed Lxy
57                 Double_t fKFIP;      // secvtx impact parameter 
58
59         private:
60
61         ClassDef(AliHFEsecVtxs,0);
62 };
63
64 #endif