AliRoot Core  da88d91 (da88d91)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONVTrackerData Class Referenceabstract

Base class for MUON data that can be presented at different levels in the hierarchy of the MUON system. More...

#include <AliMUONVTrackerData.h>

Inheritance diagram for AliMUONVTrackerData:

Public Member Functions

 AliMUONVTrackerData (const char *name="", const char *title="", Bool_t issingleevent=kFALSE)
 
virtual ~AliMUONVTrackerData ()
 
virtual Bool_t Add (const AliMUONVStore &store, TArrayI *arrayOfNofEventsPerDDL=0x0)=0
 Add values for one event from one full store. More...
 
virtual Bool_t Replace (const AliMUONVStore &store)=0
 Replace values. More...
 
virtual Double_t BusPatch (Int_t busPatchId, Int_t dim=0) const =0
 Get the value for a given buspatch and given dimension. More...
 
virtual Double_t Chamber (Int_t chamberId, Int_t dim=0) const =0
 Get the value for a given chamber and given dimension. More...
 
virtual Double_t Channel (Int_t detElemId, Int_t manuId, Int_t manuChannel, Int_t dim=0) const =0
 Get the value for a given channel and given dimension. More...
 
virtual void Clear (Option_t *opt="")=0
 Reset the data. More...
 
virtual Double_t Count (Int_t detElemId, Int_t manuId, Int_t manuChannel) const =0
 Get the number of times a given channel was hit. More...
 
virtual Double_t DetectionElement (Int_t detElemId, Int_t dim=0) const =0
 Get the value for a given DE and given dimension. More...
 
virtual TString DimensionName (Int_t dim) const =0
 Get the name of a given (internal) dimension. More...
 
virtual TString ExternalDimensionName (Int_t dim) const =0
 Get the name of a given (external) dimension. More...
 
virtual Bool_t HasBusPatch (Int_t busPatchId) const =0
 Whether we have data for a given buspath. More...
 
virtual Bool_t HasChannel (Int_t detElemId, Int_t manuId, Int_t manuChannel) const
 Whether we have a given channel or not. More...
 
virtual Bool_t HasChamber (Int_t chamberId) const =0
 Whether we have data for a given chamber. More...
 
virtual Bool_t HasDetectionElement (Int_t detElemId) const =0
 Whether we have data for a given detection element. More...
 
virtual Bool_t HasManu (Int_t detElemId, Int_t manuId) const =0
 Whether we have data for a given manu. More...
 
virtual Bool_t HasPCB (Int_t detElemId, Int_t pcbIndex) const =0
 Whether we have data for a given PCB. More...
 
virtual Bool_t IsSingleEvent () const =0
 Whether we deal with only one event at a time. More...
 
virtual Double_t Manu (Int_t detElemId, Int_t manuId, Int_t dim=0) const =0
 Get the value for a given manu and given dimension. More...
 
virtual Int_t NumberOfDimensions () const =0
 The number of dimensions we are handling. More...
 
virtual Int_t InternalToExternal (Int_t dim) const =0
 Convert from internal to external dimension. More...
 
virtual Int_t ExternalDimension () const =0
 The number of dimensions we are inputting. More...
 
virtual Int_t NumberOfEvents (Int_t ddlNumber) const =0
 
virtual void NumberOfEventsChanged ()
 Signal to indicate that the number of events changed. More...
 
const char * Name () const
 Get our name. More...
 
virtual Double_t PCB (Int_t detElemId, Int_t pcbIndex, Int_t dim=0) const =0
 Get the value for a given PCDB and given dimension. More...
 
virtual void Print (Option_t *wildcard="") const
 Print all objects whose name matches wildcard. More...
 
virtual void Print (Option_t *wildcard, Option_t *opt) const =0
 Print, with option, all objects whose name matches wildcard. More...
 
virtual void SetDimensionName (Int_t index, const char *value)=0
 Set the name of a given dimension. More...
 
virtual Bool_t CanHistogram () const
 Whether or not we can make histograms. More...
 
virtual void MakeHistogramForDimension (Int_t, Bool_t, Double_t=0.0, Double_t=4096.0)
 Select a dimension to be histogrammed (if CanHistogram==kTRUE) only. More...
 
virtual void HistogramRange (Double_t &xmin, Double_t &xmax) const
 Get histogram range. More...
 
virtual Bool_t IsHistogrammed (Int_t) const
 Whether we have histograms for a given dimension, or not. More...
 
