LCOV - code coverage report
Current view: top level - ITSMFT/MFT/MFTrec - AliMFTCALadder.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 8 12.5 %
Date: 2016-06-14 17:26:59 Functions: 1 14 7.1 %

          Line data    Source code
       1             : #ifndef AliMFTCALadder_H
       2             : #define AliMFTCALadder_H
       3             : 
       4             : #include "TObject.h"
       5             : 
       6             : #include "AliMFTCACell.h"
       7             : #include "AliMFTCAHit.h"
       8             : 
       9             : class TClonesArray;
      10             : 
      11             : //_________________________________________________________________________________
      12             : class AliMFTCALadder : public TObject {
      13             :   
      14             : public:
      15             :   
      16             :   AliMFTCALadder();
      17           0 :   ~AliMFTCALadder() {};
      18             :   
      19             :   AliMFTCALadder (const AliMFTCALadder &ladder);
      20             :   AliMFTCALadder &operator=(const AliMFTCALadder&);
      21             : 
      22             :   virtual void Clear(const Option_t *);
      23             :   void ClearCells();
      24             :   
      25           0 :   void SetID(Int_t id) { fID = id; }
      26           0 :   const Int_t GetID() { return fID; }
      27           0 :   const Int_t GetNhits() { return fNhits; }
      28           0 :   const Int_t GetNcells() { return fNcells; }
      29             :   AliMFTCACell *AddCell();
      30           0 :   AliMFTCACell *GetCell(Int_t nc) { return (AliMFTCACell*)fCells->At(nc); }
      31             :   AliMFTCAHit  *AddHit();
      32           0 :   AliMFTCAHit  *GetHit(Int_t nh)  { return (AliMFTCAHit*)fHits->At(nh);   }
      33             :   
      34             : private:
      35             :   
      36             :   Int_t     fID;             // Identifier
      37             :   Int_t     fNhits;          // Number of hits
      38             :   Int_t     fNcells;         // Number of cells: track segments with downstream end in
      39             :                              // this layer
      40             :   
      41             :   TClonesArray *fCells;     //! Array of cells
      42             :   TClonesArray *fHits;      //! Array of hits
      43             :   
      44          12 :   ClassDef(AliMFTCALadder,1);
      45             :   
      46             : };
      47             : #endif

Generated by: LCOV version 1.11