]>
Commit | Line | Data |
---|---|---|
829e5404 | 1 | /************************************************************************** |
2 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
3 | * * | |
4 | * Author: The ALICE Off-line Project. * | |
5 | * Contributors are mentioned in the code where appropriate. * | |
6 | * * | |
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 | **************************************************************************/ | |
15 | ||
16 | /* $Id$ */ | |
17 | ||
18 | // ------------------------- | |
19 | // Class AliMUONDataLoader | |
20 | // ------------------------- | |
21 | // Implements AliLoader for MUON subsystem | |
22 | // Author: Gines Martinez | |
23 | ||
24 | #include "AliMUONSimLoader.h" | |
25 | #include "AliMUONConstants.h" | |
26 | #include "AliLog.h" | |
27 | ||
28 | /// \cond CLASSIMP | |
29 | ClassImp(AliMUONSimLoader) | |
30 | /// \endcond | |
31 | ||
32 | //___________________________________________________________________ | |
33 | AliMUONSimLoader::AliMUONSimLoader() | |
34 | : AliLoader(), | |
35 | fMUONData(0) | |
36 | { | |
37 | /// Default constructor | |
38 | } | |
39 | //_______________________________________________________________________________ | |
40 | AliMUONSimLoader::AliMUONSimLoader(const Char_t* detname,const Char_t* eventfoldername) | |
41 | : AliLoader(detname,eventfoldername), | |
42 | fMUONData(0) | |
43 | { | |
44 | /// Standard contructor with name of the top folder of the tree | |
45 | } | |
46 | //_______________________________________________________________________________ | |
47 | AliMUONSimLoader::AliMUONSimLoader(const Char_t * detname,TFolder* eventfolder) | |
48 | : AliLoader(detname,eventfolder), | |
49 | fMUONData(0) | |
50 | { | |
51 | /// Constructor | |
52 | } | |
53 | ||
54 | //_______________________________________________________________________________ | |
55 | AliMUONSimLoader::~AliMUONSimLoader() | |
56 | { | |
57 | /// Destructor | |
58 | } | |
59 | ||
60 | //_______________________________________________________________________________ | |
61 | void AliMUONSimLoader::SetMUONData(AliMUONSimData * MUONData) | |
62 | { | |
63 | /// Set MUON data | |
64 | ||
65 | fMUONData = MUONData; | |
66 | } | |
67 | //_______________________________________________________________________________ | |
68 | AliMUONSimData * AliMUONSimLoader::GetMUONData() | |
69 | { | |
70 | /// Get MUON data | |
71 | ||
72 | return fMUONData; | |
73 | } | |
74 |