1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
18 /// \class AliMUONVClusterStore
20 /// An interface of a cluster container
22 /// Please note that the the object stored are currently supposed to
23 /// be concrete class AliMUONRawCluster.
24 /// This is likely to change to something like AliMUONVCluster...
26 /// \author Laurent Aphecetche, Subatech
28 #include "AliMUONVClusterStore.h"
29 #include "AliMUONRawCluster.h"
32 ClassImp(AliMUONVClusterStore)
35 //_____________________________________________________________________________
36 AliMUONVClusterStore::AliMUONVClusterStore()
41 //_____________________________________________________________________________
42 AliMUONVClusterStore::~AliMUONVClusterStore()
47 //_____________________________________________________________________________
49 AliMUONVClusterStore::Add(TObject* object)
51 /// Add an object, if it is of the right class
52 AliMUONRawCluster* cluster = dynamic_cast<AliMUONRawCluster*>(object);
61 //_____________________________________________________________________________
63 AliMUONVClusterStore::Create(TTree& tree)
65 /// Create a VClusterStore from the tree
66 return static_cast<AliMUONVClusterStore*>(AliMUONVStore::Create(tree,"Cluster"));