1 #ifndef DTCalibration_DTCalibrationMap_H 2 #define DTCalibration_DTCalibrationMap_H
float tTrig(DTWireId wireId) const
Return the t_trig (ns) for a particular wire.
float sigma_meanVDrift(DTWireId wireId) const
Return the sigma of the mean drift velocity for a particular wire (cm/ns)
std::map< Key, CalibConsts >::const_iterator const_iterator
const_iterator keyAndConsts_begin() const
DTCalibrationMap(const edm::ParameterSet &pset)
Constructor.
std::map< Key, CalibConsts > theMap
const_iterator keyAndConsts_end() const
CalibGranularity theGranularity
std::string calibConstGranularity
std::string calibConstFileName
float kFactor(DTWireId wireId) const
Return the kfactor for a particular wire.
float meanVDrift(DTWireId wireId) const
Return the mean drift velocity for a particular wire (cm/ns)
const CalibConsts * getConsts(DTWireId wireId) const
std::vector< float > CalibConsts
virtual ~DTCalibrationMap()
Destructor.
void addCell(Key wireId, const CalibConsts &calibConst)
Key getKey(DTWireId wireId) const
bool checkGranularity(Key aKey) const
void writeConsts(const std::string &outputFileName) const
float sigma_tTrig(DTWireId wireId) const
Return the sigma of the t_trig (ns) for a particular wire.
void readConsts(const std::string &inputFileName)
float getField(DTWireId wireId, int field) const