typedef Histogram<double> PhysicsTools::Calibration::HistogramD |
Definition at line 107 of file Histogram.h.
typedef Histogram2D<double> PhysicsTools::Calibration::HistogramD2D |
Definition at line 142 of file Histogram2D.h.
typedef Histogram3D<double> PhysicsTools::Calibration::HistogramD3D |
Definition at line 175 of file Histogram3D.h.
typedef Histogram<float> PhysicsTools::Calibration::HistogramF |
Definition at line 106 of file Histogram.h.
typedef Histogram2D<float> PhysicsTools::Calibration::HistogramF2D |
Definition at line 141 of file Histogram2D.h.
typedef Histogram3D<float> PhysicsTools::Calibration::HistogramF3D |
Definition at line 174 of file Histogram3D.h.
BitSet PhysicsTools::Calibration::convert | ( | const BitSet & | bitSet | ) |
constructs BitSet container from persistent representation
Definition at line 38 of file BitSet.cc.
References PhysicsTools::Calibration::BitSet::bitsInLast, i, query::result, findQualityFiles::size, and PhysicsTools::Calibration::BitSet::store.
{ PhysicsTools::BitSet::size_t size = bitSet.store.size(); size = (size - 1) * 8 + (bitSet.bitsInLast + 7) % 8 + 1; PhysicsTools::BitSet result(size); for(PhysicsTools::BitSet::size_t i = 0; i < size; i++) result[i] = bitSet.store[i / 8] & (1 << (i % 8)); return result; }
Calibration::BitSet PhysicsTools::Calibration::convert | ( | const PhysicsTools::BitSet & | bitSet | ) |
convert BitSet container into persistent representation
Definition at line 50 of file BitSet.cc.
References PhysicsTools::Calibration::BitSet::bitsInLast, i, query::result, findQualityFiles::size, PhysicsTools::BitSet::size(), and PhysicsTools::Calibration::BitSet::store.
{ PhysicsTools::BitSet::size_t size = bitSet.size(); PhysicsTools::BitSet::size_t bytes = (size + 7) / 8; Calibration::BitSet result; result.store.resize(bytes); result.bitsInLast = (size + 7) % 8 + 1; for(PhysicsTools::BitSet::size_t i = 0; i < size; i++) result.store[i / 8] |= bitSet[i] ? (1 << (i % 8)) : 0; return result; }
static MVAComputer::CacheId PhysicsTools::Calibration::getNextMVAComputerCacheId | ( | ) | [static] |
Definition at line 59 of file MVAComputer.cc.
References mutex.
Referenced by PhysicsTools::Calibration::MVAComputer::addProcessor().
{ static boost::mutex mutex; static MVAComputer::CacheId nextCacheId = 0; boost::mutex::scoped_lock scoped_lock(mutex); return ++nextCacheId; }
static MVAComputerContainer::CacheId PhysicsTools::Calibration::getNextMVAComputerContainerCacheId | ( | ) | [static] |
Definition at line 157 of file MVAComputer.cc.
Referenced by PhysicsTools::Calibration::MVAComputerContainer::add().
{ static MVAComputerContainer::CacheId nextCacheId = 0; return ++nextCacheId; }