]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG1/AliGenV0Info.h
Load pythia libraries.
[u/mrichter/AliRoot.git] / PWG1 / AliGenV0Info.h
CommitLineData
5c7ef659 1#ifndef ALIGENV0INFO_H
2#define ALIGENV0INFO_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6
7
8//////////////////////////////////////////////////////////////////////////////
9// Class AliGenV0Info //
10// collect together MC info for comparison purposes - effieciency studies and so on// //
11// marian.ivanov@cern.ch //
12//////////////////////////////////////////////////////////////////////////////
13
14
15
5c7ef659 16#include <TParticle.h>
17#include "AliMCInfo.h"
18
19class TFile;
20class AliRunLoader;
21class AliStack;
22class AliTPCParam;
23
24
25
26
27class AliGenV0Info: public TObject {
28public:
29 AliGenV0Info(); //
30 void Update(Float_t vertex[3]);
31 AliMCInfo & GetPlus() {return fMCd;}
32 AliMCInfo & GetMinus() {return fMCm;}
f16481f0 33 TParticle & GetMother() {return fMotherP;}
5c7ef659 34 Double_t GetMCDist1() const { return fMCDist1;}
35 Double_t GetMCDist2() const {return fMCDist2;}
36 const Double_t* GetMCPdr() const {return fMCPdr;}
37 const Double_t* GetMCPd() const {return fMCPd;}
38 const Double_t* GetMCX() const {return fMCX;}
5c7ef659 39 void SetInfoP(AliMCInfo &plus) {fMCd=plus;}
40 void SetInfoM(AliMCInfo &minus){fMCm=minus;}
41 void SetMother(TParticle&mother){fMotherP=mother;}
42private:
43 AliMCInfo fMCd; //info about daughter particle - second particle for V0
44 AliMCInfo fMCm; //info about mother particle - first particle for V0
45 TParticle fMotherP; //particle info about mother particle
46 Double_t fMCDist1; //info about closest distance according closest MC - linear DCA
47 Double_t fMCDist2; //info about closest distance parabolic DCA
48 //
49 Double_t fMCPdr[3]; //momentum at vertex daughter - according approx at DCA
50 Double_t fMCPd[4]; //exact momentum from MC info
51 Double_t fMCX[3]; //exact position of the vertex
52 Double_t fMCXr[3]; //rec. position according helix
53 //
54 Double_t fMCPm[3]; //momentum at the vertex mother
55 Double_t fMCAngle[3]; //three angels
56 Double_t fMCRr; // rec position of the vertex
57 Double_t fMCR; //exact r position of the vertex
58 Int_t fPdg[2]; //pdg code of mother and daugter particles
59 Int_t fLab[2]; //MC label of the partecle
60 //
61 Double_t fInvMass; //reconstructed invariant mass -
62 Float_t fPointAngleFi; //point angle fi
63 Float_t fPointAngleTh; //point angle theta
64 Float_t fPointAngle; //point angle full
65 //
66 ClassDef(AliGenV0Info,1) // container for
67};
68
69
70
71#endif