]>
Commit | Line | Data |
---|---|---|
0145e89a | 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 | #include "AliMUONVTrackerData.h" | |
19 | ||
20 | /// \class AliMUONVTrackerData | |
21 | /// | |
22 | /// Base class for MUON data that can be presented at different levels | |
23 | /// in the hierarchy of the MUON system. | |
24 | /// | |
25 | /// We always feed the AliMUONVTrackerData with data at the channel level, | |
26 | /// and it then computes the same data at upper levels, such as manu, pcb, | |
27 | /// bus patches, detection elements, and even chamber wise. | |
28 | /// | |
29 | /// The dimension (or dim) parameter that appears in many methods is the | |
30 | /// "number of parameters" per channel. | |
31 | /// | |
32 | /// \author Laurent Aphecetche, Subatech | |
33 | ||
34 | ///\cond CLASSIMP | |
35 | ClassImp(AliMUONVTrackerData) | |
36 | ///\endcond | |
37 | ||
38 | //_____________________________________________________________________________ | |
39 | AliMUONVTrackerData::AliMUONVTrackerData(const char* name, const char* title, | |
40 | Bool_t) | |
4a3224ff | 41 | : TNamed(name,title), TQObject() |
0145e89a | 42 | { |
43 | /// ctor | |
44 | } | |
45 | ||
46 | //_____________________________________________________________________________ | |
47 | AliMUONVTrackerData::~AliMUONVTrackerData() | |
48 | { | |
49 | /// dtor | |
50 | } | |
51 | ||
8741815f | 52 | //_____________________________________________________________________________ |
53 | Bool_t | |
54 | AliMUONVTrackerData::HasChannel(Int_t detElemId, Int_t manuId, Int_t manuChannel) const | |
55 | { | |
56 | /// Whether we have data for a given channel | |
57 | ||
58 | return (Count(detElemId,manuId,manuChannel) > 0.0); | |
59 | } | |
60 | ||
0145e89a | 61 | //_____________________________________________________________________________ |
62 | void | |
63 | AliMUONVTrackerData::NumberOfEventsChanged() | |
64 | { | |
65 | /// Signal that our number of events changed | |
66 | Emit("NumberOfEventsChanged()"); | |
67 | } | |
68 | ||
69 | //_____________________________________________________________________________ | |
70 | void | |
71 | AliMUONVTrackerData::Print(Option_t* wildcard) const | |
72 | { | |
73 | /// Printout | |
74 | Print(wildcard,"summary"); | |
75 | } | |
76 | ||
1ffbeb9d | 77 | //_____________________________________________________________________________ |
78 | Bool_t | |
c382584f | 79 | AliMUONVTrackerData::Replace(const AliMUONVStore& /*store*/) |
1ffbeb9d | 80 | { |
81 | Emit("Replace(const AliMUONVStore&)"); | |
c382584f | 82 | return kTRUE; |
1ffbeb9d | 83 | } |