]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/SMcalib/WriteBiasFixVoltage.C
Improving event printout
[u/mrichter/AliRoot.git] / EMCAL / SMcalib / WriteBiasFixVoltage.C
CommitLineData
a8827307 1/*
2*/
3
4static const int fgkEmCalRows = 24; // number of rows per module for EMCAL
5static const int fgkEmCalCols = 48; // number of columns per module for EMCAL
6
7//____________________________________________________________________
8void WriteBiasFixVoltage(const int biasVoltage, const char * txtFileName)
9{
10
11 ofstream outputFile(txtFileName);
12
13 for (int icol=0; icol<fgkEmCalCols; icol++) {
14 for (int irow=0; irow<fgkEmCalRows; irow++) {
15 outputFile << icol << " " << irow << " " << biasVoltage << endl;
16 }
17 }
18
19 outputFile.close();
20}