![]() |
AliRoot Core
v5-06-30 (35d6c57)
|
Object to hold the list of elements we want to reject from the reconstruction. More...
#include <AliMUONRejectList.h>
Public Member Functions | |
AliMUONRejectList (TRootIOCtor *ioCtor) | |
AliMUONRejectList () | |
AliMUONRejectList (const AliMUONRejectList &rl) | |
AliMUONRejectList & | operator= (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... | |
AliMUONVStore * | fChannels |
probabilities for all channels More... | |
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 :
Definition at line 22 of file AliMUONRejectList.h.
AliMUONRejectList::AliMUONRejectList | ( | TRootIOCtor * | ioCtor | ) |
ctor from root i/o
Definition at line 212 of file AliMUONRejectList.cxx.
AliMUONRejectList::AliMUONRejectList | ( | ) |
AliMUONRejectList::AliMUONRejectList | ( | const AliMUONRejectList & | rl | ) |
Copy ctor
Definition at line 233 of file AliMUONRejectList.cxx.
|
virtual |
dtor
Definition at line 301 of file AliMUONRejectList.cxx.
Float_t AliMUONRejectList::BusPatchProbability | ( | Int_t | busPatchId | ) | const |
Get the probability to reject a given bus patch
Definition at line 321 of file AliMUONRejectList.cxx.
Referenced by AddEventsSingleRun(), AliMUONPadStatusMapMaker::AliMUONPadStatusMapMaker(), AliMUONTrackerData::AliMUONTrackerData(), CheckDE_BP_ManuPedestals(), and CreateWeightedRejectList().
Float_t AliMUONRejectList::ChannelProbability | ( | Int_t | detElemId, |
Int_t | manuId, | ||
Int_t | manuChannel | ||
) | const |
Get the probability to reject a given channel
Definition at line 335 of file AliMUONRejectList.cxx.
Referenced by AddEventsSingleRun(), AliMUONPadStatusMapMaker::AliMUONPadStatusMapMaker(), AliMUONTrackerData::AliMUONTrackerData(), and CreateWeightedRejectList().
|
inlinevirtual |
Clone this object.
Definition at line 32 of file AliMUONRejectList.h.
Float_t AliMUONRejectList::DetectionElementProbability | ( | Int_t | detElemId | ) | const |
Get the probability to reject a given detection element
Definition at line 314 of file AliMUONRejectList.cxx.
Referenced by AddEventsSingleRun(), AliMUONPadStatusMapMaker::AliMUONPadStatusMapMaker(), AliMUONTrackerData::AliMUONTrackerData(), CheckDE_BP_ManuPedestals(), and CreateWeightedRejectList().
|
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 |
Get the probability to reject a given manu
Definition at line 328 of file AliMUONRejectList.cxx.
Referenced by AddEventsSingleRun(), AliMUONPadStatusMapMaker::AliMUONPadStatusMapMaker(), AliMUONTrackerData::AliMUONTrackerData(), CheckDE_BP_ManuPedestals(), and CreateWeightedRejectList().
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.
|
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().
|
private |
array of bus patch ids
Definition at line 74 of file AliMUONRejectList.h.
Referenced by AliMUONRejectList(), BusPatchProbability(), operator=(), Print(), SetBusPatchProbability(), and ~AliMUONRejectList().
|
private |
array of proba for bus patches
Definition at line 77 of file AliMUONRejectList.h.
Referenced by AliMUONRejectList(), BusPatchProbability(), operator=(), Print(), SetBusPatchProbability(), and ~AliMUONRejectList().
|
private |
probabilities for all channels
Definition at line 85 of file AliMUONRejectList.h.
Referenced by AliMUONRejectList(), ChannelProbability(), operator=(), SetChannelProbability(), and ~AliMUONRejectList().
|
private |
array of detection element ids
Definition at line 68 of file AliMUONRejectList.h.
Referenced by AliMUONRejectList(), DetectionElementProbability(), operator=(), Print(), SetDetectionElementProbability(), and ~AliMUONRejectList().
|
private |
array of probabilities of DEs
Definition at line 71 of file AliMUONRejectList.h.
Referenced by AliMUONRejectList(), DetectionElementProbability(), operator=(), Print(), SetDetectionElementProbability(), and ~AliMUONRejectList().
|
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().
|
private |
array of manu ids
Definition at line 80 of file AliMUONRejectList.h.
Referenced by AliMUONRejectList(), ManuProbability(), operator=(), Print(), SetManuProbability(), and ~AliMUONRejectList().
|
private |
array of proba for manus
Definition at line 83 of file AliMUONRejectList.h.
Referenced by AliMUONRejectList(), ManuProbability(), operator=(), Print(), SetManuProbability(), and ~AliMUONRejectList().
|
private |
max number of bus patches (for allocation purposes)
Definition at line 60 of file AliMUONRejectList.h.
Referenced by AliMUONRejectList(), and operator=().
|
private |
max number of detection elements (for allocation purposes)
Definition at line 59 of file AliMUONRejectList.h.
Referenced by AliMUONRejectList(), and operator=().
|
private |
max number of manus (for allocation purposes)
Definition at line 61 of file AliMUONRejectList.h.
Referenced by AliMUONRejectList(), and operator=().
|
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().
|
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().
|
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().