]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONTriggerCircuit.h
AliMUONTriggerQADataMakerRec:
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerCircuit.h
index dd99a1f454026f84502c07e0dc50d6e09b979ad6..03fc5018063d3e40772579fabd6d9402bc345e85 100644 (file)
@@ -6,7 +6,7 @@
 /* $Id$ */
 // Revision of includes 07/05/2004
 //
-/// \ingroup trigger
+/// \ingroup base
 /// \class AliMUONTriggerCircuit
 /// \brief MUON Trigger circuit
 ///
 #include <TObject.h>
 #include <TArrayF.h>
 
-#include "AliMpPad.h"
-#include "AliMpVSegmentation.h"
-#include "AliMUONGeometryTransformer.h"
-
 class AliMpLocalBoard;
+class AliMUONGeometryTransformer;
+class AliMpPad;
+class AliMpVSegmentation;
 
 class AliMUONTriggerCircuit : public TObject 
 {
@@ -41,14 +40,15 @@ public:
   //  void dump(const char* what, const Int_t* array, Int_t size);
   
   /// Set pointer to transformations
-  void  SetTransformer(const AliMUONGeometryTransformer* transformer) {fTransformer = transformer;}
+  void  SetTransformer(const AliMUONGeometryTransformer* transformer) {fkTransformer = transformer;}
   /// Get pointer to transformations
-  const AliMUONGeometryTransformer* GetTransformer() const {return fTransformer;}
-
+  const AliMUONGeometryTransformer* GetTransformer() const {return fkTransformer;}
+  Float_t PtCal(Int_t localBoardId, Int_t istripX, Int_t idev, Int_t istripY) const;
+  
 private:
 
-  void LoadYPos(AliMpLocalBoard* localBoard);
-  void LoadXPos(AliMpLocalBoard* localBoard);
+  void LoadYPos(AliMpLocalBoard* const localBoard);
+  void LoadXPos(AliMpLocalBoard* const localBoard);
 
   Int_t FirstStrip(AliMpLocalBoard* localBoard);
 
@@ -69,8 +69,8 @@ private:
   TArrayF fYpos11[235];         ///< Y position of X strips in MC11
   TArrayF fYpos21[235];         ///< Y position of X strips in MC21
 
-  const AliMUONGeometryTransformer* fTransformer; //!< pointer to transformation
-  const AliMpVSegmentation* fCurrentSeg;          //!< current segmentation
+  const AliMUONGeometryTransformer* fkTransformer; //!< pointer to transformation
+  const AliMpVSegmentation* fkCurrentSeg;          //!< current segmentation
 
   Int_t fCurrentDetElem;                          //!< current detection elt id
   Int_t fCurrentLocalBoard;                       //!< current local board id