Keep e+e- from pair production of primary gammas.
[u/mrichter/AliRoot.git] / PWG3 / muon / AliAODMuonPair.h
CommitLineData
4292b3b6 1#ifndef ALIAODMUONPAIR_H
2#define ALIAODMUONPAIR_H
3
4#include <TObject.h>
5#include <TRef.h>
6#include <TLorentzVector.h>
7
8#include "AliAODMuonTrack.h"
9
10class AliAODMuonPair : public TObject {
11 public:
12
13 AliAODMuonPair();
14 AliAODMuonPair(AliAODMuonTrack *trk0, AliAODMuonTrack *trk1);
15 virtual ~AliAODMuonPair();
16
17 AliAODMuonTrack* GetTrack(Int_t i) const { return (i<2 ? (AliAODMuonTrack*)(fTrk[i].GetObject()) : 0x0); }
18
19 TLorentzVector GetP() const { return fP; }
20 Int_t GetCharge() const { return fCharge; }
21 Int_t GetMuMatchTrigger(Int_t i) const { return (i<2 ? fTrigger[i] : -9999 ); }
22 Double_t GetMuDCA(Int_t i) const { return (i<2 ? fDca[i] : -9999.); }
23 Double_t GetMuChi2(Int_t i) const { return (i<2 ? fChi2[i] : -9999.); }
24
25 protected:
26
27 TRef fTrk[2];
28 void FillPairInfo();
29
30 private:
31
32
33 TLorentzVector fP;
34 Int_t fCharge;
35 Int_t fTrigger[2];
36 Double_t fDca[2];
37 Double_t fChi2[2];
38
39 ClassDef(AliAODMuonPair, 3);
40};
41
42#endif