8 AliRawReaderRoot *rawReader =
new AliRawReaderRoot(fileName);
9 if ( !rawReader )
return;
11 printf(
"Processing data\n");
13 while (rawReader->NextEvent()){
15 printf(
"Processing event\t%d\n",event);
24 TFile
f(
"PedestalData.root");
28 pad0->SetName(
"Noise");
29 pad1->SetName(
"Pedestal");
43 AliRawReaderRoot *rawReader =
new AliRawReaderRoot(fileName);
44 if ( !rawReader )
return;
46 printf(
"Processing data\n");
48 while (rawReader->NextEvent()){
50 printf(
"Processing event\t%d\n",event);
57 pad0->SetName(
"Noise");
58 pad1->SetName(
"Pedestal");
printf("Chi2/npoints = %f\n", TMath::Sqrt(chi2/npoints))
const TObjArray * GetCalPadRMS() const
Implementation of the TPC pedestal calibration.
virtual void DumpToFile(const Char_t *filename, const Char_t *dir="", Bool_t append=kFALSE)
Bool_t ProcessEvent(AliTPCRawStreamV3 *const rawStreamV3)
TString fileName(const char *dir, int runNumber, const char *da, int i, const char *type)
void testPed(Char_t *fileName)
const TObjArray * GetCalPadPedestal() const
static TObjArray * ShowGUI(const char *fileName=0)
void DumpToFile(const char *fileName)
void testPed0(Char_t *fileName)
Preprocessor class for HLT and DAQ.
void AddComponent(TObject *obj)