virtual AliMUONSparseHistoGetChannelSparseHisto (Int_t detElemId, Int_t manuId, Int_t manuChannel, Int_t dim=0) const =0
 Get sparse histogram for a given channel. More...
 
virtual AliMUONSparseHistoGetManuSparseHisto (Int_t detElemId, Int_t manuId, Int_t dim=0) const =0
 Get sparse histogram for a given manu (valid only if IsChannelLevelEnabled()==kFALSE and IsManuLevelEnabled()==kTRUE) More...
 
virtual Long64_t Merge (TCollection *list)=0
 To allow merging of different objects. More...
 
virtual void DisableChannelLevel ()=0
 Disable recording of information at the channel level. More...
 
virtual Bool_t IsChannelLevelEnabled () const =0
 Whether we store values at the channel level. More...
 
virtual void DisableManuLevel ()=0
 Disable recording of information at the manu level (and below) More...
 
virtual Bool_t IsManuLevelEnabled () const =0
 Whether we store values at the channel level. More...
 
virtual Bool_t IsBusPatchLevelEnabled () const =0
 Whether we store values at the bus patch level or not. More...
 
virtual Bool_t IsPCBLevelEnabled () const =0
 Whether we store values at the PCB level or not. More...
 

Private Member Functions

 AliMUONVTrackerData (const AliMUONVTrackerData &rhs)
 not implemented More...
 
AliMUONVTrackerDataoperator= (const AliMUONVTrackerData &rhs)
 not implemented More...
 

Detailed Description

Base class for MUON data that can be presented at different levels in the hierarchy of the MUON system.

Base class for MUON data that can be presented at different levels in the hierarchy of the MUON system.

We always feed the AliMUONVTrackerData with data at the channel level, and it then computes the same data at upper levels, such as manu, pcb, bus patches, detection elements, and even chamber wise.

The dimension (or dim) parameter that appears in many methods is the "number of parameters" per channel.

Author
Laurent Aphecetche, Subatech

Definition at line 31 of file AliMUONVTrackerData.h.

Constructor & Destructor Documentation

AliMUONVTrackerData::AliMUONVTrackerData ( const char *  name = "",
const char *  title = "",
Bool_t  issingleevent = kFALSE 
)

ctor

Definition at line 39 of file AliMUONVTrackerData.cxx.

AliMUONVTrackerData::~AliMUONVTrackerData ( )
virtual

dtor

Definition at line 47 of file AliMUONVTrackerData.cxx.

AliMUONVTrackerData::AliMUONVTrackerData ( const AliMUONVTrackerData rhs)
private

not implemented

Member Function Documentation

virtual Bool_t AliMUONVTrackerData::Add ( const AliMUONVStore store,
TArrayI *  arrayOfNofEventsPerDDL = 0x0 
)
pure virtual
virtual Double_t AliMUONVTrackerData::BusPatch ( Int_t  busPatchId,
Int_t  dim = 0 
) const
pure virtual
virtual Bool_t AliMUONVTrackerData::CanHistogram ( ) const
inlinevirtual

Whether or not we can make histograms.

Reimplemented in AliMUONTrackerData.

Definition at line 127 of file AliMUONVTrackerData.h.

virtual Double_t AliMUONVTrackerData::Chamber ( Int_t  chamberId,
Int_t  dim = 0 
) const
pure virtual

Get the value for a given chamber and given dimension.

Implemented in AliMUONTrackerData.

Referenced by AliMUONChamberPainter::ComputeDataRange(), AliMUONChamberPainter::Describe(), Occupancy(), and AliMUONChamberPainter::PaintArea().

virtual Double_t AliMUONVTrackerData::Channel ( Int_t  detElemId,
Int_t  manuId,
Int_t  manuChannel,
Int_t  dim = 0 
) const
pure virtual
virtual void AliMUONVTrackerData::Clear ( Option_t *  opt = "")
pure virtual
virtual Double_t AliMUONVTrackerData::Count ( Int_t  detElemId,
Int_t  manuId,
Int_t  manuChannel 
) const
pure virtual

Get the number of times a given channel was hit.

Implemented in AliMUONTrackerData.

Referenced by HasChannel().

virtual Double_t AliMUONVTrackerData::DetectionElement ( Int_t  detElemId,
Int_t  dim = 0 
) const
pure virtual
virtual void AliMUONVTrackerData::DisableChannelLevel ( )
pure virtual
virtual void AliMUONVTrackerData::DisableManuLevel ( )
pure virtual

Disable recording of information at the manu level (and below)

