5#ifndef TPINTEGERVECTOR_P2_H
6#define TPINTEGERVECTOR_P2_H
void diff(const Jet &rJet1, const Jet &rJet2, std::map< std::string, double > varDiff)
Difference between jets - Non-Class function required by trigger.
Storage implementation for TP converters producing TP representation as series of ints.
TPIntegerVector_p2::value_type value_type
TPIntegerVector_p2 back()
TPIntegerVector_p2 operator[](int idx)
std::vector< value_type > m_data
TPIntegerVectorStorage_p2()
friend class TPIntegerVector_p2
std::vector< position_type > m_endPos
size_t next_blob_size(const const_iterator &iter) const
return the size of the next blob, in bytes
static size_t size_for_blob(size_t blobsize)
const value_type & next(const_iterator &iter) const
const value_type & operator[](size_t idx) const
TPIntegerVector_p2(TPIntegerVectorStorage_p2 *storage, int idx)
TPObjRef next_TPObjRef(const_iterator &iter) const
std::string next_string(const_iterator &iter) const
void push_bytes(const void *s, size_t len)
store blob of a given size (will write out the size)
void next_bytes(const_iterator &iter, void *buff, size_t bufflen) const
TPIntegerVector_p2 IsAnIntVect
void push_float(const float &val)
const_iterator end() const
static size_t size_for(const T &)
tell how much space the object will take in the INT vector, so it can be reserved
int next_int(const_iterator &iter) const
void push_back(const value_type &val)
void push_TPObjRef(const TPObjRef &val)
value_type & operator[](size_t idx)
void next_vTPObjRef(const_iterator &iter, std::vector< TPObjRef > &vect) const
void push_int(const int &val)
static size_t size_for_ref()
void push_string(const std::string &)
store std::string (assuming 8-bit chars). Uses push_chars()
void push_double(const double &val)
void next_chars(const_iterator &iter, char *buff, size_t bufflen) const
const_iterator begin() const
TPIntegerVectorStorage_p2 * m_storage
size_t next_string_size(const const_iterator &iter) const
return the size of the next string/chars
void reserve(size_t new_size)
const value_type * const_iterator
unsigned reserved() const
static size_t size_for(const char *)
void push_vTPObjRef(const std::vector< TPObjRef > &val)
void _store_bytes(const void *, size_t len)
void grow(const size_t diff=1)
double next_double(const_iterator &iter) const
float next_float(const_iterator &iter) const
unsigned startPos() const
void resize(size_t new_size)
void push_chars(const char *const)
store zero-terminated C string (does not write out the size)
This class is an object reference used in Athena persistent data model.