]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIFMDV1_H | |
2 | #define ALIFMDV1_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights | |
4 | * reserved. | |
5 | * | |
6 | * Latest changes by Christian Holm Christensen <cholm@nbi.dk> | |
7 | * | |
8 | * See cxx source for full Copyright notice | |
9 | */ | |
10 | ||
11 | //____________________________________________________________________ | |
12 | // | |
13 | // Manager class for the FMD - Detailed version. | |
14 | // | |
15 | #ifndef ALIFMD_H | |
16 | # include "AliFMD.h" | |
17 | #endif | |
18 | #ifndef ROOT_TLorentzVector | |
19 | # include <TLorentzVector.h> | |
20 | #endif | |
21 | ||
22 | //____________________________________________________________________ | |
23 | class AliFMDv1 : public AliFMD | |
24 | { | |
25 | public: | |
26 | AliFMDv1() | |
27 | : AliFMD(), | |
28 | fCurrentDeltaE(0), | |
29 | fCurrentV(), | |
30 | fCurrentP(), | |
31 | fCurrentPdg(0) { fDetailed = kTRUE; } | |
32 | AliFMDv1(const char *name, const char *title="Detailed geometry") | |
33 | : AliFMD(name, title), | |
34 | fCurrentDeltaE(0), | |
35 | fCurrentV(), | |
36 | fCurrentP(), | |
37 | fCurrentPdg(0) { fDetailed = kTRUE; } | |
38 | virtual ~AliFMDv1() {} | |
39 | ||
40 | // Required member functions | |
41 | virtual Int_t IsVersion() const {return 1;} | |
42 | virtual void StepManager(); | |
43 | protected: | |
44 | #ifndef USE_PRE_MOVE | |
45 | Bool_t VMC2FMD(TLorentzVector& v, UShort_t& detector, | |
46 | Char_t& ring, UShort_t& sector, UShort_t& strip) const; | |
47 | Bool_t VMC2FMD(Int_t copy, TLorentzVector& v, | |
48 | UShort_t& detector, Char_t& ring, | |
49 | UShort_t& sector, UShort_t& strip) const; | |
50 | #endif | |
51 | ||
52 | Double_t fCurrentDeltaE; // The current accumulated energy loss | |
53 | TLorentzVector fCurrentV; // Current production vertex | |
54 | TLorentzVector fCurrentP; // Current momentum vector | |
55 | Int_t fCurrentPdg; // Current PDG code | |
56 | ||
57 | ClassDef(AliFMDv1,5) // Detailed FMD geometry | |
58 | }; | |
59 | ||
60 | #endif | |
61 | //____________________________________________________________________ | |
62 | // | |
63 | // Local Variables: | |
64 | // mode: C++ | |
65 | // End: | |
66 | // | |
67 | // EOF | |
68 | // |