Put AliFMD, AliFMDv0, and AliFMDv1 in separate header/source files,
[u/mrichter/AliRoot.git] / FMD / AliFMDv1.h
CommitLineData
37c4363a 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//____________________________________________________________________
23class AliFMDv1 : public AliFMD
24{
25public:
26 AliFMDv1() {}
27 AliFMDv1(const char *name, const char *title="Detailed geometry")
28 : AliFMD(name, title, true)
29 {}
30 virtual ~AliFMDv1() {}
31
32 // Required member functions
33 virtual Int_t IsVersion() const {return 1;}
34 virtual void StepManager();
35protected:
36 Double_t fCurrentDeltaE; // The current accumelated energy loss
37 TLorentzVector fCurrentV; // Current production vertex
38 TLorentzVector fCurrentP; // Current momentum vector
39 Int_t fCurrentPdg; // Current PDG code
40
41 ClassDef(AliFMDv1,3) // Detailed FMD geometry
42};
43
44#endif
45//____________________________________________________________________
46//
47// Local Variables:
48// mode: C++
49// End:
50//
51// EOF
52//