]> git.uio.no Git - u/mrichter/AliRoot.git/blame - FMD/AliFMDv1.h
Compiler warnings fixes.
[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:
54e415a8 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
37c4363a 53 TLorentzVector fCurrentV; // Current production vertex
54 TLorentzVector fCurrentP; // Current momentum vector
55 Int_t fCurrentPdg; // Current PDG code
56
54e415a8 57 ClassDef(AliFMDv1,5) // Detailed FMD geometry
37c4363a 58};
59
60#endif
61//____________________________________________________________________
62//
63// Local Variables:
64// mode: C++
65// End:
66//
67// EOF
68//