62 Int_t manuChannel, Int_t cathode)
65 fDetElemId(detElemId),
67 fManuChannel(manuChannel),
127 for ( Int_t i = 0; i <
Ntracks(); ++i )
129 if (
Track(i) == trackNumber )
138 Int_t* newTracks =
new Int_t[
fNtracks+1];
139 Float_t* newTcharges =
new Float_t[
fNtracks+1];
141 for ( Int_t i = 0; i <
fNtracks; ++i )
148 newTcharges[
fNtracks] = trackCharge;
343 for ( Int_t i = 0; i < src.
Ntracks(); ++i )
372 if (
this != &digit )
385 for ( Int_t i = 0; i <
Ntracks(); ++i )
virtual Int_t ManuId() const
Return Id of the MANU chip.
virtual Int_t Cathode() const
Return cathode number.
Int_t fDetElemId
Detection element ID.
UInt_t fFlags
Special flags (e.g. is the signal an overflow ?)
virtual Int_t PadY() const =0
The y-index of this digit (>=0)
virtual Float_t TrackCharge(Int_t) const
Return the i-th track charge.
virtual void Calibrated(Bool_t value)
Set the calibrated status (see note 1 in AliMUONVDigit.cxx)
virtual Int_t DetElemId() const
Return detection element ID.
Int_t * fTracks
primary MC tracks making this digit
Int_t fPadX
Pad number along x.
virtual Int_t PadY() const
Return pad number along y.
static const UInt_t fgkEfficiencyMask
indicate chamber efficiency has been applied to a simulated digit
virtual Int_t Track(Int_t) const
Return the i-th track number.
static const UInt_t fgkChargeInFC
charge unit are femto coulomb
virtual Float_t TrackCharge(Int_t i) const
Return the i-th track charge.
virtual Bool_t IsEfficiencyApplied() const
Whether this (simulated) digit got corrected by chamber efficiency.
virtual Bool_t IsNoiseOnly() const
Whether this (simulated) digit is purely noise.
virtual Float_t Charge() const =0
The charge of this digit, calibrated or not depending on IsCalibrated()
virtual void ChargeInFC(Bool_t value=kTRUE)
Set the unit value (see note 1 in AliMUONVDigit.cxx)
virtual Int_t DetElemId() const =0
The detection element this digit belongs to.
Int_t fManuId
Id of the MANU chip.
static const UInt_t fgkConverted
has been converted from a real digit
virtual Int_t PadX() const
Return pad number along x.
virtual void PatchTracks(Int_t mask)
Patch track with a mask.
static const UInt_t fgkSaturatedMask
the mask (part of fFlags) to indicate this digit is saturated
virtual void AddCharge(Float_t q)
Add a charge.
virtual Bool_t IsSaturated() const
Whether the ADC has saturated.
virtual Bool_t IsCalibrated() const
Whether this digit has been calibrated or not (see note 1 in AliMUONVDigit.cxx)
Int_t fHit
MC hit number - temporary solution.
Int_t fCathode
Cathode number.
virtual Int_t Cathode() const =0
Cathode number this digit is on (0 or 1)
virtual Int_t Track(Int_t i) const
Return the i-th track number.
virtual void EfficiencyApplied(Bool_t value=kTRUE)
Set the efficiencyApplied status.
static const UInt_t fgkUsedMask
whether this digit is used by whatever other object (typically a cluster, though) ...
virtual Bool_t IsUsed() const
Whether this digit is used somewhere (typically in a cluster)
virtual void Clear(Option_t *)
virtual Int_t PadX() const =0
The x-index of this digit (>=0)
virtual void Saturated(Bool_t saturated=kTRUE)
Set the saturation status.
virtual Bool_t MergeWith(const AliMUONVDigit &other)
Merge this with other.
Int_t fPadY
Pad number along y.
static const UInt_t fgkNoiseOnlyMask
indicate a simulated digit due to noise only
static UInt_t BuildUniqueID(Int_t detElemId, Int_t manuId, Int_t manuChannel, Int_t cathode)
virtual UInt_t GetUniqueID() const
UInt_t fStatusMap
Neighbouring pad status (whether ped, lv, hv were ok or not)
virtual Int_t ManuChannel() const
Return Channel within the MANU chip.
virtual void Copy(TObject &digit) const
virtual Int_t Ntracks() const
Number of tracks contributing to this digit.
Int_t fManuChannel
Channel within the MANU chip.
virtual void Converted(Bool_t value=kTRUE)
Int_t fNtracks
MC tracks making to this digit.
AliMUONDigit & operator=(const AliMUONDigit &rhs)
virtual Bool_t IsConverted() const
Whether or not this digit was obtained from a conversion (e.g. real to simulated) ...
virtual void Used(Bool_t value)
Set the used status.
static const UInt_t fgkCalibratedMask
whether this digits has been calibrated
virtual void AddTrack(Int_t trackNumber, Float_t trackCharge)
Add a track (and its charge) to the list of tracks we handle.
virtual Int_t Ntracks() const
Return MC hit age.
Float_t fSignal
Signal amplitude.
virtual void NoiseOnly(Bool_t value=kTRUE)
Set the noiseOnly status.
virtual Bool_t IsChargeInFC() const
Whether this digit has charge in femto coulomb (see note 1 in AliMUONVDigit.cxx)
Float_t * fTcharges
charges of MC track making this digit