Line data Source code
1 : #ifndef ALIITSONLINESPDSCANSINGLE_H
2 : #define ALIITSONLINESPDSCANSINGLE_H
3 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 :
6 : /* $Id$ */
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 0 : class AliITSOnlineSPDscanSingle : public AliITSOnlineSPDscan {
17 :
18 : public:
19 0 : AliITSOnlineSPDscanSingle() {}
20 : AliITSOnlineSPDscanSingle(const Char_t *fileName, Bool_t readFromGridFile=kFALSE);
21 : virtual ~AliITSOnlineSPDscanSingle();
22 :
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() const;
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 :
47 : };
48 :
49 : #endif
|