ATLAS Offline Software
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Attributes | Friends | List of all members
TileDigitsCollection Class Reference

#include <TileDigitsCollection.h>

Inheritance diagram for TileDigitsCollection:
Collaboration diagram for TileDigitsCollection:

Public Types

typedef TileRawDataCollection< TileDigitsMyBase
 
typedef MyBase::ID ID
 
typedef TileDigits TElement
 
typedef TileRawDataCollection< TileDigits >::const_iterator TCollection_const_iterator
 
typedef Identifier TT_ID
 
typedef TileDigits DIGIT
 
typedef TileDigits OBJECT
 
typedef BASE DataVector_BASE
 
typedef BASE DVL_BASE
 
typedef BASE::PtrVector PtrVector
 This is the type of the underlying std::vector (what stdcont returns). More...
 
typedef BASE::PtrVector BaseContainer
 
typedef TileDigits *& reference
 
typedef TileDigits *constconst_reference
 
typedef BASE::size_type size_type
 
typedef BASE::difference_type difference_type
 
typedef TileDigitsvalue_type
 
typedef BASE::allocator_type allocator_type
 
typedef TileDigits ** pointer
 
typedef TileDigits *constconst_pointer
 
typedef const TileDigitsconst_value_type
 
typedef TileDigits base_value_type
 The T value used as the template parameter. More...
 
typedef std::unique_ptr< base_value_typeunique_type
 Type of a unique_ptr that can be used to insert elements into this container. More...
 
typedef DataModel_detail::ElementProxy< DataVectorElementProxy
 This type is used to proxy lvalue accesses to DataVector elements, in order to handle ownership. More...
 
typedef DataModel_detail::const_iterator< DataVectorconst_iterator
 Standard const_iterator. More...
 
typedef DataModel_detail::iterator< DataVectoriterator
 Standard iterator. More...
 
typedef std::reverse_iterator< const_iteratorconst_reverse_iterator
 Standard const_reverse_iterator. More...
 
typedef std::reverse_iterator< iteratorreverse_iterator
 Standard reverse_iterator. More...
 
typedef DataVector base_data_vector
 
using Deleter = typename BASE::Deleter
 
typedef DataVector< TileDigits, BASE > self
 A helper typedef. More...
 

