CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
hcal::DigiCollectionBase< StoragePolicy > Struct Template Reference

#include <DigiCollection.h>

Inheritance diagram for hcal::DigiCollectionBase< StoragePolicy >:
calo::common::AddSize< StoragePolicy::TagType > hcal::DigiCollection< Flavor, StoragePolicy > hcal::DigiCollection< Flavor5, StoragePolicy >

Public Member Functions

template<typename T = typename StoragePolicy::TagType>
std::enable_if< std::is_same< T, ::calo::common::tags::Vec >::value, void >::type clear ()
 
 DigiCollectionBase ()=default
 
 DigiCollectionBase (DigiCollectionBase &&)=default
 
 DigiCollectionBase (DigiCollectionBase const &)=default
 
DigiCollectionBaseoperator= (DigiCollectionBase &&)=default
 
DigiCollectionBaseoperator= (DigiCollectionBase const &)=default
 
template<typename T = typename StoragePolicy::TagType>
std::enable_if< std::is_same< T, ::calo::common::tags::Vec >::value, void >::type reserve (std::size_t size)
 
template<typename T = typename StoragePolicy::TagType>
std::enable_if< std::is_same< T, ::calo::common::tags::Vec >::value, void >::type resize (std::size_t size)
 

Public Attributes

StoragePolicy::template StorageSelector< uint16_t >::type data
 
StoragePolicy::template StorageSelector< uint32_t >::type ids
 
uint32_t stride {0}
 

Detailed Description

template<typename StoragePolicy>
struct hcal::DigiCollectionBase< StoragePolicy >

Definition at line 89 of file DigiCollection.h.

Constructor & Destructor Documentation

◆ DigiCollectionBase() [1/3]

template<typename StoragePolicy>
hcal::DigiCollectionBase< StoragePolicy >::DigiCollectionBase ( )
default

◆ DigiCollectionBase() [2/3]

template<typename StoragePolicy>
hcal::DigiCollectionBase< StoragePolicy >::DigiCollectionBase ( DigiCollectionBase< StoragePolicy > const &  )
default

◆ DigiCollectionBase() [3/3]

template<typename StoragePolicy>
hcal::DigiCollectionBase< StoragePolicy >::DigiCollectionBase ( DigiCollectionBase< StoragePolicy > &&  )
default

Member Function Documentation

◆ clear()

template<typename StoragePolicy>
template<typename T = typename StoragePolicy::TagType>
std::enable_if<std::is_same<T, ::calo::common::tags::Vec>::value, void>::type hcal::DigiCollectionBase< StoragePolicy >::clear ( void  )
inline

Definition at line 110 of file DigiCollection.h.

110  {
111  ids.clear();
112  data.clear();
113  }

Referenced by HcalDigisProducerGPU::acquire(), hcal::DigiCollection< Flavor5, StoragePolicy >::clear(), and BeautifulSoup.Tag::setString().

◆ operator=() [1/2]

template<typename StoragePolicy>
DigiCollectionBase& hcal::DigiCollectionBase< StoragePolicy >::operator= ( DigiCollectionBase< StoragePolicy > &&  )
default

◆ operator=() [2/2]

template<typename StoragePolicy>
DigiCollectionBase& hcal::DigiCollectionBase< StoragePolicy >::operator= ( DigiCollectionBase< StoragePolicy > const &  )
default

◆ reserve()

template<typename StoragePolicy>
template<typename T = typename StoragePolicy::TagType>
std::enable_if<std::is_same<T, ::calo::common::tags::Vec>::value, void>::type hcal::DigiCollectionBase< StoragePolicy >::reserve ( std::size_t  size)
inline

Definition at line 104 of file DigiCollection.h.

104  {
105  ids.reserve(size);
106  data.reserve(size * stride);
107  }

Referenced by hcal::DigiCollection< Flavor5, StoragePolicy >::reserve().

◆ resize()

template<typename StoragePolicy>
template<typename T = typename StoragePolicy::TagType>
std::enable_if<std::is_same<T, ::calo::common::tags::Vec>::value, void>::type hcal::DigiCollectionBase< StoragePolicy >::resize ( std::size_t  size)
inline

Definition at line 98 of file DigiCollection.h.

98  {
99  ids.resize(size);
100  data.resize(size * stride);
101  }

Referenced by HcalCPUDigisProducer::acquire(), and hcal::DigiCollection< Flavor5, StoragePolicy >::resize().

Member Data Documentation

◆ data

template<typename StoragePolicy>
StoragePolicy::template StorageSelector<uint16_t>::type hcal::DigiCollectionBase< StoragePolicy >::data

Definition at line 116 of file DigiCollection.h.

Referenced by data_sources.node::__str__(), confdb.HLTProcess::_fix_parameter(), HcalCPUDigisProducer::acquire(), HcalDigisProducerGPU::acquire(), confdb.HLTProcess::addEras(), confdb.HLTProcess::addGlobalOptions(), confdb.HLTProcess::append_filenames(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), confdb.HLTProcess::build_source(), hcal::DigiCollectionBase< calo::common::VecStoragePolicy< calo::common::CUDAHostAllocatorAlias > >::clear(), confdb.HLTProcess::customize(), confdb.HLTProcess::dump(), confdb.HLTProcess::fixPrescales(), data_sources.json_list::get_members(), confdb.HLTProcess::getRawConfigurationFromDB(), confdb.HLTProcess::instrumentDQM(), confdb.HLTProcess::instrumentOpenMode(), confdb.HLTProcess::instrumentTiming(), data_sources.json_list::last(), confdb.HLTProcess::loadAdditionalConditions(), confdb.HLTProcess::loadCff(), confdb.HLTProcess::loadSetupCff(), confdb.HLTProcess::overrideGlobalTag(), confdb.HLTProcess::overrideL1MenuXml(), confdb.HLTProcess::overrideOutput(), confdb.HLTProcess::overrideParameters(), confdb.HLTProcess::overrideProcessName(), hcal::DigiCollectionBase< calo::common::VecStoragePolicy< calo::common::CUDAHostAllocatorAlias > >::reserve(), hcal::DigiCollectionBase< calo::common::VecStoragePolicy< calo::common::CUDAHostAllocatorAlias > >::resize(), confdb.HLTProcess::runL1Emulator(), confdb.HLTProcess::specificCustomize(), cuy.FindIssue::startElement(), edmStreamStallGrapher.Stack::update(), and confdb.HLTProcess::updateMessageLogger().

◆ ids

template<typename StoragePolicy>
StoragePolicy::template StorageSelector<uint32_t>::type hcal::DigiCollectionBase< StoragePolicy >::ids

◆ stride

template<typename StoragePolicy>
uint32_t hcal::DigiCollectionBase< StoragePolicy >::stride {0}
hcal::DigiCollectionBase::stride
uint32_t stride
Definition: DigiCollection.h:117
hcal::DigiCollectionBase::data
StoragePolicy::template StorageSelector< uint16_t >::type data
Definition: DigiCollection.h:116
hcal::DigiCollectionBase::ids
StoragePolicy::template StorageSelector< uint32_t >::type ids
Definition: DigiCollection.h:115
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443