AliRoot Core  da88d91 (da88d91)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliFMDv1.h
Go to the documentation of this file.
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  */
16 //____________________________________________________________________
17 //
18 // Manager class for the FMD - Detailed version.
19 // Implements the full geometry,
20 // And does stepping
21 //
22 #ifndef ALIFMD_H
23 # include "AliFMD.h"
24 #endif
25 #ifndef ROOT_TLorentzVector
26 # include <TLorentzVector.h>
27 #endif
28 
29 //____________________________________________________________________
40 class AliFMDv1 : public AliFMD
41 {
42 public:
45  : AliFMD(),
46  fCurrentDeltaE(0),
47  fCurrentV(),
48  fCurrentP(),
49  fCurrentPdg(0) { fDetailed = kTRUE; }
53  AliFMDv1(const char *name, const char *title="Detailed geometry")
54  : AliFMD(name, title),
55  fCurrentDeltaE(0),
56  fCurrentV(),
57  fCurrentP(),
58  fCurrentPdg(0) { fDetailed = kTRUE; }
60  virtual ~AliFMDv1() {}
61 
62  // Required member functions
65  virtual Int_t IsVersion() const {return 1;}
95  virtual void StepManager();
96 protected:
104  Bool_t VMC2FMD(TLorentzVector& v, UShort_t& detector,
105  Char_t& ring, UShort_t& sector, UShort_t& strip) const;
114  Bool_t VMC2FMD(Int_t copy, TLorentzVector& v,
115  UShort_t& detector, Char_t& ring,
116  UShort_t& sector, UShort_t& strip) const;
132  Bool_t CheckHit(Int_t trackno, Int_t pdg, Float_t absQ,
133  const TLorentzVector& p, Float_t edep) const;
134 
135  Double_t fCurrentDeltaE; // The current accumulated energy loss
136  TLorentzVector fCurrentV; // Current production vertex
137  TLorentzVector fCurrentP; // Current momentum vector
138  Int_t fCurrentPdg; // Current PDG code
139 
140  ClassDef(AliFMDv1,5) // Detailed FMD geometry
141 };
142 
143 #endif
144 //____________________________________________________________________
145 //
146 // Local Variables:
147 // mode: C++
148 // End:
149 //
150 // EOF
151 //
ring
Definition: AliFMDv1.cxx:69
AliFMDv1(const char *name, const char *title="Detailed geometry")
Definition: AliFMDv1.h:53
sector
Definition: AliFMDv1.cxx:91
virtual Int_t IsVersion() const
Definition: AliFMDv1.h:65
virtual void StepManager()
Definition: AliFMDv1.cxx:213
Double_t fCurrentDeltaE
Definition: AliFMDv1.h:135
Bool_t VMC2FMD(TLorentzVector &v, UShort_t &detector, Char_t &ring, UShort_t &sector, UShort_t &strip) const
virtual ~AliFMDv1()
Definition: AliFMDv1.h:60
TLorentzVector fCurrentP
Definition: AliFMDv1.h:137
Forward Multiplicity Detector based on Silicon wafers. This class is the driver for especially simula...
Definition: AliFMD.h:306
Forward Multiplicity Detector based on Silicon wafers.
Definition: AliFMDv1.h:40
Bool_t CheckHit(Int_t trackno, Int_t pdg, Float_t absQ, const TLorentzVector &p, Float_t edep) const
Definition: AliFMDv1.cxx:161
TLorentzVector fCurrentV
Definition: AliFMDv1.h:136
Declaration of AliFMD detector driver.
detector
Definition: AliFMDv1.cxx:71
Bool_t fDetailed
Definition: AliFMD.h:604
strip
Definition: AliFMDv1.cxx:85
AliFMDv1()
Definition: AliFMDv1.h:44
Int_t fCurrentPdg
Definition: AliFMDv1.h:138
return kTRUE
Definition: AliFMDv1.cxx:97