1 #ifndef ALIMUONPEDESTAL_H
2 #define ALIMUONPEDESTAL_H
57 void MakePed(Int_t bp,Int_t manu,Int_t ch,Int_t charge);
86 Int_t
ADCMax()
const {
return 4095; }
Int_t GetStatusDA() const
get DA status (return code)
AliMUONVStore * fPedestalStore
data container: (Pedmean,sigma) values for each (BP,manuId)
Int_t fNChannel
Nb of channels (pads)
TFile * fHistoFile
.root histo file
TTimeStamp * GetDate() const
return date and time
virtual ~AliMUONPedestal()
void SetAliIndex(Int_t ind)
set the index of calibration runs
AliMUONVStore * fManuBPoutofconfigTable
(buspatch, manu) out of config
Int_t fConfig
flag 1(0) for reading(or not) configuration ascii file
Int_t fNEvthreshold
Nbevt threshold (pedestal calculation)
void MakeASCIIoutput(ostream &out) const
Create String to be put into file or AMORE DB.
Int_t fNEvents
Number of events.
void SetAliRunNumber(Int_t run)
return the Run number
void MakeControlHistos()
Fill Histograms.
const char * GetHistoFileName() const
return the name of DAPedestal .root file
AliMUONVStore * fErrorBuspatchTable
Table for buspatches with parity errors.
void Finalize()
Compute the pedestal data (mean, sigma)
void SetconfigDA(Int_t ind)
set config flag
void SetprefixDA(const char *folder)
set specific DA prefixname
TString fPrefixDA
specific DA prefixname
Int_t fStatusDA
DA return code (0=OK)
void SetAlifilcout(ofstream *stream)
output .log file of DAs
void SetAliNEvents(Int_t events)
return the number of events
TString fPrefixLDC
specific LDC prefixname
void SetnSorting(Int_t ind)
sorting flag
Int_t fSorting
sorting flag (pedestal values)
void SetAliNCurrentEvents(Int_t events)
return the number of current events
Int_t fHistos
flag for Histograms (0,1=standard, 2=ntuple with charge)
void SetprefixLDC(const char *folder)
set specific LDC prefixname
Int_t fNManuConfig
Nb of Manu in the current detector configuration.
Int_t fIndex
calibration run index
void SetHistos(Int_t ind)
set Histos flag
static const Int_t fgkADCMax
max channel count
ofstream * fFilcout
.log output file
void LoadConfig(const char *dbfile)
load MuonTrk configuration from ascii dbfile
Implementation of the pedestal computing.
void CreateControlHistos()
Create Histograms.
void SetAliNChannel(Int_t nch)
return the total number of channels (or pads)
Int_t fRunNumber
run number
AliMUONVStore * GetErrorBuspatchTable() const
Count parity errors per Buspatch.
TString fHistoFileName
.root histo file
Base class for MUON data stores.
AliMUONPedestal & operator=(const AliMUONPedestal &rhs)
Not implemented.
void MakePed(Int_t bp, Int_t manu, Int_t ch, Int_t charge)
sum pedestal values for mean and sigma determination
void SetStatusDA(Int_t ind)
set DA status (return code)
AliMUONVStore * fManuBuspatchTable
Occupancy rate for each (buspatch, manu)
void SetnEvthreshold(Int_t ind)
set Nb of evt threshold to calculate pedestal
Int_t fNCurrentEvents
Number of current events.