]>
Commit | Line | Data |
---|---|---|
a8827307 | 1 | /* |
2 | */ | |
3 | ||
4 | static const int fgkEmCalRows = 24; // number of rows per module for EMCAL | |
5 | static const int fgkEmCalCols = 48; // number of columns per module for EMCAL | |
6 | ||
7 | //____________________________________________________________________ | |
8 | void 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 | } |