AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONRejectList Class Reference

Object to hold the list of elements we want to reject from the reconstruction. More...

#include <AliMUONRejectList.h>

Inheritance diagram for AliMUONRejectList:

Public Member Functions

 AliMUONRejectList (TRootIOCtor *ioCtor)
 
 AliMUONRejectList ()
 
 AliMUONRejectList (const AliMUONRejectList &rl)
 
AliMUONRejectListoperator= (const AliMUONRejectList &rl)
 
virtual ~AliMUONRejectList ()
 
virtual TObject * Clone (const char *="") const
 Clone this object. More...
 
Bool_t IsBinary () const
 Whether or not all our probabilities are 0.0 or 1.0. More...
 
Float_t DetectionElementProbability (Int_t detElemId) const
 
Float_t BusPatchProbability (Int_t busPatchId) const
 
Float_t ManuProbability (Int_t detElemId, Int_t manuId) const
 
Float_t ChannelProbability (Int_t detElemId, Int_t manuId, Int_t manuChannel) const
 
void SetDetectionElementProbability (Int_t detElemId, Float_t proba=1.0)
 
void SetBusPatchProbability (Int_t busPatchId, Float_t proba=1.0)
 
void SetManuProbability (Int_t detElemId, Int_t manuId, Float_t proba=1.0)
 
void SetChannelProbability (Int_t detElemId, Int_t manuId, Int_t manuChannel, Float_t proba=1.0)
 
void SetPCBProbability (Int_t detElemId, Int_t pcbNumber, Float_t proba=1.0)
 
void SetHVProbability (const char *dcsName, Float_t proba=1.0)
 
void Print (Option_t *opt="") const
 

Private Member Functions

void ZeroOrOne (Float_t proba)
 

Private Attributes

Bool_t fIsBinary
 Whether or not we only store zeros and ones for probabilities. More...
 
UInt_t fMaxNofDEs
 max number of detection elements (for allocation purposes) More...
 
UInt_t fMaxNofBPs
 max number of bus patches (for allocation purposes) More...
 
UInt_t fMaxNofManus
 max number of manus (for allocation purposes) More...
 
UInt_t fNofDEs
 actual number of detection elements for which we have probabilities More...
 
UInt_t fNofBPs
 actual number of bus patches for which we have probabilities More...
 
UInt_t fNofManus
 actual number of manus for which we have probabilities More...
 
UInt_t * fDEIds
 array of detection element ids More...
 
Float_t * fDEProbas
 array of probabilities of DEs More...
 
UInt_t * fBPIds
 array of bus patch ids More...
 
Float_t * fBPProbas
 array of proba for bus patches More...
 
UInt_t * fManuIds
 array of manu ids More...
 
Float_t * fManuProbas
 array of proba for manus More...
 
AliMUONVStorefChannels
 probabilities for all channels More...
 

Detailed Description

Object to hold the list of elements we want to reject from the reconstruction.

Object to hold the probability to reject elements during reconstruction.

Those elements are either channels, manus, bus patches, detection elements, pcbs (for slats) and HV channels, or all of them.

