#include <PPSTimingCalibration.h>
|
struct | Key |
| Helper structure for indexing calibration data. More...
|
|
|
const std::string & | formula () const |
|
std::vector< double > | parameters (int key1, int key2, int key3, int key4) const |
|
| PPSTimingCalibration ()=default |
|
| PPSTimingCalibration (const std::string &formula, const ParametersMap ¶ms, const TimingMap &timeinfo) |
|
double | timeOffset (int key1, int key2, int key3, int key4=-1) const |
|
double | timePrecision (int key1, int key2, int key3, int key4=-1) const |
|
| ~PPSTimingCalibration ()=default |
|
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int version) |
|
Definition at line 18 of file PPSTimingCalibration.h.
PPSTimingCalibration::PPSTimingCalibration |
( |
| ) |
|
|
default |
PPSTimingCalibration::PPSTimingCalibration |
( |
const std::string & |
formula, |
|
|
const ParametersMap & |
params, |
|
|
const TimingMap & |
timeinfo |
|
) |
| |
|
inline |
PPSTimingCalibration::~PPSTimingCalibration |
( |
| ) |
|
|
default |
const std::string& PPSTimingCalibration::formula |
( |
| ) |
const |
|
inline |
std::vector< double > PPSTimingCalibration::parameters |
( |
int |
key1, |
|
|
int |
key2, |
|
|
int |
key3, |
|
|
int |
key4 |
|
) |
| const |
Definition at line 37 of file PPSTimingCalibration.cc.
References crabWrapper::key, MillePedeFileConverter_cfg::out, and parameters_.
Referenced by CTPPSDiamondRecHitProducerAlgorithm::build(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), PPSTimingCalibration(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties(), and TotemTimingConversions::voltSamples().
39 Key key{ key1, key2, key3, key4 };
ParametersMap parameters_
template<class Archive >
void PPSTimingCalibration::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
private |
double PPSTimingCalibration::timeOffset |
( |
int |
key1, |
|
|
int |
key2, |
|
|
int |
key3, |
|
|
int |
key4 = -1 |
|
) |
| const |
double PPSTimingCalibration::timePrecision |
( |
int |
key1, |
|
|
int |
key2, |
|
|
int |
key3, |
|
|
int |
key4 = -1 |
|
) |
| const |
friend class boost::serialization::access |
|
friend |
template<typename CondSerializationT , typename Enabled >
Definition at line 67 of file PPSTimingCalibration.cc.
69 os <<
"FORMULA: "<< data.
formula_ <<
"\nDB SAMPIC CHANNEL CELL PARAMETERS TIME_OFFSET\n";
71 os << kv.first <<
" [";
72 for (
size_t i = 0;
i < kv.second.size(); ++
i )
73 os << (
i > 0 ?
", " :
"" ) << kv.second.at(
i );
75 os <<
"] " <<
time.first <<
" " <<
time.second <<
"\n";
ParametersMap parameters_
std::string PPSTimingCalibration::formula_ |
|
private |