ROOT logo
/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
*                                                                        *
* Author: The ALICE Off-line Project.                                    *
* Contributors are mentioned in the code where appropriate.              *
*                                                                        *
* Permission to use, copy, modify and distribute this software and its   *
* documentation strictly for non-commercial purposes is hereby granted   *
* without fee, provided that the above copyright notice appears in all   *
* copies and that both the copyright notice and this permission notice   *
* appear in the supporting documentation. The authors make no claims     *
* about the suitability of this software for any purpose. It is          *
* provided "as is" without express or implied warranty.                  *
**************************************************************************/

// $Id$

//-----------------------------------------------------------------------------
/// \class AliMUONVTriggerTrackStore
///
/// Base class of a trigger track store
///
/// \author Laurent Aphecetche, Subatech
//-----------------------------------------------------------------------------

#include "AliMUONVTriggerTrackStore.h"
#include "AliMUONTriggerTrack.h"
#include "AliLog.h"

/// \cond CLASSIMP
ClassImp(AliMUONVTriggerTrackStore)
/// \endcond

//_____________________________________________________________________________
AliMUONVTriggerTrackStore::AliMUONVTriggerTrackStore()
{
  /// ctor
}

//_____________________________________________________________________________
AliMUONVTriggerTrackStore::~AliMUONVTriggerTrackStore()
{
  /// dtor
}

//_____________________________________________________________________________
Bool_t
AliMUONVTriggerTrackStore::Add(TObject* object)
{
  /// Add an object, if it is of type AliMUONTriggerTrack
  if (object)
  {
    AliMUONTriggerTrack* tt = dynamic_cast<AliMUONTriggerTrack*>(object);
    if (tt)
    {
      Add(*tt);
      return kTRUE;
    }
    else
    {
      AliError(Form("object is not of expected AliMUONTriggerTrack type but %s",
                    object->ClassName()));
    }
  }
  return kFALSE;
}

//_____________________________________________________________________________
AliMUONVTriggerTrackStore*
AliMUONVTriggerTrackStore::Create(TTree& tree)
{
  /// Create a VTriggerTrackStore from the tree (if possible)
  return static_cast<AliMUONVTriggerTrackStore*>(AliMUONVStore::Create(tree,"MUONTriggerTrack"));
}
 AliMUONVTriggerTrackStore.cxx:1
 AliMUONVTriggerTrackStore.cxx:2
 AliMUONVTriggerTrackStore.cxx:3
 AliMUONVTriggerTrackStore.cxx:4
 AliMUONVTriggerTrackStore.cxx:5
 AliMUONVTriggerTrackStore.cxx:6
 AliMUONVTriggerTrackStore.cxx:7
 AliMUONVTriggerTrackStore.cxx:8
 AliMUONVTriggerTrackStore.cxx:9
 AliMUONVTriggerTrackStore.cxx:10
 AliMUONVTriggerTrackStore.cxx:11
 AliMUONVTriggerTrackStore.cxx:12
 AliMUONVTriggerTrackStore.cxx:13
 AliMUONVTriggerTrackStore.cxx:14
 AliMUONVTriggerTrackStore.cxx:15
 AliMUONVTriggerTrackStore.cxx:16
 AliMUONVTriggerTrackStore.cxx:17
 AliMUONVTriggerTrackStore.cxx:18
 AliMUONVTriggerTrackStore.cxx:19
 AliMUONVTriggerTrackStore.cxx:20
 AliMUONVTriggerTrackStore.cxx:21
 AliMUONVTriggerTrackStore.cxx:22
 AliMUONVTriggerTrackStore.cxx:23
 AliMUONVTriggerTrackStore.cxx:24
 AliMUONVTriggerTrackStore.cxx:25
 AliMUONVTriggerTrackStore.cxx:26
 AliMUONVTriggerTrackStore.cxx:27
 AliMUONVTriggerTrackStore.cxx:28
 AliMUONVTriggerTrackStore.cxx:29
 AliMUONVTriggerTrackStore.cxx:30
 AliMUONVTriggerTrackStore.cxx:31
 AliMUONVTriggerTrackStore.cxx:32
 AliMUONVTriggerTrackStore.cxx:33
 AliMUONVTriggerTrackStore.cxx:34
 AliMUONVTriggerTrackStore.cxx:35
 AliMUONVTriggerTrackStore.cxx:36
 AliMUONVTriggerTrackStore.cxx:37
 AliMUONVTriggerTrackStore.cxx:38
 AliMUONVTriggerTrackStore.cxx:39
 AliMUONVTriggerTrackStore.cxx:40
 AliMUONVTriggerTrackStore.cxx:41
 AliMUONVTriggerTrackStore.cxx:42
 AliMUONVTriggerTrackStore.cxx:43
 AliMUONVTriggerTrackStore.cxx:44
 AliMUONVTriggerTrackStore.cxx:45
 AliMUONVTriggerTrackStore.cxx:46
 AliMUONVTriggerTrackStore.cxx:47
 AliMUONVTriggerTrackStore.cxx:48
 AliMUONVTriggerTrackStore.cxx:49
 AliMUONVTriggerTrackStore.cxx:50
 AliMUONVTriggerTrackStore.cxx:51
 AliMUONVTriggerTrackStore.cxx:52
 AliMUONVTriggerTrackStore.cxx:53
 AliMUONVTriggerTrackStore.cxx:54
 AliMUONVTriggerTrackStore.cxx:55
 AliMUONVTriggerTrackStore.cxx:56
 AliMUONVTriggerTrackStore.cxx:57
 AliMUONVTriggerTrackStore.cxx:58
 AliMUONVTriggerTrackStore.cxx:59
 AliMUONVTriggerTrackStore.cxx:60
 AliMUONVTriggerTrackStore.cxx:61
 AliMUONVTriggerTrackStore.cxx:62
 AliMUONVTriggerTrackStore.cxx:63
 AliMUONVTriggerTrackStore.cxx:64
 AliMUONVTriggerTrackStore.cxx:65
 AliMUONVTriggerTrackStore.cxx:66
 AliMUONVTriggerTrackStore.cxx:67
 AliMUONVTriggerTrackStore.cxx:68
 AliMUONVTriggerTrackStore.cxx:69
 AliMUONVTriggerTrackStore.cxx:70
 AliMUONVTriggerTrackStore.cxx:71
 AliMUONVTriggerTrackStore.cxx:72
 AliMUONVTriggerTrackStore.cxx:73
 AliMUONVTriggerTrackStore.cxx:74