]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG3/hfe/AliHFEpairs.h
Added pass1 and pass2 directories
[u/mrichter/AliRoot.git] / PWG3 / hfe / AliHFEpairs.h
CommitLineData
27de2dfb 1#ifndef ALIHFEPAIRS_H
2#define ALIHFEPAIRS_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// Container class to store pair characteristics
23// for secondary vertex analysis
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 AliHFEpairs : public TObject {
33
34 public:
35 AliHFEpairs();
36 AliHFEpairs(const AliHFEpairs &p); // copy constructor
37 AliHFEpairs &operator=(const AliHFEpairs &); // assignment operator
38 virtual ~AliHFEpairs();
39
40 Int_t GetTrkLabel() const {return fTrkLabel;}
41 Int_t GetPairCode() const {return fPairCode;}
42 Double_t GetInvmass() const {return fInvmass;}
43 Double_t GetKFChi2() const {return fKFChi2;}
44 Double_t GetOpenangle() const {return fOpenangle;}
45 Double_t GetCosOpenangle() const {return fCosOpenangle;}
46 Double_t GetSignedLxy() const {return fSignedLxy;}
faee3b18 47 Double_t GetSignedLxy2() const {return fSignedLxy2;}
02524e30 48 Double_t GetKFIP() const {return fKFIP;}
faee3b18 49 Double_t GetKFIP2() const {return fKFIP2;}
02524e30 50
51 void SetTrkLabel(Int_t label) {fTrkLabel = label;}
52 void SetInvmass(Double_t invmass) {fInvmass = invmass;}
53 void SetKFChi2(Double_t kfchi2) {fKFChi2 = kfchi2;}
54 void SetOpenangle(Double_t openangle) {fOpenangle = openangle;}
55 void SetCosOpenangle(Double_t cosopenangle) {fCosOpenangle = cosopenangle;}
56 void SetSignedLxy(Double_t signedlxy) {fSignedLxy = signedlxy;}
faee3b18 57 void SetSignedLxy2(Double_t signedlxy2) {fSignedLxy2 = signedlxy2;}
02524e30 58 void SetKFIP(Double_t kfip) {fKFIP = kfip;}
faee3b18 59 void SetKFIP2(Double_t kfip2) {fKFIP2 = kfip2;}
02524e30 60 void SetPairCode(Int_t paircode) {fPairCode = paircode;}
61
62 protected:
63
64 Int_t fTrkLabel; // paired track label
65 Int_t fPairCode; // paired track mc code
66 Double_t fInvmass; // pair invariant mass
67 Double_t fKFChi2; // pair kf vertex chi2
68 Double_t fOpenangle; // pair opening angle
69 Double_t fCosOpenangle; // pair cos(opening angle)
70 Double_t fSignedLxy; // pair signed Lxy
faee3b18 71 Double_t fSignedLxy2; // recalculated pair signed Lxy
02524e30 72 Double_t fKFIP; // impact parameter of the pair
faee3b18 73 Double_t fKFIP2; // recalculated impact parameter of the pair
02524e30 74
75 private:
76
77 ClassDef(AliHFEpairs,0);
78};
79
80#endif