QA ref defaut storage setter in sim and rec
[u/mrichter/AliRoot.git] / PWG1 / AliGenKinkInfo.h
CommitLineData
5c7ef659 1#ifndef ALIGENKINKINFO_H
2#define ALIGENKINKINFO_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 AliGenInfo //
10// collect together MC info for comparison purposes - effieciency studies and so on// //
11// marian.ivanov@cern.ch //
12//////////////////////////////////////////////////////////////////////////////
13
14
15
16////////////////////////////////////////////////////////////////////////
17//
18// Start of implementation of the class AliTPCdigitRow
19//
20////////////////////////////////////////////////////////////////////////
21
22#include <TParticle.h>
23#include "AliMCInfo.h"
24
25class TFile;
26class AliRunLoader;
27class AliStack;
28class AliTPCParam;
29
30
31
32
33class AliGenKinkInfo: public TObject {
34public:
35 AliGenKinkInfo(); //default cosntructor
36 void Update(); // put some derived info to special field
37 Float_t GetQt(); //
38 AliMCInfo & GetPlus() {return fMCd;}
39 AliMCInfo & GetMinus() {return fMCm;}
40 void SetInfoDaughter(AliMCInfo &daughter) {fMCd=daughter;}
41 void SetInfoMother(AliMCInfo &mother){fMCm=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 Double_t fMCDist1; //info about closest distance according closest MC - linear DCA
46 Double_t fMCDist2; //info about closest distance parabolic DCA
47 //
48 Double_t fMCPdr[3]; //momentum at vertex daughter - according approx at DCA
49 Double_t fMCPd[4]; //exact momentum from MC info
50 Double_t fMCX[3]; //exact position of the vertex
51 Double_t fMCXr[3]; //rec. position according helix
52 //
53 Double_t fMCPm[3]; //momentum at the vertex mother
54 Double_t fMCAngle[3]; //three angels
55 Double_t fMCRr; // rec position of the vertex
56 Double_t fMCR; //exact r position of the vertex
57 Int_t fPdg[2]; //pdg code of mother and daugter particles
58 Int_t fLab[2]; //MC label of the partecle
59 ClassDef(AliGenKinkInfo,1) // container for
60};
61
62#endif