Line data Source code
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 18 : ClassImp(AliMUONVTrackerData)
36 : ///\endcond
37 :
38 : //_____________________________________________________________________________
39 : AliMUONVTrackerData::AliMUONVTrackerData(const char* name, const char* title,
40 : Bool_t)
41 4 : : TNamed(name,title), TQObject()
42 8 : {
43 : /// ctor
44 2 : }
45 :
46 : //_____________________________________________________________________________
47 0 : AliMUONVTrackerData::~AliMUONVTrackerData()
48 0 : {
49 : /// dtor
50 4 : }
51 :
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 0 : return (Count(detElemId,manuId,manuChannel) > 0.0);
59 : }
60 :
61 : //_____________________________________________________________________________
62 : void
63 : AliMUONVTrackerData::NumberOfEventsChanged()
64 : {
65 : /// Signal that our number of events changed
66 4 : Emit("NumberOfEventsChanged()");
67 2 : }
68 :
69 : //_____________________________________________________________________________
70 : void
71 : AliMUONVTrackerData::Print(Option_t* wildcard) const
72 : {
73 : /// Printout
74 0 : Print(wildcard,"summary");
75 0 : }
76 :
77 : //_____________________________________________________________________________
78 : Bool_t
79 : AliMUONVTrackerData::Replace(const AliMUONVStore& /*store*/)
80 : {
81 0 : Emit("Replace(const AliMUONVStore&)");
82 0 : return kTRUE;
83 : }
|