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