AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMFTCALadder.h
Go to the documentation of this file.
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 
18 
19  AliMFTCALadder (const AliMFTCALadder &ladder);
21 
22  virtual void Clear(const Option_t *);
23  void ClearCells();
24 
25  void SetID(Int_t id) { fID = id; }
26  const Int_t GetID() { return fID; }
27  const Int_t GetNhits() { return fNhits; }
28  const Int_t GetNcells() { return fNcells; }
30  AliMFTCACell *GetCell(Int_t nc) { return (AliMFTCACell*)fCells->At(nc); }
32  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;
42  TClonesArray *fHits;
43 
45 
46 };
47 #endif
TClonesArray * fHits
Array of cells.
virtual void Clear(const Option_t *)
AliMFTCACell * AddCell()
AliMFTCACell * GetCell(Int_t nc)
ClassDef(AliMFTCALadder, 1)
Array of hits.
const Int_t GetNcells()
AliMFTCALadder & operator=(const AliMFTCALadder &)
AliMFTCAHit * AddHit()
const Int_t GetID()
const Int_t GetNhits()
void SetID(Int_t id)
AliMFTCAHit * GetHit(Int_t nh)
TClonesArray * fCells