Implemented in AliMUONTrackerData.

virtual Int_t AliMUONVTrackerData::ExternalDimension ( ) const
pure virtual

The number of dimensions we are inputting.

Implemented in AliMUONTrackerData.

Referenced by AliMUONTrackerData::CompareData(), AliMUONTrackerDataHistogrammer::CreateHisto(), and AliMUONVPainter::SetData().

virtual TString AliMUONVTrackerData::ExternalDimensionName ( Int_t  dim) const
pure virtual

Get the name of a given (external) dimension.

Implemented in AliMUONTrackerData.

Referenced by AliMUONTrackerData::CompareData(), AliMUONTrackerDataHistogrammer::CreateHisto(), and AliMUONVPainter::SetData().

virtual AliMUONSparseHisto* AliMUONVTrackerData::GetChannelSparseHisto ( Int_t  detElemId,
Int_t  manuId,
Int_t  manuChannel,
Int_t  dim = 0 
) const
pure virtual

Get sparse histogram for a given channel.

Implemented in AliMUONTrackerData.

Referenced by AliMUONTrackerDataHistogrammer::AddManuHisto(), and AliMUONTrackerDataHistogrammer::CreateChannelHisto().

virtual AliMUONSparseHisto* AliMUONVTrackerData::GetManuSparseHisto ( Int_t  detElemId,
Int_t  manuId,
Int_t  dim = 0 
) const
pure virtual

Get sparse histogram for a given manu (valid only if IsChannelLevelEnabled()==kFALSE and IsManuLevelEnabled()==kTRUE)

Implemented in AliMUONTrackerData.

Referenced by AliMUONTrackerDataHistogrammer::AddManuHisto().

virtual Bool_t AliMUONVTrackerData::HasBusPatch ( Int_t  busPatchId) const
pure virtual
virtual Bool_t AliMUONVTrackerData::HasChamber ( Int_t  chamberId) const
pure virtual

Whether we have data for a given chamber.

Implemented in AliMUONTrackerData.

Referenced by AliMUONChamberPainter::Describe(), and AliMUONChamberPainter::PaintArea().

Bool_t AliMUONVTrackerData::HasChannel ( Int_t  detElemId,
Int_t  manuId,
Int_t  manuChannel 
) const
virtual

Whether we have a given channel or not.

Whether we have data for a given channel

Definition at line 54 of file AliMUONVTrackerData.cxx.

Referenced by AliMUONTrackerDataHistogrammer::AddManuHisto(), AliMUONTrackerDataHistogrammer::CreateChannelHisto(), and AliMUONTrackerDataHistogrammer::GetDataRange().

virtual Bool_t AliMUONVTrackerData::HasDetectionElement ( Int_t  detElemId) const
pure virtual
virtual Bool_t AliMUONVTrackerData::HasManu ( Int_t  detElemId,
Int_t  manuId 
) const
pure virtual
virtual Bool_t AliMUONVTrackerData::HasPCB ( Int_t  detElemId,
Int_t  pcbIndex 
) const
pure virtual

Whether we have data for a given PCB.

Implemented in AliMUONTrackerData.

Referenced by AliMUONPCBPainter::Describe(), and AliMUONPCBPainter::PaintArea().

virtual void AliMUONVTrackerData::HistogramRange ( Double_t &  xmin,
Double_t &  xmax 
) const
inlinevirtual

Get histogram range.

Reimplemented in AliMUONTrackerData.

Definition at line 134 of file AliMUONVTrackerData.h.

Referenced by AliMUONTrackerDataHistogrammer::CreateChannelHisto(), and AliMUONTrackerDataHistogrammer::CreateHisto().

virtual Int_t AliMUONVTrackerData::InternalToExternal ( Int_t  dim) const
pure virtual

Convert from internal to external dimension.

Implemented in AliMUONTrackerData.

virtual Bool_t AliMUONVTrackerData::IsBusPatchLevelEnabled ( ) const
pure virtual

Whether we store values at the bus patch level or not.

Implemented in AliMUONTrackerData.

Referenced by AliMUONPainterPlotSelector::UpdateTypeButton().

virtual Bool_t AliMUONVTrackerData::IsChannelLevelEnabled ( ) const
pure virtual

Whether we store values at the channel level.

Implemented in AliMUONTrackerData.

Referenced by AliMUONTrackerDataHistogrammer::AddManuHisto(), and AliMUONPainterPlotSelector::UpdateTypeButton().

virtual Bool_t AliMUONVTrackerData::IsHistogrammed ( Int_t  ) const
inlinevirtual

