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

          Line data    Source code
       1             : #ifndef AliMFTHalfSegmentation_H
       2             : #define AliMFTHalfSegmentation_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 AliMFTHalfSegmentation
      11             : /// \brief Segmentation class for each half of the ALICE Muon Forward Tracker
      12             : ///
      13             : /// \author Raphael Tieulent <raphael.tieulent@cern.ch>
      14             : /// \date June 9th, 2015
      15             : 
      16             : #include "TXMLEngine.h"
      17             : #include "AliMFTSegmentation.h"
      18             : #include "AliMFTConstants.h"
      19             : #include "AliMFTVSegmentation.h"
      20             : 
      21             : //====================================================================================================================================================
      22             : 
      23             : class AliMFTHalfDiskSegmentation;
      24             : 
      25           0 : class AliMFTHalfSegmentation : public AliMFTVSegmentation {
      26             : 
      27             : public:
      28             :   
      29             :   AliMFTHalfSegmentation();
      30             :   AliMFTHalfSegmentation(const Char_t *initFile, const Short_t id);
      31             :   AliMFTHalfSegmentation(const AliMFTHalfSegmentation &source);
      32             : 
      33             :   virtual ~AliMFTHalfSegmentation();
      34             :   virtual void Clear(const Option_t* /*opt*/);
      35             :   
      36           0 :   Bool_t GetID() const {return (GetUniqueID()>>12);};
      37             :   
      38           0 :   Int_t GetNHalfDisks() const { return fMFTHalfDisks->GetEntries(); }
      39             : 
      40           0 :   AliMFTHalfDiskSegmentation* GetHalfDisk(Int_t iDisk) const { if (iDisk>=0 && iDisk<fMFTHalfDisks->GetEntries()) return (AliMFTHalfDiskSegmentation*) fMFTHalfDisks->At(iDisk); else return NULL; }
      41             :  
      42             : private:
      43             :   
      44             :   void FindHalf(TXMLEngine* xml, XMLNodePointer_t node, XMLNodePointer_t &retnode);
      45             :   void CreateHalfDisks(TXMLEngine* xml, XMLNodePointer_t node);
      46             : 
      47             :   TClonesArray *fMFTHalfDisks; ///< \brief Array of pointer to AliMFTHalfDiskSegmentation
      48             : 
      49             :   /// \cond CLASSIMP
      50          14 :   ClassDef(AliMFTHalfSegmentation, 1);
      51             :   /// \endcond
      52             :   
      53             : };
      54             : 
      55             : //====================================================================================================================================================
      56             : 
      57             : #endif
      58             : 

Generated by: LCOV version 1.11