![]() |
AliRoot Core
a565103 (a565103)
|
Implementation of the pedestal computing. More...
#include <AliMUONPedestal.h>
Public Member Functions | |
AliMUONPedestal () | |
AliMUONPedestal (TRootIOCtor *dummy) | |
virtual | ~AliMUONPedestal () |
void | SetAliNCurrentEvents (Int_t events) |
return the number of current events More... | |
void | SetAliNEvents (Int_t events) |
return the number of events More... | |
void | SetAliRunNumber (Int_t run) |
return the Run number More... | |
void | SetAliNChannel (Int_t nch) |
return the total number of channels (or pads) More... | |
void | SetAlifilcout (ofstream *stream) |
output .log file of DAs More... | |
TTimeStamp * | GetDate () const |
return date and time More... | |
AliMUONVStore * | GetErrorBuspatchTable () const |
Count parity errors per Buspatch. More... | |
const char * | GetHistoFileName () const |
return the name of DAPedestal .root file More... | |
void | LoadConfig (const char *dbfile) |
load MuonTrk configuration from ascii dbfile More... | |
void | MakePed (Int_t bp, Int_t manu, Int_t ch, Int_t charge) |
sum pedestal values for mean and sigma determination More... | |
void | SetconfigDA (Int_t ind) |
set config flag More... | |
void | SetHistos (Int_t ind) |
set Histos flag More... | |
void | SetnEvthreshold (Int_t ind) |
set Nb of evt threshold to calculate pedestal More... | |
void | SetStatusDA (Int_t ind) |
set DA status (return code) More... | |
Int_t | GetStatusDA () const |
get DA status (return code) More... | |
void | SetnSorting (Int_t ind) |
sorting flag More... | |
void | SetprefixDA (const char *folder) |
set specific DA prefixname More... | |
void | SetprefixLDC (const char *folder) |
set specific LDC prefixname More... | |
void | SetAliIndex (Int_t ind) |
set the index of calibration runs More... | |
void | Finalize () |
Compute the pedestal data (mean, sigma) More... | |
void | MakeASCIIoutput (ostream &out) const |
Create String to be put into file or AMORE DB. More... | |
void | CreateControlHistos () |
Create Histograms. More... | |
void | MakeControlHistos () |
Fill Histograms. More... | |
Int_t | ADCMax () const |
Protected Attributes | |
Int_t | fNCurrentEvents |
Number of current events. More... | |
Int_t | fNEvthreshold |
Nbevt threshold (pedestal calculation) More... | |
Int_t | fSorting |
sorting flag (pedestal values) More... | |
Int_t | fNEvents |
Number of events. More... | |
Int_t | fRunNumber |
run number More... | |
Int_t | fNChannel |
Nb of channels (pads) More... | |
Int_t | fNManu |
Nb of Manu. More... | |
Int_t | fNManuConfig |
Nb of Manu in the current detector configuration. More... | |
Int_t | fConfig |
flag 1(0) for reading(or not) configuration ascii file More... | |
Int_t | fStatusDA |
DA return code (0=OK) More... | |
Int_t | fHistos |
flag for Histograms (0,1=standard, 2=ntuple with charge) More... | |
AliMUONVStore * | fErrorBuspatchTable |
Table for buspatches with parity errors. More... | |
AliMUONVStore * | fManuBuspatchTable |
Occupancy rate for each (buspatch, manu) More... | |
AliMUONVStore * | fManuBPoutofconfigTable |
(buspatch, manu) out of config More... | |
TTimeStamp * | fDate |
date More... | |
ofstream * | fFilcout |
.log output file More... | |
TString | fHistoFileName |
.root histo file More... | |
AliMUONVStore * | fPedestalStore |
data container: (Pedmean,sigma) values for each (BP,manuId) More... | |
Int_t | fIndex |
calibration run index More... | |
TString | fPrefixDA |
specific DA prefixname More... | |
TString | fPrefixLDC |
specific LDC prefixname More... | |
TFile * | fHistoFile |
.root histo file More... | |
TTree * | fTree |
charge Tree More... | |
Static Protected Attributes | |
static const Int_t | fgkADCMax |
max channel count More... | |
Private Member Functions | |
AliMUONPedestal (const AliMUONPedestal &rhs) | |
Not implemented. More... | |
AliMUONPedestal & | operator= (const AliMUONPedestal &rhs) |
Not implemented. More... | |
Implementation of the pedestal computing.
Implementation of the pedestal computing
add
Definition at line 31 of file AliMUONPedestal.h.
AliMUONPedestal::AliMUONPedestal | ( | ) |
Default constructor
Definition at line 56 of file AliMUONPedestal.cxx.
AliMUONPedestal::AliMUONPedestal | ( | TRootIOCtor * | dummy | ) |
Root IO constructor
Definition at line 86 of file AliMUONPedestal.cxx.
|
virtual |
Destructor
Definition at line 117 of file AliMUONPedestal.cxx.
|
private |
Not implemented.
|
inline |
Definition at line 86 of file AliMUONPedestal.h.
Referenced by Finalize(), MakeASCIIoutput(), and MakeControlHistos().
void AliMUONPedestal::CreateControlHistos | ( | ) |
void AliMUONPedestal::Finalize | ( | ) |
Compute the pedestal data (mean, sigma)
final polishing of the store
Definition at line 240 of file AliMUONPedestal.cxx.
Referenced by main().
|
inline |
|
inline |
Count parity errors per Buspatch.
Definition at line 51 of file AliMUONPedestal.h.
Referenced by main().
const char * AliMUONPedestal::GetHistoFileName | ( | ) | const |
return the name of DAPedestal .root file
Return the name of file we use to store histograms
Definition at line 128 of file AliMUONPedestal.cxx.
Referenced by main().
|
inline |
void AliMUONPedestal::LoadConfig | ( | const char * | dbfile | ) |
load MuonTrk configuration from ascii dbfile
Load MUONTRK configuration from ascii file "dbfile" (in DetDB)
Definition at line 135 of file AliMUONPedestal.cxx.
Referenced by main().
void AliMUONPedestal::MakeASCIIoutput | ( | ostream & | out | ) | const |
Create String to be put into file or AMORE DB.
put pedestal store in the output stream
Definition at line 362 of file AliMUONPedestal.cxx.
Referenced by main().
void AliMUONPedestal::MakeControlHistos | ( | ) |
Fill Histograms.
Create control histograms
Definition at line 485 of file AliMUONPedestal.cxx.
Referenced by main().
void AliMUONPedestal::MakePed | ( | Int_t | bp, |
Int_t | manu, | ||
Int_t | ch, | ||
Int_t | charge | ||
) |
sum pedestal values for mean and sigma determination
Compute pedestals values
Definition at line 167 of file AliMUONPedestal.cxx.
Referenced by main().
|
private |
Not implemented.
|
inline |
|
inline |
set the index of calibration runs
Definition at line 76 of file AliMUONPedestal.h.
|
inline |
return the total number of channels (or pads)
Definition at line 45 of file AliMUONPedestal.h.
|
inline |
return the number of current events
Definition at line 39 of file AliMUONPedestal.h.
Referenced by main().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
set Nb of evt threshold to calculate pedestal
Definition at line 64 of file AliMUONPedestal.h.
Referenced by main().
|
inline |
|
inline |
|
inline |
|
inline |
set DA status (return code)
Definition at line 66 of file AliMUONPedestal.h.
Referenced by Finalize(), and main().
|
protected |
flag 1(0) for reading(or not) configuration ascii file
Definition at line 98 of file AliMUONPedestal.h.
Referenced by MakeASCIIoutput(), MakePed(), and SetconfigDA().
|
protected |
date
Definition at line 105 of file AliMUONPedestal.h.
Referenced by GetDate(), and MakeASCIIoutput().
|
protected |
Table for buspatches with parity errors.
Definition at line 101 of file AliMUONPedestal.h.
Referenced by Finalize(), GetErrorBuspatchTable(), MakeASCIIoutput(), and ~AliMUONPedestal().
|
protected |
|
staticprotected |
max channel count
Definition at line 115 of file AliMUONPedestal.h.
|
protected |
.root histo file
Definition at line 112 of file AliMUONPedestal.h.
Referenced by CreateControlHistos(), and MakeControlHistos().
|
protected |
.root histo file
Definition at line 107 of file AliMUONPedestal.h.
Referenced by CreateControlHistos(), and GetHistoFileName().
|
protected |
flag for Histograms (0,1=standard, 2=ntuple with charge)
Definition at line 100 of file AliMUONPedestal.h.
Referenced by MakePed(), and SetHistos().
|
protected |
calibration run index
Definition at line 109 of file AliMUONPedestal.h.
Referenced by MakeControlHistos(), and SetAliIndex().
|
protected |
(buspatch, manu) out of config
Definition at line 103 of file AliMUONPedestal.h.
Referenced by MakeASCIIoutput(), MakePed(), and ~AliMUONPedestal().
|
protected |
Occupancy rate for each (buspatch, manu)
Definition at line 102 of file AliMUONPedestal.h.
Referenced by Finalize(), LoadConfig(), MakeControlHistos(), MakePed(), and ~AliMUONPedestal().
|
protected |
Nb of channels (pads)
Definition at line 95 of file AliMUONPedestal.h.
Referenced by Finalize(), LoadConfig(), MakeASCIIoutput(), MakePed(), and SetAliNChannel().
|
protected |
Number of current events.
Definition at line 90 of file AliMUONPedestal.h.
Referenced by SetAliNCurrentEvents().
|
protected |
Number of events.
Definition at line 93 of file AliMUONPedestal.h.
Referenced by Finalize(), MakeASCIIoutput(), and SetAliNEvents().
|
protected |
Nbevt threshold (pedestal calculation)
Definition at line 91 of file AliMUONPedestal.h.
Referenced by Finalize(), MakeASCIIoutput(), and SetnEvthreshold().
|
protected |
Nb of Manu.
Definition at line 96 of file AliMUONPedestal.h.
Referenced by MakeASCIIoutput(), and MakePed().
|
protected |
Nb of Manu in the current detector configuration.
Definition at line 97 of file AliMUONPedestal.h.
Referenced by LoadConfig(), and MakeASCIIoutput().
|
protected |
data container: (Pedmean,sigma) values for each (BP,manuId)
Definition at line 108 of file AliMUONPedestal.h.
Referenced by Finalize(), LoadConfig(), MakeASCIIoutput(), MakeControlHistos(), MakePed(), and ~AliMUONPedestal().
|
protected |
specific DA prefixname
Definition at line 110 of file AliMUONPedestal.h.
Referenced by CreateControlHistos(), MakeASCIIoutput(), and SetprefixDA().
|
protected |
specific LDC prefixname
Definition at line 111 of file AliMUONPedestal.h.
Referenced by Finalize(), MakeASCIIoutput(), MakePed(), and SetprefixLDC().
|
protected |
run number
Definition at line 94 of file AliMUONPedestal.h.
Referenced by MakeASCIIoutput(), and SetAliRunNumber().
|
protected |
sorting flag (pedestal values)
Definition at line 92 of file AliMUONPedestal.h.
Referenced by MakeASCIIoutput(), and SetnSorting().
|
protected |
DA return code (0=OK)
Definition at line 99 of file AliMUONPedestal.h.
Referenced by GetStatusDA(), and SetStatusDA().
|
protected |