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 AliMUONTrackerDataWrapper
20 /// A simple wrapper to convert an AliMUONVTrackerData object into
21 /// an AliMUONVTrackerDataMaker object.
23 /// This is mainly to offer backward compatibility : the mchview program
24 /// used to save AliMUONVTrackerData objects, while it now saves
25 /// AliMUONVTrackerDataMaker ones.
26 /// So to read back old files, we need to be able to do the "conversion".
28 /// \author Laurent Aphecetche, Subatech
30 #include "AliMUONTrackerDataWrapper.h"
33 #include "AliMUONVTrackerData.h"
36 ClassImp(AliMUONTrackerDataWrapper)
39 //_____________________________________________________________________________
40 AliMUONTrackerDataWrapper::AliMUONTrackerDataWrapper(AliMUONVTrackerData* data)
41 : AliMUONVTrackerDataMaker(), fData(data)
46 //_____________________________________________________________________________
47 AliMUONTrackerDataWrapper::~AliMUONTrackerDataWrapper()
53 //_____________________________________________________________________________
55 AliMUONTrackerDataWrapper::Merge(TCollection*)
58 AliError("Not implemented yet");
62 //_____________________________________________________________________________
64 AliMUONTrackerDataWrapper::NumberOfEvents() const
66 /// Get the number of events the data has seen
69 return Data()->NumberOfEvents(-1);