![]() |
AliRoot Core
v5-06-30 (35d6c57)
|
Implementation of AliMUONVDigit for real (i.e. not simulated) digits. More...
#include <AliMUONRealDigit.h>
Public Member Functions | |
AliMUONRealDigit () | |
AliMUONRealDigit (Int_t detElemId, Int_t manuId, Int_t manuChannel, Int_t cathode) | |
virtual | ~AliMUONRealDigit () |
virtual Int_t | DetElemId () const |
Return the detection element this digit belongs to. More... | |
virtual Int_t | PadX () const |
The x-index of this digit (>=0) More... | |
virtual Int_t | PadY () const |
The y-index of this digit (>=0) More... | |
virtual Int_t | Cathode () const |
Return the cathode this digit belongs to. More... | |
virtual Float_t | Charge () const |
Charge (should be non zero if calibrated) More... | |
virtual Int_t | ADC () const |
ADC value (it is the real raw adc value, not pedestal subtracted) More... | |
virtual Int_t | ManuId () const |
Return the manu chip this digit belongs to. More... | |
virtual Int_t | ManuChannel () const |
Return the manu channel this digits is connected to. More... | |
virtual Bool_t | IsSaturated () const |
Whether this digit's charge has saturated the electronics. More... | |
virtual void | Saturated (Bool_t saturated=kTRUE) |
Set the saturation status. More... | |
virtual Bool_t | IsNoiseOnly () const |
We have no idea whether a real digit is noise only or not ;-) More... | |
virtual Bool_t | IsEfficiencyApplied () const |
Again, this is for simulation only. More... | |
virtual Bool_t | IsCalibrated () const |
Whether this digit is calibrated or not. More... | |
virtual void | Calibrated (Bool_t value) |
Set the calibration status. More... | |
virtual Bool_t | IsChargeInFC () const |
Whether this digit has its charge already in fC. More... | |
virtual void | ChargeInFC (Bool_t value=kTRUE) |
Set the charge unit value. More... | |
virtual Bool_t | IsUsed () const |
Whether this digit is part of a cluster or something else. More... | |
virtual void | Used (Bool_t value) |
Set the used status. More... | |
virtual UInt_t | StatusMap () const |
The status map (i.e. the status of the neighbours) of this digit. More... | |
virtual void | SetStatusMap (UInt_t statusMap) |
Set the status map value. More... | |
virtual void | SetADC (Int_t adc) |
Set the ADC value (should be between 0 and 4095) More... | |
virtual void | SetPadXY (Int_t padx, Int_t pady) |
Set the ix and iy of this digit. More... | |
virtual void | SetCharge (Float_t q) |
Set the charge. More... | |
virtual Bool_t | MergeWith (const AliMUONVDigit &other) |
Merge this with other. More... | |
virtual Bool_t | HasMCInformation () const |
No, this digit is not a Monte-Carlo one, sorry. More... | |
![]() | |
AliMUONVDigit () | |
AliMUONVDigit (Int_t detElemId, Int_t manuId, Int_t manuChannel, Int_t cathode) | |
virtual | ~AliMUONVDigit () |
virtual Bool_t | IsEqual (const TObject *object) const |
virtual Bool_t | IsSortable () const |
Advertise that we can be sorted in TCollections. More... | |
virtual Int_t | Compare (const TObject *object) const |
virtual const char * | GetName () const |
virtual void | NoiseOnly (Bool_t=kTRUE) |
Set the noiseOnly status. More... | |
virtual void | EfficiencyApplied (Bool_t=kTRUE) |
Set the efficiencyApplied status. More... | |
virtual Bool_t | IsConverted () const |
Whether or not this digit was obtained from a conversion (e.g. real to simulated) More... | |
virtual void | AddCharge (Float_t q) |
Add a charge. More... | |
virtual Bool_t | IsTracker () const |
Whether this digit is a tracker digit (false if belongs to trigger) More... | |
virtual Bool_t | IsTrigger () const |
virtual void | Print (Option_t *opt="") const |
virtual Int_t | Hit () const |
Hit number that contributed to this simulated digit. More... | |
virtual void | SetHit (Int_t) |
Set the hit number. More... | |
virtual Float_t | Time () const |
Hit age. More... | |
virtual void | SetTime (Float_t) |
Set hit age. More... | |
virtual Int_t | Ntracks () const |
Number of tracks contributing to this digit. More... | |
virtual void | AddTrack (Int_t, Float_t) |
Add a track (and its charge) to the list of tracks we handle. More... | |
virtual Int_t | Track (Int_t) const |
Return the i-th track number. More... | |
virtual Float_t | TrackCharge (Int_t) const |
Return the i-th track charge. More... | |
virtual void | PatchTracks (Int_t) |
Patch track with a mask. More... | |
Private Types | |
enum | EStatusBit { kSaturated = BIT(20), kUsed = BIT(21), kCalibrated = BIT(22), kChargeInFC = BIT(23) } |
Various statuses of the digit. More... | |
Private Attributes | |
Float_t | fCharge |
Charge on pad. More... | |
UInt_t | fPadXY |
Pad number along x and Y (packed) More... | |
Int_t | fADC |
Raw ADC value. More... | |
UInt_t | fStatusMap |
Neighbouring pad status (whether ped, gains, hv were ok or not) More... | |
Additional Inherited Members | |
![]() | |
static UInt_t | BuildUniqueID (Int_t detElemId, Int_t manuId, Int_t manuChannel, Int_t cathode) |
static void | DecodeUniqueID (UInt_t uniqueID, Int_t &detElemId, Int_t &manuId, Int_t &manuChannel, Int_t &cathode) |
static Int_t | DetElemId (UInt_t uniqueID) |
static Int_t | ManuId (UInt_t uniqueID) |
static Int_t | ManuChannel (UInt_t uniqueID) |
static Int_t | Cathode (UInt_t uniqueID) |
static Int_t | LocalBoardNumber (UInt_t uniqueID) |
Return the localBoardNumber from the uniqueID. More... | |
static Int_t | LocalBoardChannel (UInt_t uniqueID) |
Return the localBoardChannel from the uniqueID. More... | |
Implementation of AliMUONVDigit for real (i.e. not simulated) digits.
Implementation of AliMUONVDigit for real digit.
This class should store the bare minimum in order to save disk space
Definition at line 19 of file AliMUONRealDigit.h.
|
private |
Various statuses of the digit.
Definition at line 93 of file AliMUONRealDigit.h.
AliMUONRealDigit::AliMUONRealDigit | ( | ) |
default ctor
Definition at line 35 of file AliMUONRealDigit.cxx.
AliMUONRealDigit::AliMUONRealDigit | ( | Int_t | detElemId, |
Int_t | manuId, | ||
Int_t | manuChannel, | ||
Int_t | cathode | ||
) |
normal ctor
Definition at line 46 of file AliMUONRealDigit.cxx.
|
virtual |
empty ctor
Definition at line 58 of file AliMUONRealDigit.cxx.
|
inlinevirtual |
ADC value (it is the real raw adc value, not pedestal subtracted)
Implements AliMUONVDigit.
Definition at line 37 of file AliMUONRealDigit.h.
|
inlinevirtual |
Set the calibration status.
Implements AliMUONVDigit.
Definition at line 58 of file AliMUONRealDigit.h.
|
inlinevirtual |
Return the cathode this digit belongs to.
Implements AliMUONVDigit.
Definition at line 31 of file AliMUONRealDigit.h.
Referenced by MergeWith().
|
inlinevirtual |
Charge (should be non zero if calibrated)
Implements AliMUONVDigit.
Definition at line 34 of file AliMUONRealDigit.h.
|
inlinevirtual |
Set the charge unit value.
Implements AliMUONVDigit.
Definition at line 63 of file AliMUONRealDigit.h.
|
inlinevirtual |
Return the detection element this digit belongs to.
Implements AliMUONVDigit.
Definition at line 27 of file AliMUONRealDigit.h.
Referenced by MergeWith().
|
inlinevirtual |
No, this digit is not a Monte-Carlo one, sorry.
Implements AliMUONVDigit.
Definition at line 84 of file AliMUONRealDigit.h.
|
inlinevirtual |
Whether this digit is calibrated or not.
Implements AliMUONVDigit.
Definition at line 56 of file AliMUONRealDigit.h.
|
inlinevirtual |
Whether this digit has its charge already in fC.
Reimplemented from AliMUONVDigit.
Definition at line 61 of file AliMUONRealDigit.h.
|
inlinevirtual |
Again, this is for simulation only.
Implements AliMUONVDigit.
Definition at line 53 of file AliMUONRealDigit.h.
|
inlinevirtual |
We have no idea whether a real digit is noise only or not ;-)
Implements AliMUONVDigit.
Definition at line 50 of file AliMUONRealDigit.h.
|
inlinevirtual |
Whether this digit's charge has saturated the electronics.
Implements AliMUONVDigit.
Definition at line 45 of file AliMUONRealDigit.h.
|
inlinevirtual |
Whether this digit is part of a cluster or something else.
Implements AliMUONVDigit.
Definition at line 66 of file AliMUONRealDigit.h.
|
inlinevirtual |
Return the manu channel this digits is connected to.
Implements AliMUONVDigit.
Definition at line 42 of file AliMUONRealDigit.h.
|
inlinevirtual |
Return the manu chip this digit belongs to.
Implements AliMUONVDigit.
Definition at line 40 of file AliMUONRealDigit.h.
|
virtual |
Merge this with other.
Merge with src.
Implements AliMUONVDigit.
Definition at line 65 of file AliMUONRealDigit.cxx.
|
virtual |
The x-index of this digit (>=0)
Return (integer) position in x (within the detection element)
Implements AliMUONVDigit.
Definition at line 84 of file AliMUONRealDigit.cxx.
Referenced by MergeWith().
|
virtual |
The y-index of this digit (>=0)
Return (integer) position in y (within the detection element)
Implements AliMUONVDigit.
Definition at line 92 of file AliMUONRealDigit.cxx.
Referenced by MergeWith().
|
inlinevirtual |
Set the saturation status.
Implements AliMUONVDigit.
Definition at line 47 of file AliMUONRealDigit.h.
|
inlinevirtual |
Set the ADC value (should be between 0 and 4095)
Implements AliMUONVDigit.
Definition at line 76 of file AliMUONRealDigit.h.
|
inlinevirtual |
|
virtual |
Set the ix and iy of this digit.
Set the pad (integer) positions
Implements AliMUONVDigit.
Definition at line 100 of file AliMUONRealDigit.cxx.
|
inlinevirtual |
Set the status map value.
Implements AliMUONVDigit.
Definition at line 73 of file AliMUONRealDigit.h.
|
inlinevirtual |
The status map (i.e. the status of the neighbours) of this digit.
Implements AliMUONVDigit.
Definition at line 71 of file AliMUONRealDigit.h.
|
inlinevirtual |
|
private |
|
private |
Charge on pad.
Definition at line 87 of file AliMUONRealDigit.h.
Referenced by Charge(), and SetCharge().
|
private |
Pad number along x and Y (packed)
Definition at line 88 of file AliMUONRealDigit.h.
Referenced by PadX(), PadY(), and SetPadXY().
|
private |
Neighbouring pad status (whether ped, gains, hv were ok or not)
Definition at line 90 of file AliMUONRealDigit.h.
Referenced by SetStatusMap(), and StatusMap().