Whether we have histograms for a given dimension, or not.

Reimplemented in AliMUONTrackerData.

Definition at line 137 of file AliMUONVTrackerData.h.

Referenced by AliMUONTrackerDataHistogrammer::CreateChannelHisto(), AliMUONTrackerDataHistogrammer::CreateManuHisto(), and AliMUONVPainter::SetData().

virtual Bool_t AliMUONVTrackerData::IsManuLevelEnabled ( ) const
pure virtual

Whether we store values at the channel level.

Implemented in AliMUONTrackerData.

Referenced by AliMUONPainterPlotSelector::UpdateTypeButton().

virtual Bool_t AliMUONVTrackerData::IsPCBLevelEnabled ( ) const
pure virtual

Whether we store values at the PCB level or not.

Implemented in AliMUONTrackerData.

Referenced by AliMUONPainterPlotSelector::UpdateTypeButton().

virtual Bool_t AliMUONVTrackerData::IsSingleEvent ( ) const
pure virtual

Whether we deal with only one event at a time.

Implemented in AliMUONTrackerData.

Referenced by AliMUONPainterDataSourceItem::AliMUONPainterDataSourceItem(), and AliMUONVPainter::SetData().

virtual void AliMUONVTrackerData::MakeHistogramForDimension ( Int_t  ,
Bool_t  ,
Double_t  = 0.0,
Double_t  = 4096.0 
)
inlinevirtual

Select a dimension to be histogrammed (if CanHistogram==kTRUE) only.

Reimplemented in AliMUONTrackerData.

Definition at line 130 of file AliMUONVTrackerData.h.

Referenced by AliMUONTrackerDataMaker::Ctor().

virtual Double_t AliMUONVTrackerData::Manu ( Int_t  detElemId,
Int_t  manuId,
Int_t  dim = 0 
) const
pure virtual
virtual Long64_t AliMUONVTrackerData::Merge ( TCollection *  list)
pure virtual

To allow merging of different objects.

Implemented in AliMUONTrackerData.

Referenced by AliMUONTrackerDataMaker::Add().

const char* AliMUONVTrackerData::Name ( ) const
inline
virtual Int_t AliMUONVTrackerData::NumberOfEvents ( Int_t  ddlNumber) const
pure virtual

The number of events we've seen so far in a given DDL (or any DDL if param<0) ddlNumber is 0..19

Implemented in AliMUONTrackerData.

Referenced by AliMUONTrackerDataWrapper::NumberOfEvents(), AliMUONTrackerQADataMakerRec::ProjectTrackerData(), and AliMUONPainterDataSourceItem::Update().

void AliMUONVTrackerData::NumberOfEventsChanged ( )
virtual

Signal to indicate that the number of events changed.

Signal that our number of events changed

Definition at line 63 of file AliMUONVTrackerData.cxx.

Referenced by AliMUONTrackerData::Clear(), and AliMUONTrackerData::InternalAdd().

AliMUONVTrackerData& AliMUONVTrackerData::operator= ( const AliMUONVTrackerData rhs)
private

not implemented

virtual Double_t AliMUONVTrackerData::PCB ( Int_t  detElemId,
Int_t  pcbIndex,
Int_t  dim = 0 
) const
pure virtual

Get the value for a given PCDB and given dimension.

Implemented in AliMUONTrackerData.

Referenced by AliMUONPCBPainter::ComputeDataRange(), AliMUONPCBPainter::Describe(), and AliMUONPCBPainter::PaintArea().

void AliMUONVTrackerData::Print ( Option_t *  wildcard = "") const
virtual

Print all objects whose name matches wildcard.

Printout

Definition at line 71 of file AliMUONVTrackerData.cxx.

Referenced by AliMUONPainterDataRegistry::Print().

virtual void AliMUONVTrackerData::Print ( Option_t *  wildcard,
Option_t *  opt 
) const
pure virtual

Print, with option, all objects whose name matches wildcard.

Implemented in AliMUONTrackerData.

Bool_t AliMUONVTrackerData::Replace ( const AliMUONVStore store)
pure virtual

Replace values.

Implemented in AliMUONTrackerData.

Definition at line 79 of file AliMUONVTrackerData.cxx.

Referenced by AliMUONTrackerData::Replace(), and AliMUONVPainter::WriteIROC().

virtual void AliMUONVTrackerData::SetDimensionName ( Int_t  index,
const char *  value 
)
pure virtual

The documentation for this class was generated from the following files: