]> git.uio.no Git - u/mrichter/AliRoot.git/blame - FMD/AliFMDv1.h
Minor fix to env var.
[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
97961cbd 16# include "AliFMD.h"
37c4363a 17#endif
18#ifndef ROOT_TLorentzVector
19# include <TLorentzVector.h>
20#endif
21
22//____________________________________________________________________
23class AliFMDv1 : public AliFMD
24{
25public:
90da4514 26 AliFMDv1()
27 : AliFMD(),
28 fCurrentDeltaE(0),
29 fCurrentV(),
30 fCurrentP(),
31 fCurrentPdg(0) { fDetailed = kTRUE; }
37c4363a 32 AliFMDv1(const char *name, const char *title="Detailed geometry")
90da4514 33 : AliFMD(name, title),
34 fCurrentDeltaE(0),
35 fCurrentV(),
36 fCurrentP(),
37 fCurrentPdg(0) { fDetailed = kTRUE; }
37c4363a 38 virtual ~AliFMDv1() {}
39
40 // Required member functions
41 virtual Int_t IsVersion() const {return 1;}
42 virtual void StepManager();
43protected:
44 Double_t fCurrentDeltaE; // The current accumelated energy loss
45 TLorentzVector fCurrentV; // Current production vertex
46 TLorentzVector fCurrentP; // Current momentum vector
47 Int_t fCurrentPdg; // Current PDG code
48
1a1fdef7 49 ClassDef(AliFMDv1,4) // Detailed FMD geometry
37c4363a 50};
51
52#endif
53//____________________________________________________________________
54//
55// Local Variables:
56// mode: C++
57// End:
58//
59// EOF
60//