LCOV - code coverage report
Current view: top level - ITSMFT/MFT/MFTbase - AliMFTSegmentation.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 3 33.3 %
Date: 2016-06-14 17:26:59 Functions: 1 9 11.1 %

          Line data    Source code
       1             : #ifndef AliMFTSegmentation_H
       2             : #define AliMFTSegmentation_H
       3             : 
       4             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       5             :  * See cxx source for full Copyright notice                               */
       6             : 
       7             : // $Id$
       8             : 
       9             : /// \ingroup MFTbase
      10             : /// \class AliMFTSegmentation
      11             : /// \brief Class for the virtual segmentation of the ALICE Muon Forward Tracker
      12             : ///
      13             : /// \author Raphael Tieulent <raphael.tieulent@cern.ch>
      14             : /// \date June 9th, 2015
      15             : 
      16             : #include "TNamed.h"
      17             : #include "TClonesArray.h"
      18             : class AliMFTHalfSegmentation;
      19             : class AliMFTPlane;
      20             : 
      21             : //====================================================================================================================================================
      22             : 
      23           0 : class AliMFTSegmentation : public TNamed {
      24             : 
      25             : public:
      26             :   
      27             :   enum THalfMFTType { kBottom, kTop };
      28             : 
      29             :   AliMFTSegmentation();
      30             :   AliMFTSegmentation(const Char_t *nameGeomFile);
      31             :   
      32             :   virtual ~AliMFTSegmentation();
      33             :   virtual void Clear(const Option_t* /*opt*/);
      34             : 
      35             :   /// \brief Returns pointer to the segmentation of the half-MFT
      36             :   /// \param iHalf Integer : 0 = Bottom; 1 = Top
      37             :   /// \return Pointer to a AliMFTHalfSegmentation
      38           0 :   AliMFTHalfSegmentation* GetHalf(Int_t iHalf) const { return ((iHalf==kTop || iHalf==kBottom) ? ( (AliMFTHalfSegmentation*) fMFTHalves->At(iHalf)) :  NULL); }
      39             : 
      40             :   Int_t GetDetElemLocalID(Int_t half, Int_t disk, Int_t ladder, Int_t sensor) const;
      41             :   
      42             :   Bool_t Hit2PixelID(Double_t xHit, Double_t yHit, Double_t zHit, Int_t half, Int_t disk, Int_t ladder, Int_t sensor, Int_t &xPixel, Int_t &yPixel);
      43             : 
      44             : 
      45             : private:
      46             : 
      47             :   TClonesArray *fMFTHalves; ///< \brief Array of pointer to AliMFTHalfSegmentation
      48             : 
      49             :   /// \cond CLASSIMP
      50          14 :   ClassDef(AliMFTSegmentation, 1);
      51             :   /// \endcond
      52             :   
      53             : };
      54             : 
      55             : //====================================================================================================================================================
      56             : 
      57             : #endif
      58             : 

Generated by: LCOV version 1.11