1 #ifndef ALI_ITS_ONLINESPDHITEVENT_H
2 #define ALI_ITS_ONLINESPDHITEVENT_H
4 /////////////////////////////////////////////////////////////////
5 // Author: Henrik Tydesjo //
6 // This class is used as a container online. //
7 // One object for each half stave and step in a scan. It keeps //
8 // the nr of events with at least one pixel hit in each chip. //
9 // It also keeps the value for the all the 10 chips together. //
10 // This class should only be used through the interface of the //
11 // AliITSOnlineSPDscan class. //
12 /////////////////////////////////////////////////////////////////
16 class AliITSOnlineSPDHitEvent : public TObject {
19 AliITSOnlineSPDHitEvent();
20 virtual ~AliITSOnlineSPDHitEvent(){}
21 void IncrementHitEvent(UInt_t chip);
22 void SetHitEvent(UInt_t chip, UInt_t events);
23 UInt_t GetHitEvent(UInt_t chip) const;
24 AliITSOnlineSPDHitEvent* CloneThis() const;
27 UInt_t fHitEvent[11]; // nr of events with at least one hit in a chip
28 // index 10 is for all 10 chips together
30 ClassDef(AliITSOnlineSPDHitEvent,1)