]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG3/hfe/AliHFEsecVtxs.h
Adding Id to PWG3 classes for better tracking of the coverity defect fixes (Ivana)
[u/mrichter/AliRoot.git] / PWG3 / hfe / AliHFEsecVtxs.h
CommitLineData
27de2dfb 1#ifndef ALIHFESECVTXS_H
2#define ALIHFESECVTXS_H
3
02524e30 4/**************************************************************************
5 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6 * *
7 * Author: The ALICE Off-line Project. *
8 * Contributors are mentioned in the code where appropriate. *
9 * *
10 * Permission to use, copy, modify and distribute this software and its *
11 * documentation strictly for non-commercial purposes is hereby granted *
12 * without fee, provided that the above copyright notice appears in all *
13 * copies and that both the copyright notice and this permission notice *
14 * appear in the supporting documentation. The authors make no claims *
15 * about the suitability of this software for any purpose. It is *
16 * provided "as is" without express or implied warranty. *
17 **************************************************************************/
27de2dfb 18
19/* $Id$ */
20
02524e30 21//
22// Secondary vertexing container to store secondary vertex characteristics of
23// 2 or 3 particle sec vertex
24// from example, qusi-invariant mass, signed Lxy are stored
25//
26
02524e30 27#ifndef ROOT_TObject
28#include <TObject.h>
29#endif
30
31//________________________________________________________________
32class AliHFEsecVtxs : public TObject {
33
34 public:
35 AliHFEsecVtxs();
36 AliHFEsecVtxs(const AliHFEsecVtxs &p); // copy constructor
37 AliHFEsecVtxs &operator=(const AliHFEsecVtxs &); // assignment operator
38 virtual ~AliHFEsecVtxs();
39
40 Int_t GetTrkLabel1() const {return fTrkLabel1;}
41 Int_t GetTrkLabel2() const {return fTrkLabel2;}
faee3b18 42 Int_t GetMCCode() const {return fMCCode;}
02524e30 43 Double_t GetInvmass() const {return fInvmass;}
44 Double_t GetKFChi2() const {return fKFChi2;}
45 Double_t GetSignedLxy() const {return fSignedLxy;}
faee3b18 46 Double_t GetSignedLxy2() const {return fSignedLxy2;}
02524e30 47 Double_t GetKFIP() const {return fKFIP;}
faee3b18 48 Double_t GetKFIP2() const {return fKFIP2;}
02524e30 49
50 void SetTrkLabel1(Int_t label) {fTrkLabel1 = label;}
51 void SetTrkLabel2(Int_t label) {fTrkLabel2 = label;}
52 void SetInvmass(Double_t invmass) {fInvmass = invmass;}
53 void SetKFChi2(Double_t kfchi2) {fKFChi2 = kfchi2;}
54 void SetSignedLxy(Double_t signedlxy) {fSignedLxy = signedlxy;}
faee3b18 55 void SetSignedLxy2(Double_t signedlxy2) {fSignedLxy2 = signedlxy2;}
02524e30 56 void SetKFIP(Double_t kfip) {fKFIP = kfip;}
faee3b18 57 void SetKFIP2(Double_t kfip2) {fKFIP2 = kfip2;}
58 void SetMCCode(Int_t mccode) {fMCCode = mccode;}
02524e30 59
60 protected:
61 Int_t fTrkLabel1; // track 1 label associated to secvtx
62 Int_t fTrkLabel2; // track 2 label associated to secvtx
faee3b18 63 Int_t fMCCode; // track mc code
02524e30 64 Double_t fInvmass; // secvtx invariant mass
65 Double_t fKFChi2; // secvtx chi2
66 Double_t fSignedLxy; // secvtx signed Lxy
faee3b18 67 Double_t fSignedLxy2; // recalculated secvtx signed Lxy
68 Double_t fKFIP; // secvtx impact parameter
69 Double_t fKFIP2; // recalculated secvtx impact parameter
02524e30 70
71 private:
72
faee3b18 73 ClassDef(AliHFEsecVtxs,1);
02524e30 74};
75
76#endif