Public Member Functions

 TileDigitsCollection (ID id, SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
 
 TileDigitsCollection (SG::OwnershipPolicy ownPolicy, ID id)
 
 TileDigitsCollection (SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
 
 TileDigitsCollection (SG::OwnershipPolicy ownPolicy, ID id, uint32_t lvl1Id, uint32_t lvl1Type, uint32_t detEvType, uint32_t rodBCID, const std::vector< uint32_t > &fragChipCRCWords, const std::vector< uint32_t > &fragChipCRCWordsHIGH, const std::vector< uint32_t > &fragChipHeaderWords, const std::vector< uint32_t > &fragChipHeaderWordsHIGH, const std::vector< uint32_t > &fragExtraWords, uint32_t fragSize, uint32_t fragBCID)
 
 TileDigitsCollection (const TileDigitsCollection &other)
 Copy constructor. More...
 
 TileDigitsCollection (TileDigitsCollection &&other)=default
 Move constructor. More...
 
 ~TileDigitsCollection ()
 
void clear ()
 Clear everything for next event. More...
 
bool isCalibMode () const
 Check if this Collection holds data from calibration mode. More...
 
void setFragSize (uint32_t s)
 Set Frag size. More...
 
uint32_t getFragSize () const
 Get Frag size. More...
 
void setFragExtraWords (const std::vector< uint32_t > &extra)
 Set vector of extra words for this collection. More...
 
void setFragExtraWords (std::vector< uint32_t > &&extra)
 
const std::vector< uint32_t > & getFragExtraWords () const
 Get Frag extra words for this collection. More...
 
uint32_t getFragExtraWord (unsigned int i) const
 
uint32_t getFragDMUMask () const
 Get Frag DMU mask for this collection. More...
 
uint32_t getFragCRC () const
 Set CRC word for collection. More...
 
void setFragBCID (uint32_t bcid)
 Set BCID. More...
 
uint32_t getFragBCID () const
 Get BCID. More...
 
uint32_t getFragStatus () const
 
void setFragChipHeaderWords (const std::vector< uint32_t > &chipHWords)
 Set chip header words for this collection If calib mode, this must be LOW gain headers. More...
 
void setFragChipHeaderWords (std::vector< uint32_t > &&chipHWords)
 
void setFragChipHeaderWordsHigh (const std::vector< uint32_t > &chipHWordsH)
 Header words in calib mode. More...
 
void setFragChipHeaderWordsHigh (std::vector< uint32_t > &&chipHWordsH)
 
const std::vector< uint32_t > & getFragChipHeaderWords () const
 Get chip headers for this collcetion If calib mode, this is LOW gain headers. More...
 
const std::vector< uint32_t > & getFragChipHeaderWordsHigh () const
 High gain headers. More...
 
void setFragChipCRCWords (const std::vector< uint32_t > &chipCRCWords)
 Set chip CRC words for collection If calib mode, this is LOW gain CRC. More...
 
void setFragChipCRCWords (std::vector< uint32_t > &&chipCRCWords)
 
void setFragChipCRCWordsHigh (const std::vector< uint32_t > &chipCRCWordsH)
 High gain CRC. More...
 
void setFragChipCRCWordsHigh (std::vector< uint32_t > &&chipCRCWordsH)
 
const std::vector< uint32_t > & getFragChipCRCWords () const
 Get chip CRC words for collection If calib mode, LOW gain CRC. More...
 
const std::vector< uint32_t > & getFragChipCRCWordsHigh () const
 High gain CRC. More...
 
void printExtra () const
 
void printExtra (std::ostream &os) const
 
ID identify () const
 
virtual void print () const
 
virtual operator std::string () const
 
virtual std::string whoami (void) const
 
void setLvl1Id (uint32_t lvl1Id)
 Setter for level1 id from ROD header. More...
 
uint32_t getLvl1Id () const
 Getter for level1 id. More...
 
void setLvl1Type (uint32_t lvl1Type)
 Setter for level1 type from ROD header. More...
 
uint32_t getLvl1Type () const
 Getter for level1 type. More...
 
void setDetEvType (uint32_t detEvType)
 Setter for detector event type from ROD header. More...
 
uint32_t getDetEvType () const
 Getter for detector event type. More...
 
void setRODBCID (uint32_t rodBCID)
 Setter for BCID from ROD header. More...
 
uint32_t getRODBCID () const
 Getter for BCID from. More...
 
Size and capacity.
size_type size () const noexcept
 Returns the number of elements in the collection. More...
 
void resize (size_type sz)
 Resizes the collection to the specified number of elements. More...
 
void reserve (size_type n)
 Attempt to preallocate enough memory for a specified number of elements. More...
 
Element access.

Change the vector capacity to match the current size.

Note: this does not affect auxiliary data.

const TileDigitsoperator[] (size_type n) const
 Access an element, as an rvalue. More...
 
ElementProxy operator[] (size_type n)
 Access an element, as an lvalue. More...
 
const TileDigitsget (size_type n) const
 Access an element, as an rvalue. More...
 
const TileDigitsat (size_type n) const
 Access an element, as an rvalue. More...
 
ElementProxy at (size_type n)
 Access an element, as an lvalue. More...
 
const TileDigitsfront () const
 Access the first element in the collection as an rvalue. More...
 
ElementProxy front ()
 Access the first element in the collection as an lvalue. More...
 
const TileDigitsback () const
 Access the last element in the collection as an rvalue. More...
 
ElementProxy back ()
 Access the last element in the collection as an lvalue. More...
 
Iterator creation.
const_iterator begin () const noexcept
 Return a const_iterator pointing at the beginning of the collection. More...
 
iterator begin () noexcept
 Return an iterator pointing at the beginning of the collection. More...
 
const_iterator end () const noexcept
 Return a const_iterator pointing past the end of the collection. More...
 
iterator end () noexcept
 Return an iterator pointing past the end of the collection. More...
 
const_reverse_iterator rbegin () const noexcept
 Return a const_reverse_iterator pointing past the end of the collection. More...
 
reverse_iterator rbegin () noexcept
 Return a reverse_iterator pointing past the end of the collection. More...
 
const_reverse_iterator rend () const noexcept
 Return a const_reverse_iterator pointing at the beginning of the collection. More...
 
reverse_iterator rend () noexcept
 Return a reverse_iterator pointing at the beginning of the collection. More...
 
const_iterator cbegin () const noexcept
 Return a const_iterator pointing at the beginning of the collection. More...
 
const_iterator cend () const noexcept
 Return a const_iterator pointing past the end of the collection. More...
 
const_reverse_iterator crbegin () const noexcept
 Return a const_reverse_iterator pointing past the end of the collection. More...
 
const_reverse_iterator crend () const noexcept
 Return a const_reverse_iterator pointing at the beginning of the collection. More...
 
Insertion operations.
value_type push_back (value_type pElem)
 Add an element to the end of the collection. More...
 
value_type push_back (std::unique_ptr< base_value_type > pElem)
 Add an element to the end of the collection. More...
 
value_type emplace_back (value_type pElem)
 Add an element to the end of the collection. More...
 
iterator insert (iterator position, value_type pElem)
 Add a new element to the collection. More...
 
iterator insert (iterator position, std::unique_ptr< base_value_type > pElem)
 Add a new element to the collection. More...
 
void insert (iterator position, InputIterator first, InputIterator last)
 Add a group of new elements to the collection. More...
 
void insert (iterator position, InputIterator first, InputIterator last)
 Add a group of new elements to the collection. More...
 
void insert (iterator position, std::initializer_list< value_type > l)
 Add a group of new elements to the collection. More...
 
iterator emplace (iterator position, value_type pElem)
 Add a new element to the collection. More...
 
void insertMove (iterator position, DataVector &other)
 Insert the contents of another DataVector, with auxiliary data copied via move semantics. More...
 
Constructors, destructors, assignment.
void assign (InputIterator first, InputIterator last)
 Assign from iterators. More...
 
void assign (std::initializer_list< value_type > l)
 
Size and capacity.
size_type size () const noexcept
 Returns the number of elements in the collection. More...
 
void resize (size_type sz)
 Resizes the collection to the specified number of elements. More...
 
void reserve (size_type n)
 Attempt to preallocate enough memory for a specified number of elements. More...
 
Element access.

Change the vector capacity to match the current size.

Note: this does not affect auxiliary data.

const TileDigitsoperator[] (size_type n) const
 Access an element, as an rvalue. More...
 
ElementProxy operator[] (size_type n)
 Access an element, as an lvalue. More...
 
const TileDigitsget (size_type n) const
 Access an element, as an rvalue. More...
 
const TileDigitsat (size_type n) const
 Access an element, as an rvalue. More...
 
ElementProxy at (size_type n)
 Access an element, as an lvalue. More...
 
const TileDigitsfront () const
 Access the first element in the collection as an rvalue. More...
 
ElementProxy front ()
 Access the first element in the collection as an lvalue. More...
 
const TileDigitsback () const
 Access the last element in the collection as an rvalue. More...
 
ElementProxy back ()
 Access the last element in the collection as an lvalue. More...
 
Iterator creation.
const_iterator begin () const noexcept
 Return a const_iterator pointing at the beginning of the collection. More...
 
iterator begin () noexcept
 Return an iterator pointing at the beginning of the collection. More...
 
const_iterator end () const noexcept
 Return a const_iterator pointing past the end of the collection. More...
 
iterator end () noexcept
 Return an iterator pointing past the end of the collection. More...
 
const_reverse_iterator rbegin () const noexcept
 Return a const_reverse_iterator pointing past the end of the collection. More...
 
reverse_iterator rbegin () noexcept
 Return a reverse_iterator pointing past the end of the collection. More...
 
const_reverse_iterator rend () const noexcept
 Return a const_reverse_iterator pointing at the beginning of the collection. More...
 
reverse_iterator rend () noexcept
 Return a reverse_iterator pointing at the beginning of the collection. More...
 
const_iterator cbegin () const noexcept
 Return a const_iterator pointing at the beginning of the collection. More...
 
const_iterator cend () const noexcept
 Return a const_iterator pointing past the end of the collection. More...
 
const_reverse_iterator crbegin () const noexcept
 Return a const_reverse_iterator pointing past the end of the collection. More...
 
const_reverse_iterator crend () const noexcept
 Return a const_reverse_iterator pointing at the beginning of the collection. More...
 
Insertion operations.
value_type push_back (value_type pElem)
 Add an element to the end of the collection. More...
 
value_type push_back (std::unique_ptr< base_value_type > pElem)
 Add an element to the end of the collection. More...
 
value_type emplace_back (value_type pElem)
 Add an element to the end of the collection. More...
 
iterator insert (iterator position, value_type pElem)
 Add a new element to the collection. More...
 
iterator insert (iterator position, std::unique_ptr< base_value_type > pElem)
 Add a new element to the collection. More...
 
void insert (iterator position, InputIterator first, InputIterator last)
 Add a group of new elements to the collection. More...
 
void insert (iterator position, InputIterator first, InputIterator last)
 Add a group of new elements to the collection. More...
 
void insert (iterator position, std::initializer_list< value_type > l)
 Add a group of new elements to the collection. More...
 
iterator emplace (iterator position, value_type pElem)
 Add a new element to the collection. More...
 
void insertMove (iterator position, DataVector &other)
 Insert the contents of another DataVector, with auxiliary data copied via move semantics. More...
 
Erasure operations.
iterator erase (iterator position)
 Remove element at a given position. More...
 
iterator erase (iterator first, iterator last)
 Remove a range of elements. More...
 
void pop_back ()
 Remove the last element from the collection. More...
 
Constructors, destructors, assignment.
void assign (InputIterator first, InputIterator last)
 Assign from iterators. More...
 
void assign (std::initializer_list< value_type > l)
 
Size and capacity.
size_type size () const noexcept
 Returns the number of elements in the collection. More...
 
void resize (size_type sz)
 Resizes the collection to the specified number of elements. More...
 
void reserve (size_type n)
 Attempt to preallocate enough memory for a specified number of elements. More...
 
Element access.

Change the vector capacity to match the current size.

Note: this does not affect auxiliary data.

const TileDigitsoperator[] (size_type n) const
 Access an element, as an rvalue. More...
 
ElementProxy operator[] (size_type n)
 Access an element, as an lvalue. More...
 
const TileDigitsget (size_type n) const
 Access an element, as an rvalue. More...
 
const TileDigitsat (size_type n) const
 Access an element, as an rvalue. More...
 
ElementProxy at (size_type n)
 Access an element, as an lvalue. More...
 
const TileDigitsfront () const
 Access the first element in the collection as an rvalue. More...
 
ElementProxy front ()
 Access the first element in the collection as an lvalue. More...
 
const TileDigitsback () const
 Access the last element in the collection as an rvalue. More...
 
ElementProxy back ()
 Access the last element in the collection as an lvalue. More...
 
Iterator creation.
const_iterator begin () const noexcept
 Return a const_iterator pointing at the beginning of the collection. More...
 
iterator begin () noexcept
 Return an iterator pointing at the beginning of the collection. More...
 
const_iterator end () const noexcept
 Return a const_iterator pointing past the end of the collection. More...
 
iterator end () noexcept
 Return an iterator pointing past the end of the collection. More...
 
const_reverse_iterator rbegin () const noexcept
 Return a const_reverse_iterator pointing past the end of the collection. More...
 
reverse_iterator rbegin () noexcept
 Return a reverse_iterator pointing past the end of the collection. More...
 
const_reverse_iterator rend () const noexcept
 Return a const_reverse_iterator pointing at the beginning of the collection. More...
 
reverse_iterator rend () noexcept
 Return a reverse_iterator pointing at the beginning of the collection. More...
 
const_iterator cbegin () const noexcept
 Return a const_iterator pointing at the beginning of the collection. More...
 
const_iterator cend () const noexcept
 Return a const_iterator pointing past the end of the collection. More...
 
const_reverse_iterator crbegin () const noexcept
 Return a const_reverse_iterator pointing past the end of the collection. More...
 
const_reverse_iterator crend () const noexcept
 Return a const_reverse_iterator pointing at the beginning of the collection. More...
 
Insertion operations.
value_type push_back (value_type pElem)
 Add an element to the end of the collection. More...
 
value_type push_back (std::unique_ptr< base_value_type > pElem)
 Add an element to the end of the collection. More...
 
value_type emplace_back (value_type pElem)
 Add an element to the end of the collection. More...
 
iterator insert (iterator position, value_type pElem)
 Add a new element to the collection. More...
 
iterator insert (iterator position, std::unique_ptr< base_value_type > pElem)
 Add a new element to the collection. More...
 
void insert (iterator position, InputIterator first, InputIterator last)
 Add a group of new elements to the collection. More...
 
void insert (iterator position, InputIterator first, InputIterator last)
 Add a group of new elements to the collection. More...
 
void insert (iterator position, std::initializer_list< value_type > l)
 Add a group of new elements to the collection. More...
 
iterator emplace (iterator position, value_type pElem)
 Add a new element to the collection. More...
 
void insertMove (iterator position, DataVector &other)
 Insert the contents of another DataVector, with auxiliary data copied via move semantics. More...
 
Erasure operations.
iterator erase (iterator position)
 Remove element at a given position. More...
 
iterator erase (iterator first, iterator last)
 Remove a range of elements. More...
 
void pop_back ()
 Remove the last element from the collection. More...
 

Public Attributes

ROOT_SELECTION_NS::MemberAttributes< kTransient > m_isMostDerived
 Automatically generate dictionary for contained vector. More...
 
ROOT_SELECTION_NS::MemberAttributes< kTransient > m_deleter
 
ROOT_SELECTION_NS::MemberAttributes< kTransient > m_ownPolicy
 We do not want to save this. More...
 

Static Public Attributes

static const bool has_virtual
 This is true for any DataVector class if we need to use virtual derivation to get to the base DataVector class. More...
 
static constexpr bool must_own
 If true, then this type must own its contents. More...
 

Protected Member Functions

void setOwnership (SG::OwnershipPolicy ownPolicy)
 
SG::OwnershipPolicy getOwnership () const
 

Private Attributes

std::vector< uint32_t > m_FragChipCRCWords
 CRC words from Frag data, one word for each chip LOW gain if calib mode. More...
 
std::vector< uint32_t > m_FragChipCRCWordsHIGH
 CRC words from Frag data, HIGH gain if in calib mode. More...
 
std::vector< uint32_t > m_FragChipHeaderWords
 Header words from Frag data, one word for each chip LOW gain if calib mode. More...
 
std::vector< uint32_t > m_FragChipHeaderWordsHIGH
 Header words from Frag data, one word for each chip HIGH gain if calib mode. More...
 
std::vector< uint32_t > m_FragExtraWords
 all extra words from the trailer of the drawer fragment first two words are always DMU Mask and CRC word upper and lower 16 bits for DMU mask and CRC word are equal More...
 
uint32_t m_FragSize
 Size of drawer fragment. More...
 
uint32_t m_FragBCID
 BCID. More...
 
ID m_id
 
uint32_t m_lvl1Id
 Level1 id from ROD header. More...
 
uint32_t m_lvl1Type
 Level1 Type from ROD header. More...
 
uint32_t m_detEvType
 Detector event type from ROD header. More...
 
uint32_t m_rodBCID
 BCID from ROD header. More...
 

Friends

class TileDigitsContainerCnv
 

Swap and sort.

void swap (DataVector &rhs)
 Swap this collection with another. More...
 
void sort ()
 Sort the container. More...
 
void sort (COMPARE comp)
 Sort the container with a user-specified comparison operator. More...
 
static void iter_swap (iterator a, iterator b)
 Swap the referents of two DataVector iterators. More...
 

Non-standard operations.

void clear (SG::OwnershipPolicy ownPolicy)
 Erase all the elements in the collection, and reset the ownership mode. More...
 
void clear (SG::OwnershipPolicy ownPolicy, SG::IndexTrackingPolicy trackIndices)
 
void clear (std::unique_ptr< Deleter > deleter)
 Erase all the elements in the collection, and change how elements are to be deleted. More...
 
void resize (size_type sz)
 
void pop_back ()
 
void swapElement (size_type index, value_type newElem, reference oldElem)
 Swap one element out of the container. More...
 
void swapElement (iterator pos, value_type newElem, reference oldElem)
 Swap one element out of the container. More...
 
void swapElement (size_type index, std::unique_ptr< base_value_type > newElem, std::unique_ptr< base_value_type > &oldElem)
 Swap one element out of the container. More...
 
void swapElement (iterator pos, std::unique_ptr< base_value_type > newElem, std::unique_ptr< base_value_type > &oldElem)
 Swap one element out of the container. More...
 
virtual const DataModel_detail::DVLInfoBasedvlinfo_v () const
 Return the DV/DL info struct for this class. More...
 
const SG::AuxVectorBaseauxbase () const
 Convert to AuxVectorBase. More...
 
size_type max_size () const noexcept
 Returns the size() of the largest possible collection. More...
 
size_type capacity () const noexcept
 Returns the total number of elements that the collection can hold before needing to allocate more memory. More...
 
bool empty () const noexcept
 Returns true if the collection is empty. More...
 
void shrink_to_fit ()
 
const PtrVectorstdcont () const
 Return the underlying std::vector of the container. More...
 
SG::OwnershipPolicy ownPolicy () const
 Return the ownership policy setting for this container. More...
 
static const DataModel_detail::DVLInfoBasedvlinfo ()
 Return the DV/DL info struct for this class. More...
 
static int baseOffset (const std::type_info &ti)
 Return the offset of a base DataVector class. More...
 

Internal operations.

SG::IsMostDerivedFlag m_isMostDerived
 This flag is true if this DV instance is the most-derived one. More...
 
void resortAux (iterator beg, iterator end)
 Reset indices / reorder aux data after elements have been permuted. More...
 
void testInsert (const char *op)
 Test if we can insert; raise an exception if not. More...
 
void testInsertOol (const char *op)
 Test if we can insert; raise an exception if not. More...
 
void clearMostDerived ()
 Clear m_isMostDerived for this instance and for all bases. More...
 
virtual void setMostDerived ()
 Set m_isMostDerived for this instance and clear it for all bases. More...
 
typedef ROOT_SELECTION_NS::DataVector< TileDigits, DataVector_BASE >::self self
 
static int baseOffset1 (const char *p, const DataVector &dv, const std::type_info &ti)
 Helper for baseOffset. More...
 
static const TileDigitsdo_cast (const typename PtrVector::value_type p)
 Helper to shorten calls to DataModel_detail::DVLCast. More...
 
static TileDigitsdo_cast_nc (typename PtrVector::value_type p)
 Helper to shorten calls to DataModel_detail::DVLCast. More...
 
void assignElement (typename BaseContainer::iterator pos, value_type newElem)
 Handle element assignment. More...
 
void assignElement (typename BaseContainer::iterator pos, std::unique_ptr< base_value_type > newElem)
 Handle element assignment. More...
 
void assignBaseElement (typename BaseContainer::iterator pos, typename BaseContainer::value_type newElem)
 Handle element assignment from a base pointer. More...
 
void shift (size_t pos, ptrdiff_t offs)
 Shift the auxiliary elements of the container. More...
 
virtual const std::type_info & dv_typeid () const
 Find the most-derived DataVector class in the hierarchy. More...
 

Detailed Description

Definition at line 17 of file TileDigitsCollection.h.

Member Typedef Documentation

◆ allocator_type

typedef BASE::allocator_type DataVector< TileDigits , BASE >::allocator_type
inherited

Definition at line 816 of file DataVector.h.

◆ base_data_vector

typedef DataVector DataVector< TileDigits , BASE >::base_data_vector
inherited

Definition at line 853 of file DataVector.h.

◆ base_value_type

typedef TileDigits DataVector< TileDigits , BASE >::base_value_type
inherited

The T value used as the template parameter.

Note that this is different from value_type (that's T*).

Definition at line 824 of file DataVector.h.

◆ BaseContainer

typedef BASE::PtrVector DataVector< TileDigits , BASE >::BaseContainer
inherited

Definition at line 806 of file DataVector.h.

◆ const_iterator

Standard const_iterator.

Definition at line 837 of file DataVector.h.

◆ const_pointer

typedef TileDigits * const* DataVector< TileDigits , BASE >::const_pointer
inherited

Definition at line 818 of file DataVector.h.

◆ const_reference

typedef TileDigits * const& DataVector< TileDigits , BASE >::const_reference
inherited

Definition at line 812 of file DataVector.h.

◆ const_reverse_iterator

typedef std::reverse_iterator<const_iterator> DataVector< TileDigits , BASE >::const_reverse_iterator
inherited

Standard const_reverse_iterator.

Definition at line 846 of file DataVector.h.

◆ const_value_type

typedef const TileDigits * DataVector< TileDigits , BASE >::const_value_type
inherited

Definition at line 820 of file DataVector.h.

◆ DataVector_BASE

typedef BASE DataVector< TileDigits , BASE >::DataVector_BASE
inherited

Definition at line 796 of file DataVector.h.

◆ Deleter

using DataVector< TileDigits , BASE >::Deleter = typename BASE::Deleter
inherited

Definition at line 856 of file DataVector.h.

◆ difference_type

typedef BASE::difference_type DataVector< TileDigits , BASE >::difference_type
inherited

Definition at line 814 of file DataVector.h.

◆ DIGIT

Definition at line 45 of file TileRawDataCollection.h.

◆ DVL_BASE

typedef BASE DataVector< TileDigits , BASE >::DVL_BASE
inherited

Definition at line 797 of file DataVector.h.

◆ ElementProxy

This type is used to proxy lvalue accesses to DataVector elements, in order to handle ownership.

Definition at line 832 of file DataVector.h.

◆ ID

Definition at line 23 of file TileDigitsCollection.h.

◆ iterator

Standard iterator.

Note that lvalue references here will yield an ElementProxy, not a reference.

Definition at line 841 of file DataVector.h.

◆ MyBase

Definition at line 22 of file TileDigitsCollection.h.

◆ OBJECT

Definition at line 46 of file TileRawDataCollection.h.

◆ pointer

typedef TileDigits ** DataVector< TileDigits , BASE >::pointer
inherited

Definition at line 817 of file DataVector.h.

◆ PtrVector

typedef BASE::PtrVector DataVector< TileDigits , BASE >::PtrVector
inherited

This is the type of the underlying std::vector (what stdcont returns).

Definition at line 805 of file DataVector.h.

◆ reference

typedef TileDigits *& DataVector< TileDigits , BASE >::reference
inherited

Definition at line 811 of file DataVector.h.

◆ reverse_iterator

typedef std::reverse_iterator<iterator> DataVector< TileDigits , BASE >::reverse_iterator
inherited

Standard reverse_iterator.

Note that lvalue references here will yield an ElementProxy, not a reference.

Definition at line 851 of file DataVector.h.

◆ self [1/2]

typedef ROOT_SELECTION_NS::DataVector<TileDigits , DataVector_BASE>::self DataVector< TileDigits , BASE >::self
privateinherited

Definition at line 2042 of file DataVector.h.

◆ self [2/2]

typedef DataVector< TileDigits , BASE > DataVector< TileDigits , BASE >::self
inherited

A helper typedef.

Definition at line 3428 of file DataVector.h.

◆ size_type

typedef BASE::size_type DataVector< TileDigits , BASE >::size_type
inherited

Definition at line 813 of file DataVector.h.

◆ TCollection_const_iterator

Definition at line 40 of file TileRawDataCollection.h.

◆ TElement

Definition at line 24 of file TileDigitsCollection.h.

◆ TT_ID

Definition at line 44 of file TileRawDataCollection.h.

◆ unique_type

typedef std::unique_ptr<base_value_type> DataVector< TileDigits , BASE >::unique_type
inherited

Type of a unique_ptr that can be used to insert elements into this container.

Definition at line 828 of file DataVector.h.

◆ value_type

typedef TileDigits * DataVector< TileDigits , BASE >::value_type
inherited

Definition at line 815 of file DataVector.h.

Constructor & Destructor Documentation

◆ TileDigitsCollection() [1/6]

TileDigitsCollection::TileDigitsCollection ( ID  id,
SG::OwnershipPolicy  ownPolicy = SG::OWN_ELEMENTS 
)
inline

Definition at line 26 of file TileDigitsCollection.h.

27  : MyBase(id,ownPolicy), m_FragSize(0), m_FragBCID(0) { m_FragExtraWords.resize(2); }

◆ TileDigitsCollection() [2/6]

TileDigitsCollection::TileDigitsCollection ( SG::OwnershipPolicy  ownPolicy,
ID  id 
)
inline

Definition at line 29 of file TileDigitsCollection.h.

30  : MyBase(id,ownPolicy), m_FragSize(0), m_FragBCID(0) { m_FragExtraWords.resize(2); }

◆ TileDigitsCollection() [3/6]

TileDigitsCollection::TileDigitsCollection ( SG::OwnershipPolicy  ownPolicy = SG::OWN_ELEMENTS)
inline

Definition at line 31 of file TileDigitsCollection.h.

32  : MyBase(ownPolicy), m_FragSize(0), m_FragBCID(0) { m_FragExtraWords.resize(2); }

◆ TileDigitsCollection() [4/6]

TileDigitsCollection::TileDigitsCollection ( SG::OwnershipPolicy  ownPolicy,
ID  id,
uint32_t  lvl1Id,
uint32_t  lvl1Type,
uint32_t  detEvType,
uint32_t  rodBCID,
const std::vector< uint32_t > &  fragChipCRCWords,
const std::vector< uint32_t > &  fragChipCRCWordsHIGH,
const std::vector< uint32_t > &  fragChipHeaderWords,
const std::vector< uint32_t > &  fragChipHeaderWordsHIGH,
const std::vector< uint32_t > &  fragExtraWords,
uint32_t  fragSize,
uint32_t  fragBCID 
)
inline

Definition at line 34 of file TileDigitsCollection.h.

39  : MyBase(id, ownPolicy, lvl1Id, lvl1Type, detEvType, rodBCID),
40  m_FragChipCRCWords(fragChipCRCWords), m_FragChipCRCWordsHIGH(fragChipCRCWordsHIGH),
41  m_FragChipHeaderWords(fragChipHeaderWords), m_FragChipHeaderWordsHIGH(fragChipHeaderWordsHIGH),
42  m_FragExtraWords(fragExtraWords), m_FragSize(fragSize), m_FragBCID(fragBCID) {}

◆ TileDigitsCollection() [5/6]

TileDigitsCollection::TileDigitsCollection ( const TileDigitsCollection other)

Copy constructor.

Parameters
otherCollection to copy. Does a deep copy of the contents.

Definition at line 22 of file TileDigitsCollection.cxx.

25  m_FragChipCRCWords (other.m_FragChipCRCWords),
26  m_FragChipCRCWordsHIGH (other.m_FragChipCRCWordsHIGH),
27  m_FragChipHeaderWords (other.m_FragChipHeaderWords),
28  m_FragChipHeaderWordsHIGH (other.m_FragChipHeaderWordsHIGH),
29  m_FragExtraWords (other.m_FragExtraWords),
30  m_FragSize (other.m_FragSize),
31  m_FragBCID (other.m_FragBCID)
32 {
33  // Copy flags from the base class.
34  setLvl1Id (other.getLvl1Id());
35  setLvl1Type (other.getLvl1Type());
36  setDetEvType (other.getDetEvType());
37  setRODBCID (other.getRODBCID());
38 
39  // Copy the collection contents.
40  reserve (other.size());
41  for (const TileDigits* chan : other) {
42  push_back (std::make_unique<TileDigits> (*chan));
43  }
44 }

◆ TileDigitsCollection() [6/6]

TileDigitsCollection::TileDigitsCollection ( TileDigitsCollection &&  other)
default

Move constructor.

Parameters
otherCollection to move. Move the contents from other collection.

◆ ~TileDigitsCollection()

TileDigitsCollection::~TileDigitsCollection ( )
inline

Definition at line 58 of file TileDigitsCollection.h.

58 { }

Member Function Documentation

◆ assign() [1/2]

void DataVector< TileDigits , BASE >::assign ( InputIterator  first,
InputIterator  last 
)
inherited

Assign from iterators.

Parameters
firstThe start of the range to put in the container.
lastThe end of the range to put in the container.

Any existing owned elements will be released. The DataVector's ownership policy determines whether it will take ownership of the new elements.

◆ assign() [2/2]

void DataVector< TileDigits , BASE >::assign ( std::initializer_list< value_type l)
inherited
Parameters
lAn initializer list.

Any existing owned elements will be released. The DataVector's ownership policy determines whether it will take ownership of the new elements.

◆ assignBaseElement()

void DataVector< TileDigits , BASE >::assignBaseElement ( typename BaseContainer::iterator  pos,
typename BaseContainer::value_type  newElem 
)
privateinherited

Handle element assignment from a base pointer.

Parameters
posPosition in the container to assign.
newElemThe new element to assign.

The old element is freed if this container owns elements. Auxiliary data are copied if appropriate.

◆ assignElement() [1/2]

void DataVector< TileDigits , BASE >::assignElement ( typename BaseContainer::iterator  pos,
std::unique_ptr< base_value_type newElem 
)
privateinherited

Handle element assignment.

Parameters
posPosition in the container to assign.
newElemThe new element to assign.

The container must own its elements. Auxiliary data are copied if appropriate.

◆ assignElement() [2/2]

void DataVector< TileDigits , BASE >::assignElement ( typename BaseContainer::iterator  pos,
value_type  newElem 
)
privateinherited

Handle element assignment.

Parameters
posPosition in the container to assign.
newElemThe new element to assign.

The old element is freed if this container owns elements. Auxiliary data are copied if appropriate.

◆ at() [1/2]

ElementProxy DataVector< TileDigits , BASE >::at ( size_type  n)
inherited

Access an element, as an lvalue.

Parameters
nArray index to access.
Returns
Proxy to the element at n.

Will raise std::out_of_range if the index is out-of-bounds. Note that we return a proxy object rather than a reference; the proxy will handle deleting an owned element if it's assigned to.

◆ at() [2/2]

const TileDigits * DataVector< TileDigits , BASE >::at ( size_type  n) const
inherited

Access an element, as an rvalue.

Parameters
nArray index to access.
Returns
The element at n.

Will raise std::out_of_range if the index is out-of-bounds. Note that we return a const T* rather than a reference.

◆ auxbase()

const SG::AuxVectorBase& DataVector< TileDigits , BASE >::auxbase
inherited

Convert to AuxVectorBase.

Needed to get AuxVectorBase from a ConstDataVector. Present in DataVector as well for consistency. We only really need it in the base class; however, root6 fails constructing a TMethodCall for this if there is virtual derivation. A workaround is to redeclare this in the derived classes too.

◆ back() [1/2]

ElementProxy DataVector< TileDigits , BASE >::back
inherited

Access the last element in the collection as an lvalue.

Returns
Proxy to the last element in the collection.

No checking is done to ensure that the container is not empty. Note that we return a proxy object rather than a reference; the proxy will handle deleting an owned element if it's assigned to.

◆ back() [2/2]

const TileDigits * DataVector< TileDigits , BASE >::back
inherited

Access the last element in the collection as an rvalue.

Returns
The last element in the collection.

No checking is done to ensure that the container is not empty. Note that we return a const T* rather than a reference.

◆ baseOffset()

static int DataVector< TileDigits , BASE >::baseOffset ( const std::type_info &  ti)
staticinherited

Return the offset of a base DataVector class.

Parameters
tistd::type_info of the desired class.

If ti represents a DataVector base class of this one, then return the offset of that base class. Otherwise, return -1.

This function is here due to limitations of root 6, which can't calculate these offsets correctly from the dictionary if virtual derivation is used.

◆ baseOffset1()

static int DataVector< TileDigits , BASE >::baseOffset1 ( const char *  p,
const DataVector< TileDigits > &  dv,
const std::type_info &  ti 
)
staticinherited

Helper for baseOffset.

Parameters
pPointer to the start of the top-level object.
dvReference to the DataVector object.
tistd::type_info of the desired class.

If ti represents a DataVector base class of this one, then return the offset of that base class. Otherwise, return -1.

◆ begin() [1/2]

const_iterator DataVector< TileDigits , BASE >::begin
noexceptinherited

Return a const_iterator pointing at the beginning of the collection.

Returns
A const_iterator.

Note that dereferencing the iterator will yield a const T* rather than a reference.

◆ begin() [2/2]

iterator DataVector< TileDigits , BASE >::begin
noexceptinherited

Return an iterator pointing at the beginning of the collection.

Returns
An iterator.

Note that dereferencing the iterator will yield a proxy rather than a reference; the proxy will handle deleting an owned element if it's assigned to.

◆ capacity()

size_type DataVector< TileDigits , BASE >::capacity
noexceptinherited

Returns the total number of elements that the collection can hold before needing to allocate more memory.

◆ cbegin()

const_iterator DataVector< TileDigits , BASE >::cbegin
noexceptinherited

Return a const_iterator pointing at the beginning of the collection.

Returns
A const_iterator.

Note that dereferencing the iterator will yield a const T* rather than a reference.

◆ cend()

const_iterator DataVector< TileDigits , BASE >::cend
noexceptinherited

Return a const_iterator pointing past the end of the collection.

Returns
A const_iterator.

Note that dereferencing the iterator will yield a const T* rather than a reference.

◆ clear() [1/4]

void TileDigitsCollection::clear ( )
virtual

Clear everything for next event.

Reimplemented from TileRawDataCollection< TileDigits >.

Definition at line 79 of file TileDigitsCollection.cxx.

80 {
81  m_FragChipCRCWords.clear();
82  m_FragChipCRCWordsHIGH.clear();
83  m_FragChipHeaderWords.clear();
85 
86  m_FragExtraWords.resize(2);
88 
89  m_FragSize = 0;
90  m_FragBCID = 0;
91 
93 }

◆ clear() [2/4]

void DataVector< TileDigits , BASE >::clear ( SG::OwnershipPolicy  ownPolicy)
inherited

Erase all the elements in the collection, and reset the ownership mode.

Parameters
ownPolicyThe new ownership policy of the container.

If the container owns its elements, then the removed elements will be deleted. Any duplicates will be removed in this process, but don't rely on this.

◆ clear() [3/4]

void DataVector< TileDigits , BASE >::clear ( SG::OwnershipPolicy  ownPolicy,
SG::IndexTrackingPolicy  trackIndices 
)
inherited

◆ clear() [4/4]

void DataVector< TileDigits , BASE >::clear ( std::unique_ptr< Deleter deleter)
inherited

Erase all the elements in the collection, and change how elements are to be deleted.

Parameters
deleterObject to be used to delete object. Passing nullptr will change back to the default.

If the container owns its elements, then the removed elements will be deleted. Any duplicates will be removed in this process, but don't rely on this. After the current elements are deleted, the Deleter object is changed.

◆ clearMostDerived()

void DataVector< TileDigits , BASE >::clearMostDerived
protectedinherited

Clear m_isMostDerived for this instance and for all bases.

Called from the constructor after setting m_isMostDerived.

◆ crbegin()

const_reverse_iterator DataVector< TileDigits , BASE >::crbegin
noexceptinherited

Return a const_reverse_iterator pointing past the end of the collection.

Returns
A const_reverse_iterator.

Note that dereferencing the iterator will yield a const T* rather than a reference.

◆ crend()

const_reverse_iterator DataVector< TileDigits , BASE >::crend
noexceptinherited

Return a const_reverse_iterator pointing at the beginning of the collection.

Returns
A const_reverse_iterator.

Note that dereferencing the iterator will yield a const T* rather than a reference.

◆ do_cast()

static const TileDigits * DataVector< TileDigits , BASE >::do_cast ( const typename PtrVector::value_type  p)
staticinherited

Helper to shorten calls to DataModel_detail::DVLCast.

Parameters
pThe value to convert.
Returns
The value as a const T*.

The conversion will be done with static_cast if possible, with dynamic_cast otherwise.

◆ do_cast_nc()

static TileDigits * DataVector< TileDigits , BASE >::do_cast_nc ( typename PtrVector::value_type  p)
staticinherited

Helper to shorten calls to DataModel_detail::DVLCast.

Parameters
pThe value to convert.
Returns
The value as a T*.

The conversion will be done with static_cast if possible, with dynamic_cast otherwise.

◆ dv_typeid()

virtual const std::type_info& DataVector< TileDigits , BASE >::dv_typeid
privatevirtualinherited

Find the most-derived DataVector class in the hierarchy.

Returns
The type_info for the class for which this method gets run.

This is used to generate a nice error message when the most-derived check for insertions fails. Every DataVector defines this virtual method, so when it's called, the one corresponding to the most-derived DataVector gets run.

◆ dvlinfo()

static const DataModel_detail::DVLInfoBase& DataVector< TileDigits , BASE >::dvlinfo
staticinherited

Return the DV/DL info struct for this class.

This can be used to make sure that it's instantiated.

◆ dvlinfo_v()

virtual const DataModel_detail::DVLInfoBase& DataVector< TileDigits , BASE >::dvlinfo_v
virtualinherited

Return the DV/DL info struct for this class.

This can be used to make sure that it's instantiated.

◆ emplace()

iterator DataVector< TileDigits , BASE >::emplace ( iterator  position,
value_type  pElem 
)
inherited

Add a new element to the collection.

Parameters
positionIterator before which the element will be added.
pElemThe element to add to the collection.
Returns
An iterator that points to the inserted data.

The container's ownership policy will determine if it takes ownership of the new element.

Note: this method may only be called using the most derived DataVector in the hierarchy.

For DataVector, this is just the same as insert. It's included just for interface compatibility with std::vector.

◆ emplace_back()

value_type DataVector< TileDigits , BASE >::emplace_back ( value_type  pElem)
inherited

Add an element to the end of the collection.

Parameters
pElemThe element to add to the collection.

The container's ownership policy will determine if it takes ownership of the new element.

Note: this method may only be called using the most derived DataVector in the hierarchy.

For DataVector, this is like the same as push_back, and it returns the pushed element. It's included just for interface compatibility with std::vector.

◆ empty()

bool DataVector< TileDigits , BASE >::empty
noexceptinherited

Returns true if the collection is empty.

◆ end() [1/2]

const_iterator DataVector< TileDigits , BASE >::end
noexceptinherited

Return a const_iterator pointing past the end of the collection.

Returns
A const_iterator.

Note that dereferencing the iterator will yield a const T* rather than a reference.

◆ end() [2/2]

iterator DataVector< TileDigits , BASE >::end
noexceptinherited

Return an iterator pointing past the end of the collection.

Returns
An iterator.

Note that dereferencing the iterator will yield a proxy rather than a reference; the proxy will handle deleting an owned element if it's assigned to.

◆ erase() [1/2]

iterator DataVector< TileDigits , BASE >::erase ( iterator  first,
iterator  last 
)
inherited

Remove a range of elements.

Parameters
firstIterator pointing to the first element to be removed.
lastIterator pointing one past the last element to be removed.
Returns
An iterator pointing to the element pointed to by last prior to erasing (or end()).

If the container owns its elements, then the removed elements will be deleted. Any duplicates will be removed in this process, but don't rely on this.

◆ erase() [2/2]

iterator DataVector< TileDigits , BASE >::erase ( iterator  position)
inherited

Remove element at a given position.

Parameters
positionIterator pointing to the element to be removed.
Returns
An iterator pointing to the next element (or end()).

If the container owns its elements, then the pointed-to element will be deleted.

◆ front() [1/2]

ElementProxy DataVector< TileDigits , BASE >::front
inherited

Access the first element in the collection as an lvalue.

Returns
Proxy to the first element in the collection.

No checking is done to ensure that the container is not empty. Note that we return a proxy object rather than a reference; the proxy will handle deleting an owned element if it's assigned to.

◆ front() [2/2]

const TileDigits * DataVector< TileDigits , BASE >::front
inherited

Access the first element in the collection as an rvalue.

Returns
The first element in the collection.

No checking is done to ensure that the container is not empty. Note that we return a const T* rather than a reference.

◆ get()

const TileDigits * DataVector< TileDigits , BASE >::get ( size_type  n) const
inherited

Access an element, as an rvalue.

Parameters
nArray index to access.
Returns
The element at n.

This is a synonym for operator[] const, to be used when calling from root (where we can't readily call just the const version of a method).

◆ getDetEvType()

uint32_t TileRawDataCollection< TileDigits >::getDetEvType
inlineinherited

Getter for detector event type.

Definition at line 101 of file TileRawDataCollection.h.

101 { return m_detEvType; }

◆ getFragBCID()

uint32_t TileDigitsCollection::getFragBCID ( ) const
inline

Get BCID.

Returns
BCID

Definition at line 118 of file TileDigitsCollection.h.

118 { return (m_FragBCID & 0xFFFF); }

◆ getFragChipCRCWords()

const std::vector<uint32_t>& TileDigitsCollection::getFragChipCRCWords ( ) const
inline

Get chip CRC words for collection If calib mode, LOW gain CRC.

Returns
vector with 16 Frag chip CRC words

Definition at line 186 of file TileDigitsCollection.h.

186  {
187  return m_FragChipCRCWords;
188  }

◆ getFragChipCRCWordsHigh()

const std::vector<uint32_t>& TileDigitsCollection::getFragChipCRCWordsHigh ( ) const
inline

High gain CRC.

Definition at line 192 of file TileDigitsCollection.h.

192  {
193  return m_FragChipCRCWordsHIGH;
194  }

◆ getFragChipHeaderWords()

const std::vector<uint32_t>& TileDigitsCollection::getFragChipHeaderWords ( ) const
inline

Get chip headers for this collcetion If calib mode, this is LOW gain headers.

Returns
Vector with 16 Frag chip header words

Definition at line 148 of file TileDigitsCollection.h.

148  {
149  return m_FragChipHeaderWords;
150  }

◆ getFragChipHeaderWordsHigh()

const std::vector<uint32_t>& TileDigitsCollection::getFragChipHeaderWordsHigh ( ) const
inline

High gain headers.

Definition at line 154 of file TileDigitsCollection.h.

154  {
156  }

◆ getFragCRC()

uint32_t TileDigitsCollection::getFragCRC ( ) const
inline

Set CRC word for collection.

Parameters
crcCRC word from Frag Trailer

Definition at line 108 of file TileDigitsCollection.h.

108 { return m_FragExtraWords[1]; }

◆ getFragDMUMask()

uint32_t TileDigitsCollection::getFragDMUMask ( ) const
inline

Get Frag DMU mask for this collection.

Returns
DMU mask

Definition at line 103 of file TileDigitsCollection.h.

103 { return m_FragExtraWords[0]; }

◆ getFragExtraWord()

uint32_t TileDigitsCollection::getFragExtraWord ( unsigned int  i) const
inline

Definition at line 97 of file TileDigitsCollection.h.

97  {
98  if (i<m_FragExtraWords.size()) return m_FragExtraWords[i]; else return 0; }

◆ getFragExtraWords()

const std::vector<uint32_t>& TileDigitsCollection::getFragExtraWords ( ) const
inline

Get Frag extra words for this collection.

Returns
vector with all words

Definition at line 96 of file TileDigitsCollection.h.

96 { return m_FragExtraWords; }

◆ getFragSize()

uint32_t TileDigitsCollection::getFragSize ( ) const
inline

Get Frag size.

Returns
Frag size in words

Definition at line 79 of file TileDigitsCollection.h.

79 { return m_FragSize; }

◆ getFragStatus()

uint32_t TileDigitsCollection::getFragStatus ( ) const
inline

Definition at line 119 of file TileDigitsCollection.h.

119 { return (m_FragBCID >> 16); }

◆ getLvl1Id()

uint32_t TileRawDataCollection< TileDigits >::getLvl1Id
inlineinherited

Getter for level1 id.

Definition at line 89 of file TileRawDataCollection.h.

89 { return m_lvl1Id; }

◆ getLvl1Type()

uint32_t TileRawDataCollection< TileDigits >::getLvl1Type
inlineinherited

Getter for level1 type.

Definition at line 95 of file TileRawDataCollection.h.

95 { return m_lvl1Type; }

◆ getOwnership()

SG::OwnershipPolicy TileRawDataCollection< TileDigits >::getOwnership
inlineprotectedinherited

Definition at line 111 of file TileRawDataCollection.h.

111 { return this->m_ownPolicy; }

◆ getRODBCID()

uint32_t TileRawDataCollection< TileDigits >::getRODBCID
inlineinherited

Getter for BCID from.

Definition at line 107 of file TileRawDataCollection.h.

107 { return m_rodBCID; }

◆ identify()

ID TileRawDataCollection< TileDigits >::identify
inlineinherited

Definition at line 71 of file TileRawDataCollection.h.

71 { return m_id; }

◆ insert() [1/5]

void DataVector< TileDigits , BASE >::insert ( iterator  position,
InputIterator  first,
InputIterator  last 
)
inherited

Add a group of new elements to the collection.

Parameters
positionIterator before which the element will be added.
firstThe start of the range to put in the container.
lastThe end of the range to put in the container.

The container's ownership policy will determine if it takes ownership of the new element.

Note: this method may only be called using the most derived DataVector in the hierarchy.

This overload is for the case where the iterator value type is convertible to T*.

◆ insert() [2/5]

void DataVector< TileDigits , BASE >::insert ( iterator  position,
InputIterator  first,
InputIterator  last 
)
inherited

Add a group of new elements to the collection.

Parameters
positionIterator before which the element will be added.
firstThe start of the range to put in the container.
lastThe end of the range to put in the container.

The container's ownership policy will determine if it takes ownership of the new element.

Note: this method may only be called using the most derived DataVector in the hierarchy.

This overload is for the case where the iterator value type is convertible to unique_ptr<T>.

◆ insert() [3/5]

void DataVector< TileDigits , BASE >::insert ( iterator  position,
std::initializer_list< value_type l 
)
inherited

Add a group of new elements to the collection.

Parameters
positionIterator before which the element will be added.
lAn initializer list.

The container's ownership policy will determine if it takes ownership of the new element.

Note: this method may only be called using the most derived DataVector in the hierarchy.

◆ insert() [4/5]

iterator DataVector< TileDigits , BASE >::insert ( iterator  position,
std::unique_ptr< base_value_type pElem 
)
inherited

Add a new element to the collection.

Parameters
positionIterator before which the element will be added.
pElemThe element to add to the collection.
Returns
An iterator that points to the inserted data.

The container must be an owning container.

Note: this method may only be called using the most derived DataVector in the hierarchy.

◆ insert() [5/5]

iterator DataVector< TileDigits , BASE >::insert ( iterator  position,
value_type  pElem 
)
inherited

Add a new element to the collection.

Parameters
positionIterator before which the element will be added.
pElemThe element to add to the collection.
Returns
An iterator that points to the inserted data.

The container's ownership policy will determine if it takes ownership of the new element.

Note: this method may only be called using the most derived DataVector in the hierarchy.

◆ insertMove()

void DataVector< TileDigits , BASE >::insertMove ( iterator  position,
DataVector< TileDigits > &  other 
)
inherited

Insert the contents of another DataVector, with auxiliary data copied via move semantics.

Parameters
positionIterator before which the new elements will be added.
otherThe vector to add.

The ownership mode of this vector must be the same as other; otherwise, an exception will be thrown.

If both vectors are view vectors, then this is the same as insert (position, other.begin(), other.end()) .

Otherwise, the elements from other will be inserted into this vector. This vector will take ownership of the elements, and the ownership mode of other will be changed to VIEW_ELEMENTS. Auxiliary data for these elements will be transferred, using move semantics if possible. (Thus, the auxiliary store for other may be modified and must not be locked.) Finally, the auxiliary store pointer for other will be cleared (but the store itself will not be deleted since it's not owned by the vector).

Note: this method may only be called using the most derived DataVector in the hierarchy.

◆ isCalibMode()

bool TileDigitsCollection::isCalibMode ( ) const
inline

Check if this Collection holds data from calibration mode.

Returns
true if calibration mode

Definition at line 69 of file TileDigitsCollection.h.

69 { return (size() == 96); }

◆ iter_swap()

static void DataVector< TileDigits , BASE >::iter_swap ( iterator  a,
iterator  b 
)
staticinherited

Swap the referents of two DataVector iterators.

Parameters
aThe first iterator for the swap.
bThe second iterator for the swap.

◆ max_size()

size_type DataVector< TileDigits , BASE >::max_size
noexceptinherited

Returns the size() of the largest possible collection.

◆ operator std::string()

virtual TileRawDataCollection< TileDigits >::operator std::string
virtualinherited

◆ operator[]() [1/2]

ElementProxy DataVector< TileDigits , BASE >::operator[] ( size_type  n)
inherited

Access an element, as an lvalue.

Parameters
nArray index to access.
Returns
Proxy to the element at n.

No bounds checking is done. Note that we return a proxy object rather than a reference; the proxy will handle deleting an owned element if it's assigned to.

◆ operator[]() [2/2]

const TileDigits * DataVector< TileDigits , BASE >::operator[] ( size_type  n) const
inherited

Access an element, as an rvalue.

Parameters
nArray index to access.
Returns
The element at n.

No bounds checking is done. Note that we return a const T* rather than a reference.

◆ ownPolicy()

SG::OwnershipPolicy DataVector< TileDigits , BASE >::ownPolicy
inherited

Return the ownership policy setting for this container.

◆ pop_back() [1/2]

void DataVector< TileDigits , BASE >::pop_back
inherited

Remove the last element from the collection.

If the container owns its elements, then the removed element will be deleted.

◆ pop_back() [2/2]

void DataVector< TileDigits , BASE >::pop_back
inherited

◆ print()

virtual void TileRawDataCollection< TileDigits >::print
virtualinherited

◆ printExtra() [1/2]

void TileDigitsCollection::printExtra ( ) const

Definition at line 47 of file TileDigitsCollection.cxx.

48 {
49  printExtra (std::cout);
50 }

◆ printExtra() [2/2]

void TileDigitsCollection::printExtra ( std::ostream &  os) const

Definition at line 53 of file TileDigitsCollection.cxx.

54 {
55  os<<std::hex<<"id=0x"<<this->identify()
56  <<std::dec<<", bcid="<<m_FragBCID
57  <<std::hex<<"(0x"<<m_FragBCID
58  <<std::dec<<"), size="<<m_FragSize
59  <<std::hex;
60  os<<std::endl<<"FragExtraWords: ";
61  for (unsigned int i=0; i<m_FragExtraWords.size(); ++i)
62  os<<" "<<m_FragExtraWords[i];
63  os<<std::endl<<"FragChipHeaderWords:";
64  for (unsigned int i=0; i<m_FragChipHeaderWords.size(); ++i)
65  os<<" "<<m_FragChipHeaderWords[i];
66  os<<std::endl<<"FragChipCRCWords: ";
67  for (unsigned int i=0; i<m_FragChipCRCWords.size(); ++i)
68  os<<" "<<m_FragChipCRCWords[i];
69  os<<std::endl<<"FragChipHeaderWHigh:";
70  for (unsigned int i=0; i<m_FragChipHeaderWordsHIGH.size(); ++i)
72  os<<std::endl<<"FragChipCRCWHigh: ";
73  for (unsigned int i=0; i<m_FragChipCRCWordsHIGH.size(); ++i)
75  os<<std::endl<<std::dec;
76 }

◆ push_back() [1/2]

value_type DataVector< TileDigits , BASE >::push_back ( std::unique_ptr< base_value_type pElem)
inherited

Add an element to the end of the collection.

Parameters
pElemThe element to add to the collection.

The container must be an owning container.

Note: this method may only be called using the most derived DataVector in the hierarchy.

Returns the pushed pointer.

◆ push_back() [2/2]

value_type DataVector< TileDigits , BASE >::push_back ( value_type  pElem)
inherited

Add an element to the end of the collection.

Parameters
pElemThe element to add to the collection.

The container's ownership policy will determine if it takes ownership of the new element.

Note: this method may only be called using the most derived DataVector in the hierarchy.

Returns the pushed pointer.

◆ rbegin() [1/2]

const_reverse_iterator DataVector< TileDigits , BASE >::rbegin
noexceptinherited

Return a const_reverse_iterator pointing past the end of the collection.

Returns
A const_reverse_iterator.

Note that dereferencing the iterator will yield a const T* rather than a reference.

◆ rbegin() [2/2]

reverse_iterator DataVector< TileDigits , BASE >::rbegin
noexceptinherited

Return a reverse_iterator pointing past the end of the collection.

Returns
A reverse_iterator.

Note that dereferencing the iterator will yield a proxy rather than a reference; the proxy will handle deleting an owned element if it's assigned to.

◆ rend() [1/2]

const_reverse_iterator DataVector< TileDigits , BASE >::rend
noexceptinherited

Return a const_reverse_iterator pointing at the beginning of the collection.

Returns
A const_reverse_iterator.

Note that dereferencing the iterator will yield a const T* rather than a reference.

◆ rend() [2/2]

reverse_iterator DataVector< TileDigits , BASE >::rend
noexceptinherited

Return a reverse_iterator pointing at the beginning of the collection.

Returns
A reverse_iterator.

Note that dereferencing the iterator will yield a proxy rather than a reference; the proxy will handle deleting an owned element if it's assigned to.

◆ reserve()

void DataVector< TileDigits , BASE >::reserve ( size_type  n)
inherited

Attempt to preallocate enough memory for a specified number of elements.

Parameters
nNumber of elements required.

◆ resize() [1/2]

void DataVector< TileDigits , BASE >::resize ( size_type  sz)
inherited

Resizes the collection to the specified number of elements.

Parameters
szThe new size of the collection.

Note that this function differs from the standard in that it does not allow specifying the value of any inserted elements. They will always be 0.

If the container is shrunk, elements will be deleted as with erase().

◆ resize() [2/2]

void DataVector< TileDigits , BASE >::resize ( size_type  sz)
inherited

◆ resortAux()

void DataVector< TileDigits , BASE >::resortAux ( iterator  beg,
iterator  end 
)
inherited

Reset indices / reorder aux data after elements have been permuted.

Parameters
begStart of the range of elements to process.
endEnd of the range of elements to process.

Call this after some operation that has permuted the elements in the container (such as sort). The index information in the elements will be used to permute all auxiliary data in the same way. Finally, all the indices will be reset in the correct order.

◆ setDetEvType()

void TileRawDataCollection< TileDigits >::setDetEvType ( uint32_t  detEvType)
inlineinherited

Setter for detector event type from ROD header.

Definition at line 98 of file TileRawDataCollection.h.

98 { m_detEvType = detEvType; }

◆ setFragBCID()

void TileDigitsCollection::setFragBCID ( uint32_t  bcid)
inline

Set BCID.

Parameters
bcidBCID

Definition at line 113 of file TileDigitsCollection.h.

113 { m_FragBCID = bcid; }

◆ setFragChipCRCWords() [1/2]

void TileDigitsCollection::setFragChipCRCWords ( const std::vector< uint32_t > &  chipCRCWords)
inline

Set chip CRC words for collection If calib mode, this is LOW gain CRC.

Parameters
chipCRCWordsReference to vector filled with 16 chip CRC words

Definition at line 163 of file TileDigitsCollection.h.

163  {
164  m_FragChipCRCWords = chipCRCWords;
165  }

◆ setFragChipCRCWords() [2/2]

void TileDigitsCollection::setFragChipCRCWords ( std::vector< uint32_t > &&  chipCRCWords)
inline

Definition at line 166 of file TileDigitsCollection.h.

166  {
167  m_FragChipCRCWords = std::move(chipCRCWords);
168  }

◆ setFragChipCRCWordsHigh() [1/2]

void TileDigitsCollection::setFragChipCRCWordsHigh ( const std::vector< uint32_t > &  chipCRCWordsH)
inline

High gain CRC.

Definition at line 174 of file TileDigitsCollection.h.

174  {
175  m_FragChipCRCWordsHIGH = chipCRCWordsH;
176  }

◆ setFragChipCRCWordsHigh() [2/2]

void TileDigitsCollection::setFragChipCRCWordsHigh ( std::vector< uint32_t > &&  chipCRCWordsH)
inline

Definition at line 177 of file TileDigitsCollection.h.

177  {
178  m_FragChipCRCWordsHIGH = std::move(chipCRCWordsH);
179  }

◆ setFragChipHeaderWords() [1/2]

void TileDigitsCollection::setFragChipHeaderWords ( const std::vector< uint32_t > &  chipHWords)
inline

Set chip header words for this collection If calib mode, this must be LOW gain headers.

Parameters
chipHWordsReference to vector filled with 16 Chip header words

Definition at line 126 of file TileDigitsCollection.h.

126  {
127  m_FragChipHeaderWords = chipHWords;
128  }

◆ setFragChipHeaderWords() [2/2]

void TileDigitsCollection::setFragChipHeaderWords ( std::vector< uint32_t > &&  chipHWords)
inline

Definition at line 129 of file TileDigitsCollection.h.

129  {
130  m_FragChipHeaderWords = std::move(chipHWords);
131  }

◆ setFragChipHeaderWordsHigh() [1/2]

void TileDigitsCollection::setFragChipHeaderWordsHigh ( const std::vector< uint32_t > &  chipHWordsH)
inline

Header words in calib mode.

Definition at line 135 of file TileDigitsCollection.h.

135  {
136  m_FragChipHeaderWordsHIGH = chipHWordsH;
137  }

◆ setFragChipHeaderWordsHigh() [2/2]

void TileDigitsCollection::setFragChipHeaderWordsHigh ( std::vector< uint32_t > &&  chipHWordsH)
inline

Definition at line 138 of file TileDigitsCollection.h.

138  {
139  m_FragChipHeaderWordsHIGH = std::move(chipHWordsH);
140  }

◆ setFragExtraWords() [1/2]

void TileDigitsCollection::setFragExtraWords ( const std::vector< uint32_t > &  extra)
inline

Set vector of extra words for this collection.

Parameters
extra- all words from frag trailer

Definition at line 84 of file TileDigitsCollection.h.

84  {
86  if (extra.size() < 2) m_FragExtraWords.resize(2);
87  }

◆ setFragExtraWords() [2/2]

void TileDigitsCollection::setFragExtraWords ( std::vector< uint32_t > &&  extra)
inline

Definition at line 88 of file TileDigitsCollection.h.

88  {
89  m_FragExtraWords = std::move(extra);
90  if (m_FragExtraWords.size() < 2) m_FragExtraWords.resize(2);
91  }

◆ setFragSize()

void TileDigitsCollection::setFragSize ( uint32_t  s)
inline

Set Frag size.

Parameters
sSize of rod in words

Definition at line 74 of file TileDigitsCollection.h.

74 { m_FragSize = s; }

◆ setLvl1Id()

void TileRawDataCollection< TileDigits >::setLvl1Id ( uint32_t  lvl1Id)
inlineinherited

Setter for level1 id from ROD header.

Definition at line 86 of file TileRawDataCollection.h.

86 { m_lvl1Id = lvl1Id; }

◆ setLvl1Type()

void TileRawDataCollection< TileDigits >::setLvl1Type ( uint32_t  lvl1Type)
inlineinherited

Setter for level1 type from ROD header.

Definition at line 92 of file TileRawDataCollection.h.

92 { m_lvl1Type = lvl1Type; }

◆ setMostDerived()

virtual void DataVector< TileDigits , BASE >::setMostDerived
protectedvirtualinherited

Set m_isMostDerived for this instance and clear it for all bases.

Called from testInsert if the test fails. The flag may not have been set if this container was made via copy construction, so set it appropriately now so we can test again.

◆ setOwnership()

void TileRawDataCollection< TileDigits >::setOwnership ( SG::OwnershipPolicy  ownPolicy)
inlineprotectedinherited

Definition at line 110 of file TileRawDataCollection.h.

110 { this->m_ownPolicy = ownPolicy; }

◆ setRODBCID()

void TileRawDataCollection< TileDigits >::setRODBCID ( uint32_t  rodBCID)
inlineinherited

Setter for BCID from ROD header.

Definition at line 104 of file TileRawDataCollection.h.

104 { m_rodBCID = rodBCID; }

◆ shift()

void DataVector< TileDigits , BASE >::shift ( size_t  pos,
ptrdiff_t  offs 
)
privateinherited

Shift the auxiliary elements of the container.

Parameters
posThe starting index for the shift.
offsThe (signed) amount of the shift.

The elements in the container should have already been shifted; this operation will then adjust the element indices and also shift the elements in the vectors for all aux data items. offs may be either positive or negative.

If offs is positive, then the container is growing. The container size should be increased by offs, the element at pos moved to pos + offs, and similarly for following elements. The elements between pos and pos + offs should be default-initialized.

If offs is negative, then the container is shrinking. The element at pos should be moved to pos + offs, and similarly for following elements. The container should then be shrunk by -offs elements (running destructors as appropriate).

◆ shrink_to_fit()

void DataVector< TileDigits , BASE >::shrink_to_fit
inherited

◆ size()

size_type DataVector< TileDigits , BASE >::size
noexceptinherited

Returns the number of elements in the collection.

Could in principle be inherited from the base class, but redeclared in the derived class to avoid root6 bugs.

◆ sort() [1/2]

void DataVector< TileDigits , BASE >::sort
inherited

Sort the container.

This just sorts by pointer value, so it's probably not very useful.

◆ sort() [2/2]

void DataVector< TileDigits , BASE >::sort ( COMPARE  comp)
inherited

Sort the container with a user-specified comparison operator.

Parameters
compFunctional to compare two values.

◆ stdcont()

const PtrVector & DataVector< TileDigits , BASE >::stdcont
inherited

Return the underlying std::vector of the container.

Returns
Reference to the std::vector actually holding the collection.

Note that DataVector<T>::stdcont does not necessarily return a std::vector<T*> if DataVector inheritance is being used.

◆ swap()

void DataVector< TileDigits , BASE >::swap ( DataVector< TileDigits > &  rhs)
inherited

Swap this collection with another.

Parameters
rhsThe collection with which to swap.

Ownership is swapped along with the collection content.

Note: this method may only be called using the most-derived DataVector in the hierarchy. The rhs must also be referenced using the most-derived DataVector.

◆ swapElement() [1/4]

void DataVector< TileDigits , BASE >::swapElement ( iterator  pos,
std::unique_ptr< base_value_type newElem,
std::unique_ptr< base_value_type > &  oldElem 
)
inherited

Swap one element out of the container.

Parameters
posThe element in the container to swap.
newElemNew element to put in the container. May be 0.
oldElemReference to receive the element removed from the container.

Reference oldElem is initialized with element pos of the collection (no bounds checking). Then element index is set to newElem.

The collection must own its elements to use its interface. The collection will take ownership of newElem and will return ownership of oldElem.

Note: this method may only be called using the most derived DataList in the hierarchy.

◆ swapElement() [2/4]

void DataVector< TileDigits , BASE >::swapElement ( iterator  pos,
value_type  newElem,
reference  oldElem 
)
inherited

Swap one element out of the container.

Parameters
posThe element in the container to swap.
newElemNew element to put in the container. May be 0.
oldElemReference to receive the element removed from the container.

Reference oldElem is initialized with element pos of the collection (no bounds checking). Then element index is set to newElem. If the collection owns its elements, then it will take ownership of newElem and release (without deleting) the element returned through oldElem.

Note: this method may only be called using the most derived DataList in the hierarchy.

◆ swapElement() [3/4]

void DataVector< TileDigits , BASE >::swapElement ( size_type  index,
std::unique_ptr< base_value_type newElem,
std::unique_ptr< base_value_type > &  oldElem 
)
inherited

Swap one element out of the container.

Parameters
indexIndex of the element in the container to swap.
newElemNew element to put in the container. May be 0.
oldElemReference to receive the element removed from the container.

Reference oldElem is initialized with element index of the collection (no bounds checking). Then element index is set to newElem.

The collection must own its elements to use its interface. The collection will take ownership of newElem and will return ownership of oldElem.

Note: this method may only be called using the most derived DataVector in the hierarchy.

◆ swapElement() [4/4]

void DataVector< TileDigits , BASE >::swapElement ( size_type  index,
value_type  newElem,
reference  oldElem 
)
inherited

Swap one element out of the container.

Parameters
indexIndex of the element in the container to swap.
newElemNew element to put in the container. May be 0.
oldElemReference to receive the element removed from the container.

Reference oldElem is initialized with element index of the collection (no bounds checking). Then element index is set to newElem. If the collection owns its elements, then it will take ownership of newElem and release (without deleting) the element returned through oldElem.

Note: this method may only be called using the most derived DataVector in the hierarchy.

◆ testInsert()

void DataVector< TileDigits , BASE >::testInsert ( const char *  op)
inherited

Test if we can insert; raise an exception if not.

Parameters
opDescription of the attempted operation.

In order to maintain type-safety, we can only allow insertions using the most-derived instance of DataVector. This checks this by testing the m_isMostDerived, which is set by the constructors to true only for the most-derived instance. If the test fails, we call to potentially out-of-line code to continue.

◆ testInsertOol()

void DataVector< TileDigits , BASE >::testInsertOol ( const char *  op)
inherited

Test if we can insert; raise an exception if not.

Parameters
opDescription of the attempted operation.

This continues the test of testInsert. There is one case where m_isMostDerived may not be set correctly. If this container was made via copy construction, then all the m_isMostDerived flags will be false. So we call setMostDerived to set the flags correctly and test again. If the test fails again, then we raise an exception.

◆ whoami()

virtual std::string TileRawDataCollection< TileDigits >::whoami ( void  ) const
inlinevirtualinherited

Definition at line 82 of file TileRawDataCollection.h.

82  { TELEMENT elem;
83  return "TileRawDataCollection of "+elem.whoami(); }

Friends And Related Function Documentation

◆ TileDigitsContainerCnv

friend class TileDigitsContainerCnv
friend

Definition at line 19 of file TileDigitsCollection.h.

Member Data Documentation

◆ has_virtual

const bool DataVector< TileDigits , BASE >::has_virtual
staticinherited

This is true for any DataVector class if we need to use virtual derivation to get to the base DataVector class.

Definition at line 801 of file DataVector.h.

◆ m_deleter

ROOT_SELECTION_NS::MemberAttributes< kTransient > DataVector< TileDigits , BASE >::m_deleter
inherited

Definition at line 3436 of file DataVector.h.

◆ m_detEvType

uint32_t TileRawDataCollection< TileDigits >::m_detEvType
privateinherited

Detector event type from ROD header.

Definition at line 121 of file TileRawDataCollection.h.

◆ m_FragBCID

uint32_t TileDigitsCollection::m_FragBCID
private

BCID.

Definition at line 234 of file TileDigitsCollection.h.

◆ m_FragChipCRCWords

std::vector<uint32_t> TileDigitsCollection::m_FragChipCRCWords
private

CRC words from Frag data, one word for each chip LOW gain if calib mode.

Definition at line 205 of file TileDigitsCollection.h.

◆ m_FragChipCRCWordsHIGH

std::vector<uint32_t> TileDigitsCollection::m_FragChipCRCWordsHIGH
private

CRC words from Frag data, HIGH gain if in calib mode.

Definition at line 209 of file TileDigitsCollection.h.

◆ m_FragChipHeaderWords

std::vector<uint32_t> TileDigitsCollection::m_FragChipHeaderWords
private

Header words from Frag data, one word for each chip LOW gain if calib mode.

Definition at line 214 of file TileDigitsCollection.h.

◆ m_FragChipHeaderWordsHIGH

std::vector<uint32_t> TileDigitsCollection::m_FragChipHeaderWordsHIGH
private

Header words from Frag data, one word for each chip HIGH gain if calib mode.

Definition at line 219 of file TileDigitsCollection.h.

◆ m_FragExtraWords

std::vector<uint32_t> TileDigitsCollection::m_FragExtraWords
private

all extra words from the trailer of the drawer fragment first two words are always DMU Mask and CRC word upper and lower 16 bits for DMU mask and CRC word are equal

Definition at line 226 of file TileDigitsCollection.h.

◆ m_FragSize

uint32_t TileDigitsCollection::m_FragSize
private

Size of drawer fragment.

Definition at line 230 of file TileDigitsCollection.h.

◆ m_id

ID TileRawDataCollection< TileDigits >::m_id
privateinherited

Definition at line 114 of file TileRawDataCollection.h.

◆ m_isMostDerived [1/2]

SG::IsMostDerivedFlag DataVector< TileDigits , BASE >::m_isMostDerived
privateinherited

This flag is true if this DV instance is the most-derived one.

We set this to true in the top-level constructor; the constructor then calls clearMostDerived on the base classes.

Definition at line 2038 of file DataVector.h.

◆ m_isMostDerived [2/2]

ROOT_SELECTION_NS::MemberAttributes< kTransient > DataVector< TileDigits , BASE >::m_isMostDerived
inherited

Automatically generate dictionary for contained vector.

Declare the automatically created variable transient

Definition at line 3435 of file DataVector.h.

◆ m_lvl1Id

uint32_t TileRawDataCollection< TileDigits >::m_lvl1Id
privateinherited

Level1 id from ROD header.

Definition at line 117 of file TileRawDataCollection.h.

◆ m_lvl1Type

uint32_t TileRawDataCollection< TileDigits >::m_lvl1Type
privateinherited

Level1 Type from ROD header.

Definition at line 119 of file TileRawDataCollection.h.

◆ m_ownPolicy

ROOT_SELECTION_NS::MemberAttributes< kTransient > DataVector< TileDigits , BASE >::m_ownPolicy
inherited

We do not want to save this.

The P->T converter should decide the ownership mode.

Definition at line 3440 of file DataVector.h.

◆ m_rodBCID

uint32_t TileRawDataCollection< TileDigits >::m_rodBCID
privateinherited

BCID from ROD header.

Definition at line 123 of file TileRawDataCollection.h.

◆ must_own

constexpr bool DataVector< TileDigits , BASE >::must_own
staticconstexprinherited

If true, then this type must own its contents.

Definition at line 859 of file DataVector.h.


The documentation for this class was generated from the following files:
DataVector< TileDigits >::reserve
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
TileRawDataCollection< TileDigits >::m_detEvType
uint32_t m_detEvType
Detector event type from ROD header.
Definition: TileRawDataCollection.h:121
TileRawDataCollection< TileDigits >::setRODBCID
void setRODBCID(uint32_t rodBCID)
Setter for BCID from ROD header.
Definition: TileRawDataCollection.h:104
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
TileDigitsCollection::m_FragChipHeaderWords
std::vector< uint32_t > m_FragChipHeaderWords
Header words from Frag data, one word for each chip LOW gain if calib mode.
Definition: TileDigitsCollection.h:214
TileRawDataCollection< TileDigits >::m_rodBCID
uint32_t m_rodBCID
BCID from ROD header.
Definition: TileRawDataCollection.h:123
DataVector< TileDigits >::m_ownPolicy
ROOT_SELECTION_NS::MemberAttributes< kTransient > m_ownPolicy
We do not want to save this.
Definition: DataVector.h:3440
TileDigitsCollection::m_FragChipCRCWordsHIGH
std::vector< uint32_t > m_FragChipCRCWordsHIGH
CRC words from Frag data, HIGH gain if in calib mode.
Definition: TileDigitsCollection.h:209
TileRawDataCollection< TileDigits >::setDetEvType
void setDetEvType(uint32_t detEvType)
Setter for detector event type from ROD header.
Definition: TileRawDataCollection.h:98
TileRawDataCollection< TileDigits >::m_id
ID m_id
Definition: TileRawDataCollection.h:114
TileRawDataCollection< TileDigits >::m_lvl1Type
uint32_t m_lvl1Type
Level1 Type from ROD header.
Definition: TileRawDataCollection.h:119
TileDigitsCollection::printExtra
void printExtra() const
Definition: TileDigitsCollection.cxx:47
TileDigitsCollection::m_FragSize
uint32_t m_FragSize
Size of drawer fragment.
Definition: TileDigitsCollection.h:230
lumiFormat.i
int i
Definition: lumiFormat.py:92
ReadCellNoiseFromCool.chan
chan
Definition: ReadCellNoiseFromCool.py:52
TileRawDataCollection< TileDigits >::clear
virtual void clear()
TileDigitsCollection::m_FragBCID
uint32_t m_FragBCID
BCID.
Definition: TileDigitsCollection.h:234
TileRawDataCollection< TileDigits >
TileDigitsCollection::m_FragChipCRCWords
std::vector< uint32_t > m_FragChipCRCWords
CRC words from Frag data, one word for each chip LOW gain if calib mode.
Definition: TileDigitsCollection.h:205
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
TileRawDataCollection< TileDigits >::identify
ID identify() const
Definition: TileRawDataCollection.h:71
python.handimod.extra
int extra
Definition: handimod.py:522
TileDigits
Definition: TileDigits.h:30
DataVector< TileDigits >::push_back
value_type push_back(value_type pElem)
Add an element to the end of the collection.
xAOD::bcid
setEventNumber setTimeStamp bcid
Definition: EventInfo_v1.cxx:133
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
DataVector< TileDigits >::ownPolicy
SG::OwnershipPolicy ownPolicy() const
Return the ownership policy setting for this container.
TileRawDataCollection< TileDigits >::setLvl1Id
void setLvl1Id(uint32_t lvl1Id)
Setter for level1 id from ROD header.
Definition: TileRawDataCollection.h:86
DataVector< TileDigits >::size
size_type size() const noexcept
Returns the number of elements in the collection.
TileDigitsCollection::m_FragExtraWords
std::vector< uint32_t > m_FragExtraWords
all extra words from the trailer of the drawer fragment first two words are always DMU Mask and CRC w...
Definition: TileDigitsCollection.h:226
TileRawDataCollection< TileDigits >::setLvl1Type
void setLvl1Type(uint32_t lvl1Type)
Setter for level1 type from ROD header.
Definition: TileRawDataCollection.h:92
TileRawDataCollection< TileDigits >::m_lvl1Id
uint32_t m_lvl1Id
Level1 id from ROD header.
Definition: TileRawDataCollection.h:117
TileDigitsCollection::MyBase
TileRawDataCollection< TileDigits > MyBase
Definition: TileDigitsCollection.h:22
TileDigitsCollection::m_FragChipHeaderWordsHIGH
std::vector< uint32_t > m_FragChipHeaderWordsHIGH
Header words from Frag data, one word for each chip HIGH gain if calib mode.
Definition: TileDigitsCollection.h:219