- Disentangle masks effect from trigger chamber efficiency estimation.
[u/mrichter/AliRoot.git] / MUON / AliMUONHitStoreV1.h
CommitLineData
456e5e72 1#ifndef ALIMUONHITSTOREV1_H
2#define ALIMUONHITSTOREV1_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 sim
10/// \class AliMUONHitStoreV1
11/// \brief Implementation of AliMUONVHitStore
12///
13// Author Laurent Aphecetche
14
15#ifndef ALIMUONVHITSTORE_H
16# include "AliMUONVHitStore.h"
17#endif
18
19class TClonesArray;
20
21class AliMUONHitStoreV1 : public AliMUONVHitStore
22{
23public:
24 AliMUONHitStoreV1();
25 virtual ~AliMUONHitStoreV1();
26
27 using AliMUONVHitStore::Add;
28
29 virtual void Add(const AliMUONHit& hit);
30
31 /// Whether the Connect(TTree&) method is implemented
32 virtual Bool_t CanConnect() const { return kTRUE; }
33
34 virtual void Clear(Option_t* opt="");
35
36 virtual Bool_t Connect(TTree& tree, Bool_t alone=kTRUE) const;
37
38 virtual AliMUONHitStoreV1* Create() const { return new AliMUONHitStoreV1; }
39
40 virtual TIterator* CreateIterator() const;
41
42 virtual TCollection* Collection();
43
44 using AliMUONVHitStore::GetSize;
45
46 virtual Int_t GetSize() const;
47
48private:
49 /// Not implemented
50 AliMUONHitStoreV1(const AliMUONHitStoreV1&);
51 /// Not implemented
52 AliMUONHitStoreV1& operator=(const AliMUONHitStoreV1&);
53 /// Return the address of array of hits
54 TClonesArray** HitsPtr() const { return const_cast<TClonesArray**>(&fHits); }
55 /// Return the array of hits
56 TClonesArray* Hits() const { return fHits; }
57
58private:
59 TClonesArray* fHits; ///< array of hits
60
61 ClassDef(AliMUONHitStoreV1,1) // Implementation of AliMUONVHitStore
62};
63
64#endif