AliRoot Core  v5-06-30 (35d6c57)

Convert a pad status container into a pad status map container. More...

#include <AliMUONPadStatusMapMaker.h>

## Public Member Functions

AliMUONVStoreStatusMap () const

Int_t StatusMap (Int_t detElemId, Int_t manuId, Int_t manuChannel) const

void RefreshRejectProbabilities ()

## Private Types

enum  EBitNumbers {
kLeftBottomBit = 6, kLeftBit = 7, kLeftTopBit = 8, kBottomBit = 11,
kCenterBit = 12, kTopBit = 13, kRightBottomBit = 16, kRightBit = 17,
kRightTopBit = 18
}
Bit numbers. More...

## Private Member Functions

Not implemented. More...

Not implemented. More...

AliMUONVCalibParamComputeStatusMap (Int_t detElemId, Int_t manuId) const

## Private Attributes

! to access pad statuses More...

! mask to be tested More...

AliMUONVStorefStatusMap
! status map More...

AliMUONVStorefRejectProbabilities
! reject probabilities (channel based, computed once per run) More...

AliMUONVStorefRejectList
! reject list (which channels should be rejected, might change event-by-event for simulations) More...

Bool_t fComputeOnDemand
! whether we authorize to compute things on demand or not More...

## Detailed Description

A pad status is one 32-bits word describing whether this pad pedestal, gains hv is correct or not.

A pad status map is one 32-bits (of which 24 only are used) word describing whether this pad neighbours are ok or not (whether a pad is ok or not is determined by applying a given bitmask to the pad status word). Each bit in this word is related to one neighbour, assuming the pad itself is at bit 0

## | 1 | 4 | 6 |

Note that for instance in NonBending plane of slats, at the boundaries between two pad densities, the pictures is a bit different, e.g. (bits in () are always zero)

so some care must be taken when designing a mask to be tested ;-) if you want to go farther than immediate neighbours...

If a pad is at a physical boundary, is will for sure have some bits at 1 (i.e. a non-existing neighbour is considered = bad).

Definition at line 23 of file AliMUONPadStatusMapMaker.h.

## Member Enumeration Documentation

 private

Bit numbers.

Enumerator
kLeftBottomBit
kLeftBit
kLeftTopBit
kBottomBit
kCenterBit
kTopBit
kRightBottomBit
kRightBit
kRightTopBit

Definition at line 59 of file AliMUONPadStatusMapMaker.h.

## Constructor & Destructor Documentation

 AliMUONPadStatusMapMaker::AliMUONPadStatusMapMaker ( const AliMUONPadStatusMaker & padStatusMaker, Int_t mask, Bool_t deferredInitialization = kTRUE )

ctor

Whatever the deferred flag is, we have to compute the reject probabilities here and now, for all channels.

Definition at line 84 of file AliMUONPadStatusMapMaker.cxx.

virtual

dtor

Definition at line 183 of file AliMUONPadStatusMapMaker.cxx.

private

Not implemented.

## Member Function Documentation

 AliMUONVCalibParam * AliMUONPadStatusMapMaker::ComputeStatusMap ( Int_t detElemId, Int_t manuId ) const
private

Compute the status map for a given manu, and add it to our internal fStatusMap internal storage

Definition at line 193 of file AliMUONPadStatusMapMaker.cxx.

Referenced by StatusMap().

private

Not implemented.

From the (fixed) fRejectProbabilities, compute a fRejectList that will be valid for one event If fRejectProbabilities=0x0 it means we're dealing with trivial probabilities (0 or 1) and those are assumed to be already in fRejectList then.

Definition at line 257 of file AliMUONPadStatusMapMaker.cxx.

Referenced by AliMUONDigitCalibrator::Calibrate().

inlinestatic

Definition at line 40 of file AliMUONPadStatusMapMaker.h.

inline

Get access to internal status map store (for debug only, as it may not be complete, depending on whether you've already called StatusMap() for all possible de,manu,channel combinations or not...

Definition at line 35 of file AliMUONPadStatusMapMaker.h.

Referenced by MUONStatusMap(), AliMUONCDB::ShowConfig(), and AliMUONDigitCalibrator::StatusMap().

 Int_t AliMUONPadStatusMapMaker::StatusMap ( Int_t detElemId, Int_t manuId, Int_t manuChannel ) const

Definition at line 304 of file AliMUONPadStatusMapMaker.cxx.

## Member Data Documentation

private

! whether we authorize to compute things on demand or not

Definition at line 77 of file AliMUONPadStatusMapMaker.h.

Referenced by StatusMap().

staticprivate

Definition at line 56 of file AliMUONPadStatusMapMaker.h.

private

Definition at line 72 of file AliMUONPadStatusMapMaker.h.

Referenced by ComputeStatusMap().

private

Definition at line 73 of file AliMUONPadStatusMapMaker.h.

Referenced by ComputeStatusMap().

private

! reject list (which channels should be rejected, might change event-by-event for simulations)

Definition at line 76 of file AliMUONPadStatusMapMaker.h.

Referenced by RefreshRejectProbabilities(), StatusMap(), and ~AliMUONPadStatusMapMaker().

private

! reject probabilities (channel based, computed once per run)

Definition at line 75 of file AliMUONPadStatusMapMaker.h.