ROOT logo
#ifndef ALIMUONTRIGGERTRACKSTOREV1_H
#define ALIMUONTRIGGERTRACKSTOREV1_H

/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice                               */

// $Id$

/// \ingroup rec
/// \class AliMUONTriggerTrackStoreV1
/// \brief Implementation of AliMUONVTriggerTrackStore
/// 
// Author Laurent Aphecetche

#ifndef ALIMUONVTRIGERTRACKSTORE_H
#  include "AliMUONVTriggerTrackStore.h"
#endif

class TClonesArray;

class AliMUONTriggerTrackStoreV1 : public AliMUONVTriggerTrackStore
{
public:
  AliMUONTriggerTrackStoreV1();
  AliMUONTriggerTrackStoreV1(TRootIOCtor* dummy);
  virtual ~AliMUONTriggerTrackStoreV1();
  
  using AliMUONVTriggerTrackStore::Add;
  virtual void Add(const AliMUONTriggerTrack& track);

  /// Whether the Connect(TTree&) method is implemented
  virtual Bool_t CanConnect() const { return kTRUE; }
  
  virtual void Clear(Option_t* opt="");

  virtual Bool_t Connect(TTree& tree, Bool_t alone=kTRUE) const;

  virtual AliMUONTriggerTrackStoreV1* Create() const { return new AliMUONTriggerTrackStoreV1; }
  
  virtual TIterator* CreateIterator() const;  

  using AliMUONVTriggerTrackStore::GetSize;
  
  virtual Int_t GetSize() const;
  
private:
    /// Return the tracks array
    TClonesArray* Tracks() const { return fTracks; }
    /// Return the address of the tracks array
    TClonesArray** TracksPtr() const { return const_cast<TClonesArray**>(&fTracks); }
  
    /// Not implemented
    AliMUONTriggerTrackStoreV1(const AliMUONTriggerTrackStoreV1&);
    /// Not implemented
    AliMUONTriggerTrackStoreV1& operator=(const AliMUONTriggerTrackStoreV1&);
  
private:
    TClonesArray* fTracks; ///< internal array
  
  ClassDef(AliMUONTriggerTrackStoreV1,1) // Implementation of AliMUONVTriggerTrackStore
};

#endif
 AliMUONTriggerTrackStoreV1.h:1
 AliMUONTriggerTrackStoreV1.h:2
 AliMUONTriggerTrackStoreV1.h:3
 AliMUONTriggerTrackStoreV1.h:4
 AliMUONTriggerTrackStoreV1.h:5
 AliMUONTriggerTrackStoreV1.h:6
 AliMUONTriggerTrackStoreV1.h:7
 AliMUONTriggerTrackStoreV1.h:8
 AliMUONTriggerTrackStoreV1.h:9
 AliMUONTriggerTrackStoreV1.h:10
 AliMUONTriggerTrackStoreV1.h:11
 AliMUONTriggerTrackStoreV1.h:12
 AliMUONTriggerTrackStoreV1.h:13
 AliMUONTriggerTrackStoreV1.h:14
 AliMUONTriggerTrackStoreV1.h:15
 AliMUONTriggerTrackStoreV1.h:16
 AliMUONTriggerTrackStoreV1.h:17
 AliMUONTriggerTrackStoreV1.h:18
 AliMUONTriggerTrackStoreV1.h:19
 AliMUONTriggerTrackStoreV1.h:20
 AliMUONTriggerTrackStoreV1.h:21
 AliMUONTriggerTrackStoreV1.h:22
 AliMUONTriggerTrackStoreV1.h:23
 AliMUONTriggerTrackStoreV1.h:24
 AliMUONTriggerTrackStoreV1.h:25
 AliMUONTriggerTrackStoreV1.h:26
 AliMUONTriggerTrackStoreV1.h:27
 AliMUONTriggerTrackStoreV1.h:28
 AliMUONTriggerTrackStoreV1.h:29
 AliMUONTriggerTrackStoreV1.h:30
 AliMUONTriggerTrackStoreV1.h:31
 AliMUONTriggerTrackStoreV1.h:32
 AliMUONTriggerTrackStoreV1.h:33
 AliMUONTriggerTrackStoreV1.h:34
 AliMUONTriggerTrackStoreV1.h:35
 AliMUONTriggerTrackStoreV1.h:36
 AliMUONTriggerTrackStoreV1.h:37
 AliMUONTriggerTrackStoreV1.h:38
 AliMUONTriggerTrackStoreV1.h:39
 AliMUONTriggerTrackStoreV1.h:40
 AliMUONTriggerTrackStoreV1.h:41
 AliMUONTriggerTrackStoreV1.h:42
 AliMUONTriggerTrackStoreV1.h:43
 AliMUONTriggerTrackStoreV1.h:44
 AliMUONTriggerTrackStoreV1.h:45
 AliMUONTriggerTrackStoreV1.h:46
 AliMUONTriggerTrackStoreV1.h:47
 AliMUONTriggerTrackStoreV1.h:48
 AliMUONTriggerTrackStoreV1.h:49
 AliMUONTriggerTrackStoreV1.h:50
 AliMUONTriggerTrackStoreV1.h:51
 AliMUONTriggerTrackStoreV1.h:52
 AliMUONTriggerTrackStoreV1.h:53
 AliMUONTriggerTrackStoreV1.h:54
 AliMUONTriggerTrackStoreV1.h:55
 AliMUONTriggerTrackStoreV1.h:56
 AliMUONTriggerTrackStoreV1.h:57
 AliMUONTriggerTrackStoreV1.h:58
 AliMUONTriggerTrackStoreV1.h:59
 AliMUONTriggerTrackStoreV1.h:60
 AliMUONTriggerTrackStoreV1.h:61
 AliMUONTriggerTrackStoreV1.h:62
 AliMUONTriggerTrackStoreV1.h:63