13 #ifndef ALIMUONVDIGIT_H
21 AliMUONDigit(Int_t detElemId, Int_t manuId, Int_t manuChannel, Int_t cathode);
45 virtual void AddTrack(Int_t trackNumber, Float_t trackCharge);
46 virtual Int_t
Track(Int_t i)
const;
49 virtual Int_t
ADC()
const {
return fADC; }
59 virtual void NoiseOnly(Bool_t value=kTRUE);
60 virtual void Saturated(Bool_t saturated=kTRUE);
62 virtual void Converted(Bool_t value=kTRUE);
72 virtual void Copy(TObject& digit)
const;
78 virtual void Clear(Option_t*);
85 virtual Bool_t
IsUsed()
const;
86 virtual void Used(Bool_t value);
virtual Float_t Charge() const
Return signal amplitude.
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 UInt_t StatusMap() const
Return Neighbouring pad status.
virtual TObject * Clone(const char *="") const
Own clone methods (as the default TObject::Clone turned out to be pretty slow !)
virtual void Calibrated(Bool_t value)
Set the calibrated status (see note 1 in AliMUONVDigit.cxx)
virtual void SetHit(Int_t n)
Set MC hit number.
virtual Int_t DetElemId() const
Return detection element ID.
Int_t * fTracks
primary MC tracks making this digit
virtual void SetStatusMap(UInt_t statusMap)
Set status map.
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
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 Int_t ADC() const
Return ADC value.
virtual Bool_t IsEfficiencyApplied() const
Whether this (simulated) digit got corrected by chamber efficiency.
virtual Int_t Hit() const
Return MC hit number.
virtual Bool_t IsNoiseOnly() const
Whether this (simulated) digit is purely noise.
virtual void ChargeInFC(Bool_t value=kTRUE)
Set the unit value (see note 1 in AliMUONVDigit.cxx)
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 SetTime(Float_t t)
Set MC hit age.
virtual Bool_t IsSaturated() const
Whether the ADC has saturated.
virtual void SetPadXY(Int_t padx, Int_t pady)
Set pad number along x.
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 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 void SetCharge(Float_t q)
Set charge.
virtual Bool_t IsUsed() const
Whether this digit is used somewhere (typically in a cluster)
virtual void Clear(Option_t *)
virtual Float_t Time() const
Hit age.
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
virtual UInt_t GetUniqueID() const
UInt_t fStatusMap
Neighbouring pad status (whether ped, gains, hv were ok or not)
virtual Int_t ManuChannel() const
Return Channel within the MANU chip.
virtual void Copy(TObject &digit) const
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 Bool_t HasMCInformation() const
Below are methods only relevant for MC digigts.
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)
virtual void SetADC(Int_t adc)
Set ADC value.
Float_t * fTcharges
charges of MC track making this digit