]> git.uio.no Git - u/mrichter/AliRoot.git/blame - FMD/AliFMDv1.h
Fixed some coding style violations.
[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.
088f8e79 14// Implements the full geometry,
15// And does stepping
16//
37c4363a 17#ifndef ALIFMD_H
97961cbd 18# include "AliFMD.h"
37c4363a 19#endif
20#ifndef ROOT_TLorentzVector
21# include <TLorentzVector.h>
22#endif
23
24//____________________________________________________________________
25class AliFMDv1 : public AliFMD
26{
27public:
90da4514 28 AliFMDv1()
29 : AliFMD(),
30 fCurrentDeltaE(0),
31 fCurrentV(),
32 fCurrentP(),
33 fCurrentPdg(0) { fDetailed = kTRUE; }
37c4363a 34 AliFMDv1(const char *name, const char *title="Detailed geometry")
90da4514 35 : AliFMD(name, title),
36 fCurrentDeltaE(0),
37 fCurrentV(),
38 fCurrentP(),
39 fCurrentPdg(0) { fDetailed = kTRUE; }
37c4363a 40 virtual ~AliFMDv1() {}
41
42 // Required member functions
43 virtual Int_t IsVersion() const {return 1;}
44 virtual void StepManager();
45protected:
54e415a8 46#ifndef USE_PRE_MOVE
47 Bool_t VMC2FMD(TLorentzVector& v, UShort_t& detector,
48 Char_t& ring, UShort_t& sector, UShort_t& strip) const;
49 Bool_t VMC2FMD(Int_t copy, TLorentzVector& v,
50 UShort_t& detector, Char_t& ring,
51 UShort_t& sector, UShort_t& strip) const;
52#endif
53
54 Double_t fCurrentDeltaE; // The current accumulated energy loss
37c4363a 55 TLorentzVector fCurrentV; // Current production vertex
56 TLorentzVector fCurrentP; // Current momentum vector
57 Int_t fCurrentPdg; // Current PDG code
58
54e415a8 59 ClassDef(AliFMDv1,5) // Detailed FMD geometry
37c4363a 60};
61
62#endif
63//____________________________________________________________________
64//
65// Local Variables:
66// mode: C++
67// End:
68//
69// EOF
70//