(we do not consider the next level, chamber, because if a full chamber is missing, we assume we'll remove that run from the list of usable runs anyway).

The probability of rejection can be different from 0.0 or 1.0 only for simulations, in which case it means that :

  • this object was created from inspection of real data occupancy maps + ad-hoc rejections over several runs
  • the probability then reflects the chance a given element was useable during data taking. For instance, if one DE has a probability of 0.8, it means it was on (or correctly behaving during data taking) only for 20% of the events.
Author
Laurent Aphecetche, Subatech

Definition at line 22 of file AliMUONRejectList.h.

Constructor & Destructor Documentation

AliMUONRejectList::AliMUONRejectList ( TRootIOCtor *  ioCtor)

ctor from root i/o

Definition at line 212 of file AliMUONRejectList.cxx.

AliMUONRejectList::AliMUONRejectList ( )

normal ctor

Definition at line 185 of file AliMUONRejectList.cxx.

Referenced by Clone().

AliMUONRejectList::AliMUONRejectList ( const AliMUONRejectList rl)

Copy ctor

Definition at line 233 of file AliMUONRejectList.cxx.

AliMUONRejectList::~AliMUONRejectList ( )
virtual

dtor

Definition at line 301 of file AliMUONRejectList.cxx.

Member Function Documentation

Float_t AliMUONRejectList::BusPatchProbability ( Int_t  busPatchId) const
Float_t AliMUONRejectList::ChannelProbability ( Int_t  detElemId,
Int_t  manuId,
Int_t  manuChannel 
) const
virtual TObject* AliMUONRejectList::Clone ( const char *  = "") const
inlinevirtual

Clone this object.

Definition at line 32 of file AliMUONRejectList.h.

Float_t AliMUONRejectList::DetectionElementProbability ( Int_t  detElemId) const
Bool_t AliMUONRejectList::IsBinary ( ) const
inline

Whether or not all our probabilities are 0.0 or 1.0.

Definition at line 35 of file AliMUONRejectList.h.

Referenced by AliMUONPadStatusMapMaker::AliMUONPadStatusMapMaker().

Float_t AliMUONRejectList::ManuProbability ( Int_t  detElemId,
Int_t  manuId 
) const
AliMUONRejectList & AliMUONRejectList::operator= ( const AliMUONRejectList rl)

assignement operator

Definition at line 266 of file AliMUONRejectList.cxx.

void AliMUONRejectList::Print ( Option_t *  opt = "") const

Printout

Definition at line 456 of file AliMUONRejectList.cxx.

void AliMUONRejectList::SetBusPatchProbability ( Int_t  busPatchId,
Float_t  proba = 1.0 
)

Set the probability to reject a given bus patch

Definition at line 365 of file AliMUONRejectList.cxx.

Referenced by AddEventsSingleRun(), CheckDE_BP_ManuPedestals(), and CreateWeightedRejectList().

void AliMUONRejectList::SetChannelProbability ( Int_t  detElemId,
Int_t  manuId,
Int_t  manuChannel,
Float_t  proba = 1.0 
)

Set the probability to reject a given channel

Definition at line 387 of file AliMUONRejectList.cxx.

Referenced by AddEventsSingleRun(), CheckDE_BP_ManuPedestals(), and CreateWeightedRejectList().

void AliMUONRejectList::SetDetectionElementProbability ( Int_t  detElemId,
Float_t  proba = 1.0 
)

Set the probability to reject a given detection element

Definition at line 344 of file AliMUONRejectList.cxx.

Referenced by AddEventsSingleRun(), CheckDE_BP_ManuPedestals(), CreateWeightedRejectList(), and AliMUONCDB::MakeRejectListStore().

void AliMUONRejectList::SetHVProbability ( const char *  dcsName,
Float_t  proba = 1.0 
)

Set the probability to reject all the manus of a given HV part Caution : the dcs string is a dcs NAME, not an alias

Definition at line 431 of file AliMUONRejectList.cxx.

void AliMUONRejectList::SetManuProbability ( Int_t  detElemId,
Int_t  manuId,
Float_t  proba = 1.0 
)

Set the probability to reject a given manu

Definition at line 376 of file AliMUONRejectList.cxx.

Referenced by AddEventsSingleRun(), CheckDE_BP_ManuPedestals(), CreateWeightedRejectList(), SetHVProbability(), and SetPCBProbability().

void AliMUONRejectList::SetPCBProbability ( Int_t  detElemId,
Int_t  pcbNumber,
Float_t  proba = 1.0 
)

Set the probability to reject all the manus of a given (slat) PCB

Definition at line 401 of file AliMUONRejectList.cxx.

void AliMUONRejectList::ZeroOrOne ( Float_t  proba)
private

If proba is anything else than 0 or 1, we set fIsBinary to kFALSe

Definition at line 356 of file AliMUONRejectList.cxx.

Referenced by SetBusPatchProbability(), SetChannelProbability(), SetDetectionElementProbability(), and SetManuProbability().

Member Data Documentation

UInt_t* AliMUONRejectList::fBPIds
private

array of bus patch ids

Definition at line 74 of file AliMUONRejectList.h.

Referenced by AliMUONRejectList(), BusPatchProbability(), operator=(), Print(), SetBusPatchProbability(), and ~AliMUONRejectList().

Float_t* AliMUONRejectList::fBPProbas
private

array of proba for bus patches

Definition at line 77 of file AliMUONRejectList.h.

Referenced by AliMUONRejectList(), BusPatchProbability(), operator=(), Print(), SetBusPatchProbability(), and ~AliMUONRejectList().

AliMUONVStore* AliMUONRejectList::fChannels
private

probabilities for all channels

Definition at line 85 of file AliMUONRejectList.h.

Referenced by AliMUONRejectList(), ChannelProbability(), operator=(), SetChannelProbability(), and ~AliMUONRejectList().

UInt_t* AliMUONRejectList::fDEIds
private
Float_t* AliMUONRejectList::fDEProbas
private
Bool_t AliMUONRejectList::fIsBinary
private

Whether or not we only store zeros and ones for probabilities.

Definition at line 57 of file AliMUONRejectList.h.

Referenced by IsBinary(), operator=(), and ZeroOrOne().

UInt_t* AliMUONRejectList::fManuIds
private

array of manu ids

Definition at line 80 of file AliMUONRejectList.h.

Referenced by AliMUONRejectList(), ManuProbability(), operator=(), Print(), SetManuProbability(), and ~AliMUONRejectList().

Float_t* AliMUONRejectList::fManuProbas
private

array of proba for manus

Definition at line 83 of file AliMUONRejectList.h.

Referenced by AliMUONRejectList(), ManuProbability(), operator=(), Print(), SetManuProbability(), and ~AliMUONRejectList().

UInt_t AliMUONRejectList::fMaxNofBPs
private

max number of bus patches (for allocation purposes)

Definition at line 60 of file AliMUONRejectList.h.

Referenced by AliMUONRejectList(), and operator=().

UInt_t AliMUONRejectList::fMaxNofDEs
private

max number of detection elements (for allocation purposes)

Definition at line 59 of file AliMUONRejectList.h.

Referenced by AliMUONRejectList(), and operator=().

UInt_t AliMUONRejectList::fMaxNofManus
private

max number of manus (for allocation purposes)

Definition at line 61 of file AliMUONRejectList.h.

Referenced by AliMUONRejectList(), and operator=().

UInt_t AliMUONRejectList::fNofBPs
private

actual number of bus patches for which we have probabilities

Definition at line 64 of file AliMUONRejectList.h.

Referenced by BusPatchProbability(), operator=(), Print(), and SetBusPatchProbability().

UInt_t AliMUONRejectList::fNofDEs
private

actual number of detection elements for which we have probabilities

Definition at line 63 of file AliMUONRejectList.h.

Referenced by DetectionElementProbability(), operator=(), Print(), and SetDetectionElementProbability().

UInt_t AliMUONRejectList::fNofManus
private

actual number of manus for which we have probabilities

Definition at line 65 of file AliMUONRejectList.h.

Referenced by ManuProbability(), operator=(), Print(), and SetManuProbability().


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