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 #include "AliMUONVTrackerData.h"
20 /// \class AliMUONVTrackerData
22 /// Base class for MUON data that can be presented at different levels
23 /// in the hierarchy of the MUON system.
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.
29 /// The dimension (or dim) parameter that appears in many methods is the
30 /// "number of parameters" per channel.
32 /// \author Laurent Aphecetche, Subatech
35 ClassImp(AliMUONVTrackerData)
38 //_____________________________________________________________________________
39 AliMUONVTrackerData::AliMUONVTrackerData(const char* name, const char* title,
41 : TNamed(name,title), TQObject()
46 //_____________________________________________________________________________
47 AliMUONVTrackerData::~AliMUONVTrackerData()
52 //_____________________________________________________________________________
54 AliMUONVTrackerData::HasChannel(Int_t detElemId, Int_t manuId, Int_t manuChannel) const
56 /// Whether we have data for a given channel
58 return (Count(detElemId,manuId,manuChannel) > 0.0);
61 //_____________________________________________________________________________
63 AliMUONVTrackerData::NumberOfEventsChanged()
65 /// Signal that our number of events changed
66 Emit("NumberOfEventsChanged()");
69 //_____________________________________________________________________________
71 AliMUONVTrackerData::Print(Option_t* wildcard) const
74 Print(wildcard,"summary");
77 //_____________________________________________________________________________
79 AliMUONVTrackerData::Replace(const AliMUONVStore& /*store*/)
81 Emit("Replace(const AliMUONVStore&)");