]>
Commit | Line | Data |
---|---|---|
fd1d0cb9 | 1 | #ifndef ALIDIMUINFOSTOREMC_H |
2 | #define ALIDIMUINFOSTOREMC_H | |
3 | ||
4 | /* Copyright(c) 1998-2006, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
27de2dfb | 7 | /* $Id$ */ |
8 | ||
fd1d0cb9 | 9 | //*********************************************************** |
10 | // Class AliDimuInfoStoreMC | |
11 | // class used to extract and store info of MC particles | |
12 | // Author: X-M. Zhang, zhang@clermont.in2p3.fr | |
13 | // zhangxm@iopp.ccnu.edu.cn | |
14 | //*********************************************************** | |
15 | ||
16 | #include <TLorentzVector.h> | |
17 | #include "AliDimuInfoStoreRD.h" | |
18 | ||
19 | class AliMuonInfoStoreMC; | |
20 | class AliDimuInfoStoreMC : public AliDimuInfoStoreRD { | |
21 | public: | |
22 | ||
23 | AliDimuInfoStoreMC(); | |
9bbc42ca | 24 | AliDimuInfoStoreMC(AliMuonInfoStoreMC *trk0, AliMuonInfoStoreMC *trk1, UInt_t selMask, Bool_t full=kFALSE); |
fd1d0cb9 | 25 | AliDimuInfoStoreMC(const AliDimuInfoStoreMC &src); |
26 | AliDimuInfoStoreMC& operator=(const AliDimuInfoStoreMC &src); | |
27 | virtual ~AliDimuInfoStoreMC(); | |
28 | ||
29 | AliMuonInfoStoreMC* Muon(Int_t i) const { return (i<2 ? (AliMuonInfoStoreMC*)(fMuonRef[i].GetObject()) : 0x0); } | |
30 | ||
31 | TLorentzVector LorentzP() const { return fLorentzP; } | |
1195bb6f | 32 | Int_t Source() const { return fSource; } |
fd1d0cb9 | 33 | |
34 | static const char* StdBranchName() { return fgkStdBranchName.Data(); } | |
1195bb6f | 35 | static Int_t SourcesN() { return fgkSourcesN; } |
fd1d0cb9 | 36 | |
37 | ||
38 | private: | |
39 | ||
40 | void FindDimuonSourceFast(); | |
41 | void FindDimuonSourceFull(); | |
42 | ||
43 | static const TString fgkStdBranchName; // Standard branch name | |
1195bb6f | 44 | static const Int_t fgkSourcesN; // num. of dimuon sources |
fd1d0cb9 | 45 | |
9bbc42ca | 46 | Bool_t fIsFull; // flag of using full analysis (for Pb-Pb) |
fd1d0cb9 | 47 | TLorentzVector fLorentzP; // lorentz momentum of MC particle |
48 | Int_t fSource; // = 0, BBdiff | |
49 | // = 1, Bchain | |
50 | // = 2, DDdiff | |
51 | // = 3, Dchain | |
52 | // = 4, Resonance | |
53 | // = 5, UnCorr bkg | |
54 | ||
9bbc42ca | 55 | ClassDef(AliDimuInfoStoreMC, 7); |
fd1d0cb9 | 56 | }; |
57 | ||
58 | #endif |