]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONTriggerTrackStoreV1.cxx
moved to jets
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerTrackStoreV1.cxx
index c4a69ca3dc4adaaeeebe68dba4c0e133168316e3..59fa6477f80d3b9586e655f365c25c1998e8a64e 100644 (file)
@@ -15,6 +15,7 @@
 
 // $Id$
 
+//-----------------------------------------------------------------------------
 /// \class AliMUONTriggerTrackStoreV1
 ///
 /// Implementation of AliMUONVTriggerTrackStore which should be
@@ -22,6 +23,7 @@
 /// the introduction of the AliMUONVStore concept
 ///
 /// \author Laurent Aphecetche, Subatech
+//-----------------------------------------------------------------------------
 
 #include "AliMUONTriggerTrackStoreV1.h"
 
 ClassImp(AliMUONTriggerTrackStoreV1)
 /// \endcond
 
+//_____________________________________________________________________________
+AliMUONTriggerTrackStoreV1::AliMUONTriggerTrackStoreV1(TRootIOCtor* /*dummy*/) : AliMUONVTriggerTrackStore(),
+fTracks(0x0)
+{
+  /// ctor
+}
+
 //_____________________________________________________________________________
 AliMUONTriggerTrackStoreV1::AliMUONTriggerTrackStoreV1() : AliMUONVTriggerTrackStore(),
  fTracks(new TClonesArray("AliMUONTriggerTrack",10))
@@ -84,7 +93,7 @@ Int_t
 AliMUONTriggerTrackStoreV1::GetSize() const
 {
   /// Return the number of trigger tracks we hold
-  return fTracks->GetSize();
+  return fTracks->GetLast()+1;
 }
 
 //_____________________________________________________________________________