3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
10 /// \brief Implementation of the pedestal and gain computing
12 // Author: Alberto Baldisseri, JL Charvet (05/05/2009)
14 #include "AliMUONPedestal.h"
16 /* // global variables */
17 /* const Int_t kNChannels = AliMpConstants::ManuNofChannels(); */
18 /* const Int_t kADCMax = 4095; */
20 class AliMUONGain : public AliMUONPedestal
24 virtual ~AliMUONGain();
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(Int_t nInit, Int_t nEntries, Int_t nbpf2, Int_t *numrun, Double_t *injCharge);
28 void MakePedStoreForGain(TString flatfile);
29 void MakeGainStore(TString flatfile);
31 void SetAliRootDataFileName() {sprintf(fRootDataFileName,"MUONTRKGAINda_data.root");}
33 Char_t* GetRootDataFileName() {return fRootDataFileName;}
34 TString WriteDummyHeader();
36 void SetAliInjCharge(Int_t charge) {fInjCharge = charge;}
38 void SetAliPrintLevel(Int_t pri) {fPrintLevel = pri;}
40 void SetAliInit(Int_t ini) {fnInit = ini;}
42 void SetAliEntries(Int_t ent) {fnEntries = ent;}
44 void SetAliNbpf1(Int_t nf1) {fnbpf1 = nf1;}
46 void SetAliPlotLevel(Int_t plo) {fPlotLevel = plo;}
49 Int_t fInjCharge; ///<
50 Char_t fRootDataFileName[256]; ///<
54 Int_t fPrintLevel; ///<
55 Int_t fPlotLevel; ///<
57 ClassDef(AliMUONGain,1) //