b15de2d2 |
1 | #ifndef ALI_ITS_ONLINESPDSCANSINGLE_H |
2 | #define ALI_ITS_ONLINESPDSCANSINGLE_H |
4ee23d3d |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ |
5 | |
6 | /* $Id$ */ |
b15de2d2 |
7 | |
8 | //////////////////////////////////////////////////////////// |
9 | // Author: Henrik Tydesjo // |
10 | // Interface class to the containers of an online scan // |
11 | // with only one step. // |
12 | //////////////////////////////////////////////////////////// |
13 | |
14 | #include "AliITSOnlineSPDscan.h" |
15 | |
16 | class AliITSOnlineSPDscanSingle : public AliITSOnlineSPDscan { |
17 | |
18 | public: |
19 | AliITSOnlineSPDscanSingle() {} |
6ddf3d66 |
20 | AliITSOnlineSPDscanSingle(const Char_t *fileName, Bool_t readFromGridFile=kFALSE); |
b15de2d2 |
21 | virtual ~AliITSOnlineSPDscanSingle(); |
22 | |
b15de2d2 |
23 | // SET METHODS *********************************** |
24 | void SetHits(UInt_t hs, UInt_t chipi, UInt_t coli, UInt_t rowi, UInt_t val); |
25 | void IncrementTriggers(); |
26 | void SetTriggers(UInt_t val); |
27 | void IncrementHits(UInt_t hs, UInt_t chipi, UInt_t coli, UInt_t rowi); |
28 | void SetHitEvents(UInt_t hs, UInt_t chipi, UInt_t val); |
29 | void SetHitEventsTot(UInt_t hs, UInt_t val); |
30 | void IncrementHitEvents(UInt_t hs, UInt_t chipi); |
31 | void IncrementHitEventsTot(UInt_t hs); |
32 | // GET METHODS *********************************** |
33 | UInt_t GetTriggers(); |
34 | UInt_t GetHits(UInt_t hs, UInt_t chipi, UInt_t coli, UInt_t rowi); |
35 | Float_t GetHitsEfficiency(UInt_t hs, UInt_t chipi, UInt_t coli, UInt_t rowi); |
36 | Float_t GetHitsEfficiencyError(UInt_t hs, UInt_t chipi, UInt_t coli, UInt_t rowi); |
37 | UInt_t GetHitEvents(UInt_t hs, UInt_t chipi); |
38 | UInt_t GetHitEventsTot(UInt_t hs); |
39 | Float_t GetHitEventsEfficiency(UInt_t hs, UInt_t chipi); |
40 | Float_t GetHitEventsTotEfficiency(UInt_t hs); |
41 | Float_t GetHitEventsEfficiencyError(UInt_t hs, UInt_t chipi); |
42 | Float_t GetHitEventsTotEfficiencyError(UInt_t hs); |
43 | Float_t GetAverageMultiplicity(UInt_t hs, UInt_t chipi); |
44 | Float_t GetAverageMultiplicityTot(UInt_t hs); |
45 | |
46 | |
4ee23d3d |
47 | }; |
b15de2d2 |
48 | |
49 | #endif |