#include <DTTPGParamsWriter.h>
Definition at line 25 of file DTTPGParamsWriter.h.
DTTPGParamsWriter::~DTTPGParamsWriter |
( |
| ) |
|
|
virtual |
Compute the ttrig by fiting the TB rising edge.
Implements edm::EDAnalyzer.
Definition at line 53 of file DTTPGParamsWriter.cc.
References gather_cfg::cout, geometryCSVtoXML::line, submitDQMOfflineCAF::nLines, and DTTimeUnits::ns.
56 cout <<
"[DTTPGParamsWriter]Reading data from file." << endl;
62 while(std::getline(inputFile_, line)) {
72 std::cout <<
"[DTTPGParamsWriter] Read data for chamber " << chId
73 <<
". File params -> fine: " << fine <<
" coarse: " << coarse
74 <<
". DB params -> fine: " << fineDB <<
" coarse: " << coarseDB << std::endl;
79 std::cout <<
"[DTTPGParamsWriter] # of entries written the the DB: " << nLines << std::endl;
82 std::cout <<
"[DTTPGParamsWriter] # of DB entries != 250. Check you input file!" << std::endl;
int set(int wheelId, int stationId, int sectorId, int nc, float ph, DTTimeUnits::type unit)
DTTPGParameters * phaseMap_
void pharseLine(std::string &line, DTChamberId &chId, float &fine, int &coarse)
std::string inputFileName_
int get(int wheelId, int stationId, int sectorId, int &nc, float &ph, DTTimeUnits::type unit) const
get content
void DTTPGParamsWriter::endJob |
( |
void |
| ) |
|
|
virtual |
void DTTPGParamsWriter::pharseLine |
( |
std::string & |
line, |
|
|
DTChamberId & |
chId, |
|
|
float & |
fine, |
|
|
int & |
coarse |
|
) |
| |
|
private |
bool DTTPGParamsWriter::debug_ |
|
private |
std::string DTTPGParamsWriter::inputFileName_ |
|
private |