AliRoot Core  3dc7879 (3dc7879)
TPCPEDESTALda.cxx File Reference
#include <daqDA.h>
#include "event.h"
#include "monitor.h"
#include "stdio.h"
#include "stdlib.h"
#include <fstream>
#include "TFile.h"
#include "TArrayF.h"
#include "TROOT.h"
#include "TPluginManager.h"
#include "TSystem.h"
#include "TString.h"
#include "TObjString.h"
#include "TDatime.h"
#include "AliRawReader.h"
#include "AliRawReaderDate.h"
#include "AliTPCmapper.h"
#include "AliTPCROC.h"
#include "AliTPCCalROC.h"
#include "AliTPCCalPad.h"
#include "AliMathBase.h"
#include "TTreeStream.h"
#include "AliLog.h"
#include "AliTPCConfigDA.h"
#include <AmoreDA.h>
#include "AliTPCCalibPedestal.h"
Include dependency graph for TPCPEDESTALda.cxx:

Go to the source code of this file.

Macros

#define RESULT_FILE   "tpcPedestal.root"
 
#define FILE_ID   "pedestals"
 
#define MAPPING_FILE   "tpcMapping.root"
 
#define CONFIG_FILE   "TPCPEDESTALda.conf"
 
#define PED_FILE   "tpcPedestals.data"
 
#define NOISE_FILE   "tpcNoise.data"
 
#define PEDMEM_FILE   "tpcPedestalMem.data"
 
#define NOISY_FILE   "tpcNoisyChannels.data"
 
#define VERYNOISY_FILE   "tpcVeryNoisyChannels.data"
 
#define DEAD_FILE   "tpcDeadChannels.data"
 
#define AliDebugLevel()   -1
 

Functions

int main (int argc, char **argv)
 

Detailed Description

TPC DA for online calibration

Contact: Haava.nosp@m.rd.H.nosp@m.elstr.nosp@m.up@c.nosp@m.ern.c.nosp@m.h Link: Run Type: PEDESTAL DA Type: LDC Number of events needed: 100 Input Files: Output Files: tpcPedestal.root, to be exported to the DAQ FXS fileId: pedestals Trigger types used: CALIBRATION_EVENT

TPCda_pedestal.cxx - calibration algorithm for TPC pedestal runs

10/06/2007 sylva.nosp@m.in.c.nosp@m.hapel.nosp@m.and@.nosp@m.cern..nosp@m.ch : first version - clean skeleton based on DAQ DA case1 19/10/2007 chris.nosp@m.tian.nosp@m..lipp.nosp@m.mann.nosp@m.@cern.nosp@m..ch : Possibility to write output to ASCII file 24/10/2007 chris.nosp@m.tian.nosp@m..lipp.nosp@m.mann.nosp@m.@cern.nosp@m..ch : Including pedestal calibration for time bins 23/11/2007 chris.nosp@m.tian.nosp@m..lipp.nosp@m.mann.nosp@m.@cern.nosp@m..ch : Fix in order to avoid streamer problems in case of invalid ROOTSTYS. The famous magic line provided by Rene. 28/11/2007 chris.nosp@m.tian.nosp@m..lipp.nosp@m.mann.nosp@m.@cern.nosp@m..ch : TPC mapping file is read from DaqDetDB 18/09/2008 chris.nosp@m.tian.nosp@m..lipp.nosp@m.mann.nosp@m.@cern.nosp@m..ch : Noisy channels are output to ASCII file. Use max noise in ALTRO. 19/09/2008 J.Wie.nosp@m.chul.nosp@m.a@gsi.nosp@m..de: Added export of the calibration data to the AMORE data base. Added support for configuration files. 31/01/2011 Chris.nosp@m.tian.nosp@m..Lipp.nosp@m.mann.nosp@m.@cern.nosp@m..ch : Updates for changed setup at P2 with 2 LDCs per sector 26/09/2014 Chris.nosp@m.tian.nosp@m..Lipp.nosp@m.mann.nosp@m.@cern.nosp@m..ch : Updates for changed setup at P2 1 CRORC per LDC 26/09/2014 Jens..nosp@m.Wiec.nosp@m.hula@.nosp@m.cern.nosp@m..ch : comment out obsolete AliTPCRawStream

Author
maria.nosp@m.n.iv.nosp@m.anov@.nosp@m.cern.nosp@m..ch

This process reads RAW data from the files provided as command line arguments and save results in a file (named from RESULT_FILE define - see below).

Definition in file TPCPEDESTALda.cxx.

Macro Definition Documentation

#define CONFIG_FILE   "TPCPEDESTALda.conf"

Definition at line 51 of file TPCPEDESTALda.cxx.

Referenced by main().

#define DEAD_FILE   "tpcDeadChannels.data"

Definition at line 57 of file TPCPEDESTALda.cxx.

Referenced by main().

#define FILE_ID   "pedestals"

Definition at line 49 of file TPCPEDESTALda.cxx.

Referenced by main().

#define MAPPING_FILE   "tpcMapping.root"

Definition at line 50 of file TPCPEDESTALda.cxx.

Referenced by main().

#define NOISE_FILE   "tpcNoise.data"

Definition at line 53 of file TPCPEDESTALda.cxx.

Referenced by main().

#define NOISY_FILE   "tpcNoisyChannels.data"

Definition at line 55 of file TPCPEDESTALda.cxx.

Referenced by main().

#define PED_FILE   "tpcPedestals.data"

Definition at line 52 of file TPCPEDESTALda.cxx.

Referenced by main().

#define PEDMEM_FILE   "tpcPedestalMem.data"

Definition at line 54 of file TPCPEDESTALda.cxx.

Referenced by main().

#define RESULT_FILE   "tpcPedestal.root"

Definition at line 48 of file TPCPEDESTALda.cxx.

Referenced by main().

#define VERYNOISY_FILE   "tpcVeryNoisyChannels.data"

Definition at line 56 of file TPCPEDESTALda.cxx.

Referenced by main().

Function Documentation

int main ( int  argc,
char **  argv 
)

Main routine, TPC pedestal detector algorithm to be run on TPC LDC Arguments: list of DATE raw data files Main for TPC pedestal detector algorithm

Definition at line 106 of file TPCPEDESTALda.cxx.