]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliESDV0MI.h
Storing the trigger class mask into the raw data header. Should be ok for TPC,PHOS...
[u/mrichter/AliRoot.git] / STEER / AliESDV0MI.h
CommitLineData
51ad6848 1#ifndef ALIESDV0MI_H
2#define ALIESDV0MI_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id$ */
8
9//-------------------------------------------------------------------------
10// ESD V0 Vertex Class
11// This class is part of the Event Summary Data set of classes
12// Origin: Marian Ivanov marian.ivanov@cern.ch
13//-------------------------------------------------------------------------
14
0703142d 15#include "AliESDv0.h"
c1e38247 16#include "AliESDV0MIParams.h"
51ad6848 17#include "AliExternalTrackParam.h"
51ad6848 18
19class AliESDtrack;
20
c1e38247 21
51ad6848 22class AliESDV0MI : public AliESDv0 {
23public:
7c97ee80 24 // friend class AliITStrackerMI;
51ad6848 25 AliESDV0MI(); //constructor
c1e38247 26 Double_t GetSigmaY(); // sigma of y coordinate at vertex posistion
27 Double_t GetSigmaZ(); // sigma of z coordinate at vertex posistion
28 Double_t GetSigmaAP0(); // calculate sigma of Point angle resolution at vertex pos.
29 Double_t GetSigmaD0(); // calculate sigma of position resolution at vertex pos.
30 Double_t GetEffectiveSigmaAP0(); // calculate sigma of point angle resolution at vertex pos. effecive parameterization
31 Double_t GetEffectiveSigmaD0(); // calculate sigma of position resolution at vertex pos.
32 Double_t GetMinimaxSigmaAP0(); // calculate mini-max sigma of point angle resolution
33 Double_t GetMinimaxSigmaD0(); // calculate mini-max sigma of dca resolution
34 Double_t GetLikelihoodAP(Int_t mode0, Int_t mode1); // get likelihood for point angle
35 Double_t GetLikelihoodD(Int_t mode0, Int_t mode1); // get likelihood for DCA
36 Double_t GetLikelihoodC(Int_t mode0, Int_t mode1); // get likelihood for Causality
37 //
51ad6848 38 //
81e97e0d 39 const AliExternalTrackParam *GetParamP() const {return &fParamP;}
40 const AliExternalTrackParam *GetParamM() const {return &fParamM;}
c1e38247 41 static const AliESDV0MIParams & GetParameterization(){return fgkParams;}
51ad6848 42 void SetP(const AliExternalTrackParam & paramp);
43 void SetM(const AliExternalTrackParam & paramd);
81e97e0d 44 void SetRp(const Double_t *rp);
45 void SetRm(const Double_t *rm);
51ad6848 46 void UpdatePID(Double_t pidp[5], Double_t pidm[5]);
81e97e0d 47 void SetStatus(Int_t status){fStatus=status;}
48 Int_t GetStatus() const {return fStatus;}
51ad6848 49 Float_t GetEffMass(UInt_t p1, UInt_t p2);
50 Float_t GetProb(UInt_t p1, UInt_t p2);
51 void Update(Float_t vertex[3]); //update
52 void SetID(Int_t id){fID =id;}
0703142d 53 Int_t GetID() const { return fID;}
54 Int_t GetIndex(Int_t i) const {return fIndex[i];}
55 void SetIndex(Int_t i, Int_t ind) {fIndex[i]=ind;}
56 void SetDist1(Double_t d1) {fDist1=d1;}
57 void SetDist2(Double_t d2) {fDist2=d2;}
58 Double_t GetDist1() const {return fDist1;}
59 Double_t GetDist2() const {return fDist2;}
60 Double_t *GetAnglep() {return fAngle;}
61 Double_t GetRr() const {return fRr;}
62 void SetRr(Double_t rr) {fRr=rr;}
63 Double_t *GetPMp() {return fPM;}
64 Double_t *GetPPp() {return fPP;}
65 Double_t *GetXrp() {return fXr;}
66 Double_t GetXr(Int_t i) const {return fXr[i];}
67 Double_t GetDistSigma() const {return fDistSigma;}
68 void SetDistSigma(Double_t ds) {fDistSigma=ds;}
69 Double_t GetDistNorm() const {return fDistNorm;}
70 void SetDistNorm(Double_t ds) {fDistNorm=ds;}
71 Float_t GetChi2Before() const {return fChi2Before;}
72 void SetChi2Before(Float_t cb) {fChi2Before=cb;}
73 Float_t GetChi2After() const {return fChi2After;}
74 void SetChi2After(Float_t ca) {fChi2After=ca;}
75 Float_t GetPointAngle() const {return fPointAngle;}
76 void SetOrder(Int_t i, Int_t ord) {fOrder[i]=ord;}
77 Float_t GetNAfter() const {return fNAfter;}
78 void SetNAfter(Float_t na) {fNAfter=na;}
79 Float_t GetNBefore() const {return fNBefore;}
80 void SetNBefore(Float_t nb) {fNBefore=nb;}
fb37d34d 81 Int_t GetLab(Int_t i) const {return fLab[i];}
82 void SetLab(Int_t i, Int_t lab) {fLab[i]=lab;}
81e97e0d 83 void SetCausality(Float_t pb0, Float_t pb1, Float_t pa0, Float_t pa1);
84 const Float_t * GetCausalityP() const {return fCausality;}
6605de26 85 void SetClusters(Int_t *clp, Int_t *clm);
86 const Int_t * GetClusters(Int_t i) const {return fClusters[i];}
29641977 87 void SetNormDCAPrim(Float_t nd0, Float_t nd1){fNormDCAPrim[0] = nd0; fNormDCAPrim[1]=nd1;}
c1e38247 88 const Float_t *GetNormDCAPrimP() const {return fNormDCAPrim;}
0703142d 89private:
c1e38247 90 AliExternalTrackParam fParamP; // external parameters of positive particle
91 AliExternalTrackParam fParamM; // external parameters of negative particle
51ad6848 92 Float_t fRP[5]; // combined pid positive
93 Float_t fRM[5]; // combined pid positive
c1e38247 94 Int_t fID; // ID number of the V0 in the ESDV0 container
6605de26 95 Int_t fLab[2]; // MC label of the particle
96 Int_t fIndex[2]; // reconstructed labels of the tracks
97 Int_t fClusters[2][6]; //! its clusters
51ad6848 98 //
99 //
c1e38247 100 Float_t fNormDCAPrim[2]; // normalize distance to the priary vertex
51ad6848 101 Double_t fDist1; //info about closest distance according closest MC - linear DCA
102 Double_t fDist2; //info about closest distance parabolic DCA
103 //
104 Double_t fPP[3]; //momentum positive - according approx at DCA
105 Double_t fPM[3]; //momentum negative
106 //
107 Double_t fXr[3]; //rec. position according helix
108 Double_t fAngle[3]; //three angles
109 Double_t fRr; //rec position of the vertex
c1e38247 110 Int_t fStatus; //status
51ad6848 111 Int_t fRow0; // critical layer
112 Int_t fOrder[3]; //order of the vertex
113 // quality information
114 Double_t fDistNorm; //normalized DCA
115 Double_t fDistSigma; //sigma of distance
81e97e0d 116 Float_t fCausality[4]; // causality information - see comments in SetCausality
51ad6848 117 Float_t fChi2Before; //chi2 of the tracks before V0
118 Float_t fNBefore; // number of possible points before V0
119 Float_t fChi2After; // chi2 of the tracks after V0
120 Float_t fNAfter; // number of possible points after V0
121 Float_t fPointAngleFi; //point angle fi
122 Float_t fPointAngleTh; //point angle theta
29641977 123 Double_t fPointAngle; //point angle full
c1e38247 124 //
125 // parameterization coefficients
126 static AliESDV0MIParams fgkParams; // resolution and likelihood parameterization
29641977 127 ClassDef(AliESDV0MI,4) // ESD V0 vertex
51ad6848 128};
129
130
51ad6848 131#endif