#include <DTTPGParamsWriter.h>
|
void | analyze (const edm::Event &event, const edm::EventSetup &eventSetup) |
| Compute the ttrig by fiting the TB rising edge. More...
|
|
| DTTPGParamsWriter (const edm::ParameterSet &pset) |
| Constructor. More...
|
|
void | endJob () |
| Write ttrig in the DB. More...
|
|
virtual | ~DTTPGParamsWriter () |
| Destructor. More...
|
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
virtual | ~EDAnalyzer () |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
Definition at line 23 of file DTTPGParamsWriter.h.
DTTPGParamsWriter::~DTTPGParamsWriter |
( |
| ) |
|
|
virtual |
Compute the ttrig by fiting the TB rising edge.
Definition at line 51 of file DTTPGParamsWriter.cc.
References gather_cfg::cout, geometryCSVtoXML::line, DTTimeUnits::ns, and AlCaHLTBitMon_QueryRunRegistry::string.
54 cout <<
"[DTTPGParamsWriter]Reading data from file." << endl;
60 while(std::getline(inputFile_, line)) {
70 std::cout <<
"[DTTPGParamsWriter] Read data for chamber " << chId
71 <<
". File params -> fine: " << fine <<
" coarse: " << coarse
72 <<
". DB params -> fine: " << fineDB <<
" coarse: " << coarseDB << std::endl;
77 std::cout <<
"[DTTPGParamsWriter] # of entries written the the DB: " << nLines << std::endl;
80 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 |