Classes | |
class | BitSet |
class | Histogram |
class | Interceptor |
class | Matrix |
class | MVAComputer |
class | MVAComputerContainer |
class | ProcCategory |
class | ProcClassed |
class | ProcCount |
class | ProcForeach |
class | ProcLikelihood |
class | ProcLinear |
class | ProcMatrix |
class | ProcMLP |
class | ProcMultiply |
class | ProcNormalize |
class | ProcOptional |
class | ProcSort |
class | ProcSplitter |
class | ProcTMVA |
struct | Range |
class | Variable |
class | VarProcessor |
Typedefs | |
typedef Histogram< double > | HistogramD |
typedef Histogram< float > | HistogramF |
Functions | |
BitSet | convert (const PhysicsTools::BitSet &bitSet) |
convert BitSet container into persistent representation | |
PhysicsTools::BitSet | convert (const BitSet &bitSet) |
constructs BitSet container from persistent representation | |
static MVAComputer::CacheId | getNextMVAComputerCacheId () |
static MVAComputerContainer::CacheId | getNextMVAComputerContainerCacheId () |
typedef Histogram<double> PhysicsTools::Calibration::HistogramD |
Definition at line 101 of file Histogram.h.
typedef Histogram<float> PhysicsTools::Calibration::HistogramF |
Definition at line 100 of file Histogram.h.
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, HLT_VtxMuL3::result, PhysicsTools::BitSet::size(), size, and PhysicsTools::Calibration::BitSet::store.
00051 { 00052 PhysicsTools::BitSet::size_t size = bitSet.size(); 00053 PhysicsTools::BitSet::size_t bytes = (size + 7) / 8; 00054 00055 Calibration::BitSet result; 00056 result.store.resize(bytes); 00057 result.bitsInLast = (size + 7) % 8 + 1; 00058 00059 for(PhysicsTools::BitSet::size_t i = 0; i < size; i++) 00060 result.store[i / 8] |= bitSet[i] ? (1 << (i % 8)) : 0; 00061 00062 return result; 00063 }
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, HLT_VtxMuL3::result, size, and PhysicsTools::Calibration::BitSet::store.
00039 { 00040 PhysicsTools::BitSet::size_t size = bitSet.store.size(); 00041 size = (size - 1) * 8 + (bitSet.bitsInLast + 7) % 8 + 1; 00042 00043 PhysicsTools::BitSet result(size); 00044 for(PhysicsTools::BitSet::size_t i = 0; i < size; i++) 00045 result[i] = bitSet.store[i / 8] & (1 << (i % 8)); 00046 00047 return result; 00048 }
static MVAComputer::CacheId PhysicsTools::Calibration::getNextMVAComputerCacheId | ( | ) | [static] |
Definition at line 54 of file MVAComputer.cc.
References mutex.
Referenced by PhysicsTools::Calibration::MVAComputer::addProcessor().
00055 { 00056 static boost::mutex mutex; 00057 static MVAComputer::CacheId nextCacheId = 0; 00058 00059 boost::mutex::scoped_lock scoped_lock(mutex); 00060 return ++nextCacheId; 00061 }
static MVAComputerContainer::CacheId PhysicsTools::Calibration::getNextMVAComputerContainerCacheId | ( | ) | [static] |
Definition at line 209 of file MVAComputer.cc.
Referenced by PhysicsTools::Calibration::MVAComputerContainer::add().
00210 { 00211 static MVAComputerContainer::CacheId nextCacheId = 0; 00212 return ++nextCacheId; 00213 }