]>
Commit | Line | Data |
---|---|---|
5253c153 | 1 | #ifndef ALIMUONGain_H |
2 | #define ALIMUONGain_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 | /// \ingroup calib | |
9 | /// \class AliMUONDA | |
10 | /// \brief Implementation of the pedestal and gain computing | |
11 | /// | |
12 | // Author: Alberto Baldisseri, JL Charvet (05/05/2009) | |
13 | ||
14 | #include "AliMUONPedestal.h" | |
15 | ||
16 | /* // global variables */ | |
17 | /* const Int_t kNChannels = AliMpConstants::ManuNofChannels(); */ | |
18 | /* const Int_t kADCMax = 4095; */ | |
19 | ||
20 | class AliMUONGain : public AliMUONPedestal | |
21 | { | |
22 | public: | |
23 | AliMUONGain(); | |
24 | virtual ~AliMUONGain(); | |
25 | ||
26 | TString WriteGainData(Int_t bp, Int_t manu, Int_t ch, Double_t p1, Double_t p2, Int_t threshold, Int_t q); | |
27 | TString WriteGainHeader(); | |
28 | void MakePedStoreForGain(TString flatfile); | |
29 | void MakeGainStore(TString flatfile); | |
30 | /// | |
31 | void SetAliRootDataFileName() {sprintf(fRootDataFileName,"MUONTRKGAINda_data.root");} | |
32 | /// | |
33 | Char_t* GetRootDataFileName() {return fRootDataFileName;} | |
34 | TString WriteDummyHeader(); | |
35 | /// | |
36 | void SetAliInjCharge(Int_t charge) {fInjCharge = charge;} | |
37 | /// | |
38 | void SetAliPrintLevel(Int_t pri) {fPrintLevel = pri;} | |
39 | /// | |
40 | void SetAliInit(Int_t ini) {fnInit = ini;} | |
41 | /// | |
42 | void SetAliEntries(Int_t ent) {fnEntries = ent;} | |
43 | /// | |
44 | void SetAliNbpf1(Int_t nf1) {fnbpf1 = nf1;} | |
45 | /// | |
46 | void SetAliPlotLevel(Int_t plo) {fPlotLevel = plo;} | |
47 | ||
48 | private: | |
49 | Int_t fInjCharge; ///< | |
50 | Char_t fRootDataFileName[256]; ///< | |
51 | Int_t fnInit; ///< | |
52 | Int_t fnEntries; ///< | |
53 | Int_t fnbpf1; ///< | |
54 | Int_t fPrintLevel; ///< | |
55 | Int_t fPlotLevel; ///< | |
56 | ||
57 | ClassDef(AliMUONGain,1) // | |
58 | }; | |
59 | ||
60 | #endif |