]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG3/hfe/AliHFEpairs.h
New classes (Markus)
[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
21#ifndef ALIHFEPAIRS_H
22#define ALIHFEPAIRS_H
23
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;}
44 Double_t GetKFIP() const {return fKFIP;}
45
46 void SetTrkLabel(Int_t label) {fTrkLabel = label;}
47 void SetInvmass(Double_t invmass) {fInvmass = invmass;}
48 void SetKFChi2(Double_t kfchi2) {fKFChi2 = kfchi2;}
49 void SetOpenangle(Double_t openangle) {fOpenangle = openangle;}
50 void SetCosOpenangle(Double_t cosopenangle) {fCosOpenangle = cosopenangle;}
51 void SetSignedLxy(Double_t signedlxy) {fSignedLxy = signedlxy;}
52 void SetKFIP(Double_t kfip) {fKFIP = kfip;}
53 void SetPairCode(Int_t paircode) {fPairCode = paircode;}
54
55 protected:
56
57 Int_t fTrkLabel; // paired track label
58 Int_t fPairCode; // paired track mc code
59 Double_t fInvmass; // pair invariant mass
60 Double_t fKFChi2; // pair kf vertex chi2
61 Double_t fOpenangle; // pair opening angle
62 Double_t fCosOpenangle; // pair cos(opening angle)
63 Double_t fSignedLxy; // pair signed Lxy
64 Double_t fKFIP; // impact parameter of the pair
65
66 private:
67
68 ClassDef(AliHFEpairs,0);
69};
70
71#endif