-void
-AliFMDDigit::Print(Option_t* /* option*/) const
-{
- // Print digit to standard out
- AliFMDBaseDigit::Print();
- cout << "\t"
- << fCount1 << " (+ " << fCount2 << " + " << fCount2 << ") = "
- << Counts() << endl;
-}
-
-//====================================================================
-ClassImp(AliFMDSDigit)
-
-//____________________________________________________________________
-AliFMDSDigit::AliFMDSDigit()
- : fEdep(0),
- fCount1(0),
- fCount2(-1),
- fCount3(-1)
-{}
-
-//____________________________________________________________________
-AliFMDSDigit::AliFMDSDigit(UShort_t detector,
- Char_t ring,
- UShort_t sector,
- UShort_t strip,
- Float_t edep,
- UShort_t count1,
- Short_t count2,
- Short_t count3)
- : AliFMDBaseDigit(detector, ring, sector, strip),
- fEdep(edep),
- fCount1(count1),
- fCount2(count2),
- fCount3(count3)
-{
- //
- // Creates a real data digit object
- //
- // Parameters
- //
- // detector Detector # (1, 2, or 3)
- // ring Ring ID ('I' or 'O')
- // sector Sector # (For inner/outer rings: 0-19/0-39)
- // strip Strip # (For inner/outer rings: 0-511/0-255)
- // edep Total energy deposited
- // count1 ADC count (a 10-bit word)
- // count2 ADC count (a 10-bit word) -1 if not used
- // count3 ADC count (a 10-bit word) -1 if not used